Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/bench/
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()
/linux-6.6.21/scripts/dtc/
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()
/linux-6.6.21/tools/mm/
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()