Home
last modified time | relevance | path

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

1234

/Linux-v5.4/kernel/
Dcrash_core.c48 start = memparse(cur, &tmp); in parse_crashkernel_mem()
62 end = memparse(cur, &tmp); in parse_crashkernel_mem()
80 size = memparse(cur, &tmp); in parse_crashkernel_mem()
103 *crash_base = memparse(cur, &tmp); in parse_crashkernel_mem()
128 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_simple()
135 *crash_base = memparse(cur+1, &cur); in parse_crashkernel_simple()
166 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_suffix()
Dcrash_dump.c40 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr()
43 elfcorehdr_addr = memparse(end + 1, &end); in setup_elfcorehdr()
/Linux-v5.4/arch/mips/kernel/
Dsetup.c156 unsigned long start = memparse(p, &p); in rd_start_early()
171 initrd_end += memparse(p, &p); in rd_size_early()
404 size = memparse(p, &p); in early_parse_mem()
406 start = memparse(p + 1, &p); in early_parse_mem()
428 mem_size = memparse(p, &p); in early_parse_memmap()
433 start_at = memparse(p+1, &p); in early_parse_memmap()
439 start_at = memparse(p+1, &p); in early_parse_memmap()
460 setup_elfcorehdr = memparse(p, &p); in early_parse_elfcorehdr()
/Linux-v5.4/arch/x86/mm/
Dpgtable_32.c83 __VMALLOC_RESERVE = memparse(arg, &arg) + VMALLOC_OFFSET; in parse_vmalloc()
100 address = memparse(arg, &arg); in parse_reservetop()
/Linux-v5.4/arch/xtensa/mm/
Dinit.c215 mem_size = memparse(p, &p); in parse_memmap_one()
221 start_at = memparse(p + 1, &p); in parse_memmap_one()
226 start_at = memparse(p + 1, &p); in parse_memmap_one()
/Linux-v5.4/init/
Ddo_mounts_initrd.c37 start = memparse(p, &endp); in early_initrd()
39 size = memparse(endp + 1, NULL); in early_initrd()
/Linux-v5.4/drivers/firmware/efi/
Dfake_mem.c93 mem_size = memparse(p, &p); in setup_fake_mem()
95 start = memparse(p+1, &p); in setup_fake_mem()
/Linux-v5.4/kernel/dma/
Dcontiguous.c57 size_cmdline = memparse(p, &p); in early_cma()
60 base_cmdline = memparse(p + 1, &p); in early_cma()
65 limit_cmdline = memparse(p + 1, &p); in early_cma()
/Linux-v5.4/lib/
Dcmdline.c125 unsigned long long memparse(const char *ptr, char **retptr) in memparse() function
165 EXPORT_SYMBOL(memparse);
/Linux-v5.4/arch/c6x/kernel/
Dsetup.c216 mem_size = memparse(p, &p); in early_mem()
231 dma_size = memparse(p, &p); in early_memdma()
233 dma_start = memparse(p, &p); in early_memdma()
/Linux-v5.4/arch/mips/cavium-octeon/
Dsetup.c861 max_memory = memparse(arg + 4, &p); in prom_init()
865 reserve_low_mem = memparse(p + 1, &p); in prom_init()
875 max_memory = memparse(arg + 4, &p); in prom_init()
879 reserve_low_mem = memparse(p + 1, &p); in prom_init()
882 crashk_size = memparse(arg+12, &p); in prom_init()
884 crashk_base = memparse(p+1, &p); in prom_init()
/Linux-v5.4/arch/x86/kernel/
De820.c887 mem_size = memparse(p, &p); in parse_memopt()
926 mem_size = memparse(p, &p); in parse_memmap_one()
932 start_at = memparse(p+1, &p); in parse_memmap_one()
935 start_at = memparse(p+1, &p); in parse_memmap_one()
938 start_at = memparse(p+1, &p); in parse_memmap_one()
941 start_at = memparse(p+1, &p); in parse_memmap_one()
946 start_at = memparse(p + 1, &p); in parse_memmap_one()
Dcheck.c82 size = memparse(arg, &end); in set_corruption_check_size()
/Linux-v5.4/arch/riscv/mm/
Dhugetlbpage.c19 unsigned long ps = memparse(opt, &opt); in setup_hugepagesz()
/Linux-v5.4/arch/unicore32/kernel/
Dsetup.c181 size = memparse(p, &endp); in early_mem()
183 start = memparse(endp + 1, NULL); in early_mem()
/Linux-v5.4/block/
Dcmdline-parser.c26 new_subpart->size = (sector_t)memparse(partdef, &partdef); in parse_subpart()
36 new_subpart->from = (sector_t)memparse(partdef, &partdef); in parse_subpart()
/Linux-v5.4/arch/s390/boot/
Dipl_parm.c225 memory_end = round_down(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
230 vmalloc_size = round_up(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
/Linux-v5.4/arch/sh/mm/
Dconsistent.c29 *sizep = memparse(p, NULL); in memchunk_cmdline_override()
/Linux-v5.4/arch/x86/boot/compressed/
Dkaslr.c148 *size = memparse(p, &p); in parse_memmap()
156 *start = memparse(p + 1, &p); in parse_memmap()
223 if (memparse(p, &p) != PUD_SIZE) { in parse_gb_huge_pages()
282 mem_size = memparse(p, &p); in handle_mem_options()
/Linux-v5.4/drivers/mtd/parsers/
Dcmdlinepart.c103 size = memparse(s, &s); in newpart()
117 offset = memparse(s, &s); in newpart()
/Linux-v5.4/arch/hexagon/mm/
Dinit.c131 size = memparse(p, &endp); in early_mem()
/Linux-v5.4/arch/arc/mm/
Dinit.c47 low_mem_sz = memparse(str, NULL) & PAGE_MASK; in setup_mem_sz()
/Linux-v5.4/arch/m68k/atari/
Dstram.c58 pool_size = memparse(arg, NULL); in atari_stram_setup()
/Linux-v5.4/arch/um/kernel/
Dphysmem.c151 physmem_size = memparse(line,&retptr); in uml_mem_setup()
/Linux-v5.4/arch/ia64/mm/
Dhugetlbpage.c179 size = memparse(str, &str); in hugetlb_setup_sz()

1234