/linux-6.6.21/kernel/ |
D | crash_dump.c | 34 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr() 37 elfcorehdr_addr = memparse(end + 1, &end); in setup_elfcorehdr()
|
D | crash_core.c | 71 start = memparse(cur, &tmp); in parse_crashkernel_mem() 85 end = memparse(cur, &tmp); in parse_crashkernel_mem() 103 size = memparse(cur, &tmp); in parse_crashkernel_mem() 126 *crash_base = memparse(cur, &tmp); in parse_crashkernel_mem() 151 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_simple() 158 *crash_base = memparse(cur+1, &cur); in parse_crashkernel_simple() 189 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_suffix()
|
/linux-6.6.21/tools/testing/vsock/ |
D | vsock_perf.c | 52 static unsigned long memparse(const char *ptr) in memparse() function 395 vsock_buf_bytes = memparse(optarg); in main() 398 rcvlowat_bytes = memparse(optarg); in main() 404 to_send_bytes = memparse(optarg); in main() 407 buf_size_bytes = memparse(optarg); in main()
|
/linux-6.6.21/arch/mips/kernel/ |
D | setup.c | 126 unsigned long start = memparse(p, &p); in rd_start_early() 141 initrd_end += memparse(p, &p); in rd_size_early() 368 size = memparse(p, &p); in early_parse_mem() 370 start = memparse(p + 1, &p); in early_parse_mem() 395 mem_size = memparse(p, &p); in early_parse_memmap() 400 start_at = memparse(p+1, &p); in early_parse_memmap() 406 start_at = memparse(p+1, &p); in early_parse_memmap()
|
/linux-6.6.21/kernel/dma/ |
D | contiguous.c | 86 size_cmdline = memparse(p, &p); in early_cma() 89 base_cmdline = memparse(p + 1, &p); in early_cma() 94 limit_cmdline = memparse(p + 1, &p); in early_cma() 123 tmp = memparse(s, &s); in early_numa_cma() 140 pernuma_size_bytes = memparse(p, &p); in early_cma_pernuma()
|
/linux-6.6.21/arch/x86/mm/ |
D | pgtable_32.c | 82 __VMALLOC_RESERVE = memparse(arg, &arg) + VMALLOC_OFFSET; in parse_vmalloc() 99 address = memparse(arg, &arg); in parse_reservetop()
|
/linux-6.6.21/arch/xtensa/mm/ |
D | init.c | 179 mem_size = memparse(p, &p); in parse_memmap_one() 185 start_at = memparse(p + 1, &p); in parse_memmap_one() 190 start_at = memparse(p + 1, &p); in parse_memmap_one()
|
/linux-6.6.21/init/ |
D | do_mounts_initrd.c | 57 start = memparse(p, &endp); in early_initrdmem() 59 size = memparse(endp + 1, NULL); in early_initrdmem()
|
/linux-6.6.21/lib/ |
D | cmdline.c | 150 unsigned long long memparse(const char *ptr, char **retptr) in memparse() function 191 EXPORT_SYMBOL(memparse);
|
/linux-6.6.21/arch/x86/platform/efi/ |
D | fake_mem.c | 93 mem_size = memparse(p, &p); in setup_fake_mem() 95 start = memparse(p+1, &p); in setup_fake_mem()
|
/linux-6.6.21/arch/x86/boot/compressed/ |
D | kaslr.c | 140 *size = memparse(p, &p); in parse_memmap() 148 *start = memparse(p + 1, &p); in parse_memmap() 164 *start = memparse(p + 1, &p); in parse_memmap() 236 if (memparse(p, &p) != PUD_SIZE) { in parse_gb_huge_pages() 292 mem_size = memparse(p, &p); in handle_mem_options()
|
/linux-6.6.21/arch/mips/cavium-octeon/ |
D | setup.c | 860 max_memory = memparse(arg + 4, &p); in prom_init() 864 reserve_low_mem = memparse(p + 1, &p); in prom_init() 874 max_memory = memparse(arg + 4, &p); in prom_init() 878 reserve_low_mem = memparse(p + 1, &p); in prom_init() 881 crashk_size = memparse(arg+12, &p); in prom_init() 883 crashk_base = memparse(p+1, &p); in prom_init()
|
/linux-6.6.21/arch/x86/kernel/ |
D | e820.c | 902 mem_size = memparse(p, &p); in parse_memopt() 933 mem_size = memparse(p, &p); in parse_memmap_one() 939 start_at = memparse(p+1, &p); in parse_memmap_one() 942 start_at = memparse(p+1, &p); in parse_memmap_one() 945 start_at = memparse(p+1, &p); in parse_memmap_one() 948 start_at = memparse(p+1, &p); in parse_memmap_one() 953 start_at = memparse(p + 1, &p); in parse_memmap_one()
|
D | check.c | 82 size = memparse(arg, &end); in set_corruption_check_size()
|
/linux-6.6.21/arch/sh/mm/ |
D | consistent.c | 29 *sizep = memparse(p, NULL); in memchunk_cmdline_override()
|
/linux-6.6.21/drivers/mtd/parsers/ |
D | cmdlinepart.c | 103 size = memparse(s, &s); in newpart() 118 offset = memparse(s, &s); in newpart()
|
/linux-6.6.21/arch/s390/boot/ |
D | ipl_parm.c | 272 memory_limit = round_down(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line() 275 vmalloc_size = round_up(memparse(val, NULL), _SEGMENT_SIZE); in parse_boot_command_line()
|
/linux-6.6.21/block/partitions/ |
D | cmdline.c | 57 new_subpart->size = (sector_t)memparse(partdef, &partdef); in parse_subpart() 67 new_subpart->from = (sector_t)memparse(partdef, &partdef); in parse_subpart()
|
/linux-6.6.21/arch/m68k/atari/ |
D | stram.c | 57 pool_size = memparse(arg, NULL); in atari_stram_setup()
|
/linux-6.6.21/arch/arc/mm/ |
D | init.c | 44 low_mem_sz = memparse(str, NULL) & PAGE_MASK; in setup_mem_sz()
|
/linux-6.6.21/arch/ia64/mm/ |
D | hugetlbpage.c | 170 size = memparse(str, &str); in hugetlb_setup_sz()
|
/linux-6.6.21/arch/um/kernel/ |
D | physmem.c | 151 physmem_size = memparse(line,&retptr); in uml_mem_setup()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | setup.c | 206 size = memparse(p, &p); in early_parse_mem() 208 start = memparse(p + 1, &p); in early_parse_mem()
|
/linux-6.6.21/mm/ |
D | page_counter.c | 257 bytes = memparse(buf, &end); in page_counter_memparse()
|
/linux-6.6.21/drivers/xen/ |
D | xen-balloon.c | 198 target_bytes = memparse(buf, &endchar); in target_store()
|