Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/bench/
Dmem-functions.c30 static const char *size_str = "1MB"; variable
37 OPT_STRING('s', "size", &size_str, "1MB",
136 printf("# Copying %s bytes ...\n\n", size_str); in __bench_mem_function()
171 printf("# Memory allocation failed - maybe size (%s) is too large?\n", size_str); in __bench_mem_function()
191 size = (size_t)perf_atoll((char *)size_str); in bench_mem_common()
195 fprintf(stderr, "Invalid size:%s\n", size_str); in bench_mem_common()
/Linux-v4.19/scripts/dtc/
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()
/Linux-v4.19/tools/vm/
Dslabinfo.c566 char size_str[20]; in slabcache() local
589 store_size(size_str, slab_size(s)); in slabcache()
591 store_size(size_str, slab_waste(s)); in slabcache()
634 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache()