Home
last modified time | relevance | path

Searched refs:size_str (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/scripts/dtc/
H A Dflattree.c883 uint32_t size_str = fdt32_to_cpu(fdt->size_dt_strings); in dt_from_blob() local
884 if ((off_str+size_str < off_str) || (off_str+size_str > totalsize)) in dt_from_blob()
886 inbuf_init(&strbuf, blob + off_str, blob + off_str + size_str); in dt_from_blob()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/vm/
H A Dslabinfo.c573 char size_str[20]; in slabcache() local
596 store_size(size_str, slab_size(s)); in slabcache()
598 store_size(size_str, slab_waste(s)); in slabcache()
641 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache()
/kernel/linux/linux-6.6/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()

Completed in 8 milliseconds