Home
last modified time | relevance | path

Searched refs:memparse (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.3-rc2/kernel/
A Dcrash_core.c64 start = memparse(cur, &tmp); in parse_crashkernel_mem()
78 end = memparse(cur, &tmp); in parse_crashkernel_mem()
96 size = memparse(cur, &tmp); in parse_crashkernel_mem()
119 *crash_base = memparse(cur, &tmp); in parse_crashkernel_mem()
144 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_simple()
151 *crash_base = memparse(cur+1, &cur); in parse_crashkernel_simple()
182 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_suffix()
A Dcrash_dump.c34 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr()
37 elfcorehdr_addr = memparse(end + 1, &end); in setup_elfcorehdr()
/linux-6.3-rc2/tools/testing/vsock/
A Dvsock_perf.c52 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.3-rc2/arch/mips/kernel/
A Dsetup.c124 unsigned long start = memparse(p, &p); in rd_start_early()
139 initrd_end += memparse(p, &p); in rd_size_early()
365 size = memparse(p, &p); in early_parse_mem()
367 start = memparse(p + 1, &p); in early_parse_mem()
392 mem_size = memparse(p, &p); in early_parse_memmap()
397 start_at = memparse(p+1, &p); in early_parse_memmap()
403 start_at = memparse(p+1, &p); in early_parse_memmap()
/linux-6.3-rc2/arch/x86/mm/
A Dpgtable_32.c82 __VMALLOC_RESERVE = memparse(arg, &arg) + VMALLOC_OFFSET; in parse_vmalloc()
99 address = memparse(arg, &arg); in parse_reservetop()
/linux-6.3-rc2/arch/xtensa/mm/
A Dinit.c179 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.3-rc2/kernel/dma/
A Dcontiguous.c85 size_cmdline = memparse(p, &p); in early_cma()
88 base_cmdline = memparse(p + 1, &p); in early_cma()
93 limit_cmdline = memparse(p + 1, &p); in early_cma()
106 pernuma_size_bytes = memparse(p, &p); in early_cma_pernuma()
/linux-6.3-rc2/init/
A Ddo_mounts_initrd.c57 start = memparse(p, &endp); in early_initrdmem()
59 size = memparse(endp + 1, NULL); in early_initrdmem()
/linux-6.3-rc2/lib/
A Dcmdline.c150 unsigned long long memparse(const char *ptr, char **retptr) in memparse() function
191 EXPORT_SYMBOL(memparse);
/linux-6.3-rc2/arch/x86/platform/efi/
A Dfake_mem.c93 mem_size = memparse(p, &p); in setup_fake_mem()
95 start = memparse(p+1, &p); in setup_fake_mem()
/linux-6.3-rc2/arch/x86/boot/compressed/
A Dkaslr.c140 *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.3-rc2/arch/mips/cavium-octeon/
A Dsetup.c860 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.3-rc2/arch/x86/kernel/
A De820.c902 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()
A Dcheck.c82 size = memparse(arg, &end); in set_corruption_check_size()
/linux-6.3-rc2/arch/sh/mm/
A Dconsistent.c29 *sizep = memparse(p, NULL); in memchunk_cmdline_override()
/linux-6.3-rc2/arch/s390/boot/
A Dipl_parm.c273 memory_limit = round_down(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
276 vmalloc_size = round_up(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
/linux-6.3-rc2/drivers/mtd/parsers/
A Dcmdlinepart.c103 size = memparse(s, &s); in newpart()
118 offset = memparse(s, &s); in newpart()
/linux-6.3-rc2/block/partitions/
A Dcmdline.c57 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.3-rc2/arch/m68k/atari/
A Dstram.c57 pool_size = memparse(arg, NULL); in atari_stram_setup()
/linux-6.3-rc2/arch/arc/mm/
A Dinit.c43 low_mem_sz = memparse(str, NULL) & PAGE_MASK; in setup_mem_sz()
/linux-6.3-rc2/arch/loongarch/kernel/
A Dsetup.c185 size = memparse(p, &p); in early_parse_mem()
187 start = memparse(p + 1, &p); in early_parse_mem()
/linux-6.3-rc2/arch/ia64/mm/
A Dhugetlbpage.c170 size = memparse(str, &str); in hugetlb_setup_sz()
/linux-6.3-rc2/arch/um/kernel/
A Dphysmem.c151 physmem_size = memparse(line,&retptr); in uml_mem_setup()
/linux-6.3-rc2/mm/
A Dpage_counter.c257 bytes = memparse(buf, &end); in page_counter_memparse()
/linux-6.3-rc2/drivers/xen/
A Dxen-balloon.c198 target_bytes = memparse(buf, &endchar); in target_store()

Completed in 36 milliseconds

1234