Home
last modified time | relevance | path

Searched refs:size_str (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/tests/qemu-iotests/
H A D25542 size_str = str(size) variable
45 iotests.qemu_img_create('-f', iotests.imgfmt, mid_path, size_str)
46 iotests.qemu_img_create('-f', iotests.imgfmt, disk_path, size_str)
93 size_str = str(size) variable
95 iotests.qemu_img_create('-f', iotests.imgfmt, src_path, size_str)
96 iotests.qemu_img_create('-f', iotests.imgfmt, dst_path, size_str)
/openbmc/obmc-console/
H A Dconfig.c226 int config_parse_bytesize(const char *size_str, size_t *size) in config_parse_bytesize() argument
245 if (!size_str) { in config_parse_bytesize()
249 logsize = strtoul(size_str, &suffix, 0); in config_parse_bytesize()
250 if (logsize == 0 || logsize >= UINT32_MAX || suffix == size_str) { in config_parse_bytesize()
H A Dconfig.h37 int config_parse_bytesize(const char *size_str, size_t *size);
/openbmc/qemu/hw/arm/
H A Draspi.c261 char *size_str = size_to_str(ram_size); in raspi_base_machine_init()
262 error_report("Invalid RAM size, should be %s", size_str); in raspi_base_machine_init()
263 g_free(size_str); in raspi_base_machine_init()
260 char *size_str = size_to_str(ram_size); raspi_base_machine_init() local
H A Dsbsa-ref.c761 char *size_str = size_to_str(RAMLIMIT_BYTES); in sbsa_ref_init()
763 error_report("sbsa-ref: cannot model more than %s of RAM", size_str); in sbsa_ref_init()
759 char *size_str = size_to_str(RAMLIMIT_BYTES); sbsa_ref_init() local
/openbmc/qemu/scripts/tracetool/backend/
H A Dsimple.py77 ' if (trace_record_start(&rec, %(event_obj)s.id, %(size_str)s)) {',
81 size_str=sizestr)
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dpartition.py391 size_str = ""
396 (label_str, self.fsuuid, size_str, extraopts, rootfs,
488 size_str = ""
493 (label_str, self.fsuuid, extraopts, size_str, rootfs,
/openbmc/u-boot/scripts/dtc/
H A Dflattree.c898 uint32_t size_str = fdt32_to_cpu(fdt->size_dt_strings); in dt_from_blob() local
899 if ((off_str+size_str < off_str) || (off_str+size_str > totalsize)) in dt_from_blob()
901 inbuf_init(&strbuf, blob + off_str, blob + off_str + size_str); in dt_from_blob()
/openbmc/qemu/system/
H A Dphysmem.c1581 g_autofree char *size_str = NULL;
1586 if (g_file_get_contents(size_path, &size_str, NULL, NULL)) {
1587 return g_ascii_strtoll(size_str, NULL, 0); in qemu_ram_get_fd_offset()
1280 g_autofree char *size_str = NULL; get_file_size() local