Home
last modified time | relevance | path

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

1234

/linux-6.1.9/kernel/
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()
Dcrash_dump.c34 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr()
37 elfcorehdr_addr = memparse(end + 1, &end); in setup_elfcorehdr()
/linux-6.1.9/arch/mips/kernel/
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.1.9/arch/x86/mm/
Dpgtable_32.c82 __VMALLOC_RESERVE = memparse(arg, &arg) + VMALLOC_OFFSET; in parse_vmalloc()
99 address = memparse(arg, &arg); in parse_reservetop()
/linux-6.1.9/arch/xtensa/mm/
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.1.9/kernel/dma/
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.1.9/init/
Ddo_mounts_initrd.c57 start = memparse(p, &endp); in early_initrdmem()
59 size = memparse(endp + 1, NULL); in early_initrdmem()
/linux-6.1.9/drivers/firmware/efi/
Dfake_mem.c90 mem_size = memparse(p, &p); in setup_fake_mem()
92 start = memparse(p+1, &p); in setup_fake_mem()
/linux-6.1.9/lib/
Dcmdline.c150 unsigned long long memparse(const char *ptr, char **retptr) in memparse() function
191 EXPORT_SYMBOL(memparse);
/linux-6.1.9/arch/x86/boot/compressed/
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.1.9/arch/mips/cavium-octeon/
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.1.9/arch/x86/kernel/
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()
Dcheck.c82 size = memparse(arg, &end); in set_corruption_check_size()
/linux-6.1.9/arch/sh/mm/
Dconsistent.c29 *sizep = memparse(p, NULL); in memchunk_cmdline_override()
/linux-6.1.9/drivers/mtd/parsers/
Dcmdlinepart.c103 size = memparse(s, &s); in newpart()
118 offset = memparse(s, &s); in newpart()
/linux-6.1.9/arch/s390/boot/
Dipl_parm.c264 memory_limit = round_down(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
267 vmalloc_size = round_up(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
/linux-6.1.9/arch/loongarch/kernel/
Dsetup.c173 size = memparse(p, &p); in early_parse_mem()
175 start = memparse(p + 1, &p); in early_parse_mem()
/linux-6.1.9/block/partitions/
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.1.9/arch/m68k/atari/
Dstram.c57 pool_size = memparse(arg, NULL); in atari_stram_setup()
/linux-6.1.9/arch/arc/mm/
Dinit.c43 low_mem_sz = memparse(str, NULL) & PAGE_MASK; in setup_mem_sz()
/linux-6.1.9/arch/um/kernel/
Dphysmem.c151 physmem_size = memparse(line,&retptr); in uml_mem_setup()
/linux-6.1.9/mm/
Dpage_counter.c257 bytes = memparse(buf, &end); in page_counter_memparse()
/linux-6.1.9/arch/ia64/mm/
Dhugetlbpage.c185 size = memparse(str, &str); in hugetlb_setup_sz()
/linux-6.1.9/arch/microblaze/mm/
Dinit.c155 maxmem = memparse(p, &p); in mm_cmdline_setup()
/linux-6.1.9/arch/mips/generic/
Dyamon-dt.c115 memsize = memparse(var + strlen(param_name), NULL); in yamon_dt_append_memory()

1234