Home
last modified time | relevance | path

Searched refs:size_str (Results 1 – 11 of 11) 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/linux/tools/perf/bench/
H A Dmem-functions.c31 static const char *size_str = "1MB"; variable
38 OPT_STRING('s', "size", &size_str, "1MB",
137 printf("# Copying %s bytes ...\n\n", size_str); in __bench_mem_function()
172 printf("# Memory allocation failed - maybe size (%s) is too large?\n", size_str); in __bench_mem_function()
192 size = (size_t)perf_atoll((char *)size_str); in bench_mem_common()
196 fprintf(stderr, "Invalid size:%s\n", size_str); in bench_mem_common()
/openbmc/obmc-console/
H A Dconfig.c279 int config_parse_bytesize(const char *size_str, size_t *size) in config_parse_bytesize() argument
298 if (!size_str) { in config_parse_bytesize()
302 logsize = strtoul(size_str, &suffix, 0); in config_parse_bytesize()
303 if (logsize == 0 || logsize >= UINT32_MAX || suffix == size_str) { in config_parse_bytesize()
H A Dconsole-server.h219 int config_parse_bytesize(const char *size_str, size_t *size);
/openbmc/qemu/hw/arm/
H A Draspi.c271 char *size_str = size_to_str(ram_size); in raspi_machine_init() local
272 error_report("Invalid RAM size, should be %s", size_str); in raspi_machine_init()
273 g_free(size_str); in raspi_machine_init()
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dpartition.py385 size_str = ""
390 (label_str, self.fsuuid, size_str, extraopts, rootfs,
479 size_str = ""
484 (label_str, self.fsuuid, extraopts, size_str, rootfs,
/openbmc/qemu/scripts/tracetool/backend/
H A Dsimple.py92 size_str=sizestr)
/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/linux/scripts/dtc/
H A Dflattree.c884 uint32_t size_str = fdt32_to_cpu(fdt->size_dt_strings); in dt_from_blob() local
885 if ((off_str+size_str < off_str) || (off_str+size_str > totalsize)) in dt_from_blob()
887 inbuf_init(&strbuf, blob + off_str, blob + off_str + size_str); in dt_from_blob()
/openbmc/linux/tools/mm/
H A Dslabinfo.c597 char size_str[20]; in slabcache() local
620 store_size(size_str, slab_size(s)); in slabcache()
622 store_size(size_str, slab_waste(s)); in slabcache()
665 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache()
/openbmc/qemu/system/
H A Dphysmem.c1225 g_autofree char *size_str = NULL; in get_file_size() local
1230 if (g_file_get_contents(size_path, &size_str, NULL, NULL)) { in get_file_size()
1231 return g_ascii_strtoll(size_str, NULL, 0); in get_file_size()