Searched refs:size_str (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/perf/bench/ |
D | mem-functions.c | 31 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.12.1/scripts/dtc/ |
D | flattree.c | 881 uint32_t size_str = fdt32_to_cpu(fdt->size_dt_strings); in dt_from_blob() local 882 if ((off_str+size_str < off_str) || (off_str+size_str > totalsize)) in dt_from_blob() 884 inbuf_init(&strbuf, blob + off_str, blob + off_str + size_str); in dt_from_blob()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_gt_sriov_vf.c | 363 char size_str[10]; in vf_get_lmem_info() local 379 string_get_size(size, 1, STRING_UNITS_2, size_str, sizeof(size_str)); in vf_get_lmem_info() 380 xe_gt_sriov_dbg_verbose(gt, "LMEM %lluM %s\n", size / SZ_1M, size_str); in vf_get_lmem_info()
|
/linux-6.12.1/tools/mm/ |
D | slabinfo.c | 597 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()
|
/linux-6.12.1/mm/ |
D | huge_memory.c | 941 static inline int get_order_from_str(const char *size_str) in get_order_from_str() argument 947 size = memparse(size_str, &endptr); in get_order_from_str() 957 pr_err("invalid size %s in thp_anon boot parameter\n", size_str); in get_order_from_str()
|