Home
last modified time | relevance | path

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

1234

/linux-6.6.21/kernel/
Dcrash_dump.c34 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr()
37 elfcorehdr_addr = memparse(end + 1, &end); in setup_elfcorehdr()
Dcrash_core.c71 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/
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.6.21/arch/mips/kernel/
Dsetup.c126 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/
Dcontiguous.c86 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/
Dpgtable_32.c82 __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/
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.6.21/init/
Ddo_mounts_initrd.c57 start = memparse(p, &endp); in early_initrdmem()
59 size = memparse(endp + 1, NULL); in early_initrdmem()
/linux-6.6.21/lib/
Dcmdline.c150 unsigned long long memparse(const char *ptr, char **retptr) in memparse() function
191 EXPORT_SYMBOL(memparse);
/linux-6.6.21/arch/x86/platform/efi/
Dfake_mem.c93 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/
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.6.21/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.6.21/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.6.21/arch/sh/mm/
Dconsistent.c29 *sizep = memparse(p, NULL); in memchunk_cmdline_override()
/linux-6.6.21/drivers/mtd/parsers/
Dcmdlinepart.c103 size = memparse(s, &s); in newpart()
118 offset = memparse(s, &s); in newpart()
/linux-6.6.21/arch/s390/boot/
Dipl_parm.c272 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/
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.6.21/arch/m68k/atari/
Dstram.c57 pool_size = memparse(arg, NULL); in atari_stram_setup()
/linux-6.6.21/arch/arc/mm/
Dinit.c44 low_mem_sz = memparse(str, NULL) & PAGE_MASK; in setup_mem_sz()
/linux-6.6.21/arch/ia64/mm/
Dhugetlbpage.c170 size = memparse(str, &str); in hugetlb_setup_sz()
/linux-6.6.21/arch/um/kernel/
Dphysmem.c151 physmem_size = memparse(line,&retptr); in uml_mem_setup()
/linux-6.6.21/arch/loongarch/kernel/
Dsetup.c206 size = memparse(p, &p); in early_parse_mem()
208 start = memparse(p + 1, &p); in early_parse_mem()
/linux-6.6.21/mm/
Dpage_counter.c257 bytes = memparse(buf, &end); in page_counter_memparse()
/linux-6.6.21/drivers/xen/
Dxen-balloon.c198 target_bytes = memparse(buf, &endchar); in target_store()

1234