Home
last modified time | relevance | path

Searched refs:memory_end (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/arch/m68k/sun3/
Dconfig.c109 unsigned long memory_end) in sun3_bootmem_alloc() argument
115 memory_end = memory_end & PAGE_MASK; in sun3_bootmem_alloc()
118 max_pfn = num_pages = __pa(memory_end) >> PAGE_SHIFT; in sun3_bootmem_alloc()
120 high_memory = (void *)memory_end; in sun3_bootmem_alloc()
129 unsigned long memory_start, memory_end; in config_sun3() local
146 memory_end = *(romvec->pv_sun3mem) + PAGE_OFFSET - 2*PAGE_SIZE; in config_sun3()
151 sun3_bootmem_alloc(memory_start, memory_end); in config_sun3()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dsetup_no.c44 unsigned long memory_end; variable
47 EXPORT_SYMBOL(memory_end);
88 memory_end = _ramend; in setup_arch()
139 __bss_stop, memory_start, memory_start, memory_end); in setup_arch()
141 memblock_add(_rambase, memory_end - _rambase); in setup_arch()
154 max_pfn = max_low_pfn = PFN_DOWN(memory_end); in setup_arch()
158 (initrd_end < memory_end)) in setup_arch()
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dsetup.c61 unsigned long memory_end; variable
62 EXPORT_SYMBOL(memory_end);
298 memory_end = ram_end; in setup_arch()
299 memory_end &= ~(PAGE_SIZE - 1); in setup_arch()
301 if (mem_size && (PAGE_OFFSET + PAGE_ALIGN(mem_size)) < memory_end) in setup_arch()
302 memory_end = PAGE_OFFSET + PAGE_ALIGN(mem_size); in setup_arch()
305 memblock_add(PAGE_OFFSET, memory_end - PAGE_OFFSET); in setup_arch()
316 dma_start = memory_end - dma_size; in setup_arch()
329 memory_start, memory_end); in setup_arch()
381 max_low_pfn = PFN_DOWN(memory_end); in setup_arch()
Dsys_c6x.c26 if (memory_start <= addr && (addr + size - 1) < memory_end) in _access_ok()
/kernel/linux/linux-5.10/arch/h8300/kernel/
Dsetup.c46 unsigned long memory_end; variable
47 EXPORT_SYMBOL(memory_end);
74 memory_end = memory_start = 0; in bootmem_init()
78 memory_end = memblock_end_of_DRAM(); in bootmem_init()
80 if (!memory_end) in bootmem_init()
85 max_low_pfn = PFN_DOWN(memory_end); in bootmem_init()
/kernel/linux/linux-5.10/arch/h8300/mm/
Dinit.c60 unsigned long end_mem = memory_end & PAGE_MASK; in paging_init()
94 pr_devel("Mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
96 high_memory = (void *) (memory_end & PAGE_MASK); in mem_init()
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dsetup.c32 unsigned long memory_end; variable
33 EXPORT_SYMBOL(memory_end);
153 memory_end = (unsigned long) CONFIG_NIOS2_MEM_BASE + memory_size; in setup_arch()
165 max_low_pfn = PFN_DOWN(memory_end); in setup_arch()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dsetup.c98 unsigned long __bootdata(memory_end);
565 tmp = (memory_end ?: max_physmem_end) / PAGE_SIZE; in setup_memory_end()
592 memory_end = min(memory_end ?: max_physmem_end, (unsigned long)vmemmap); in setup_memory_end()
594 memory_end = min(memory_end, KASAN_SHADOW_START); in setup_memory_end()
596 vmemmap_size = SECTION_ALIGN_UP(memory_end / PAGE_SIZE) * sizeof(struct page); in setup_memory_end()
603 max_pfn = max_low_pfn = PFN_DOWN(memory_end); in setup_memory_end()
604 memblock_remove(memory_end, ULONG_MAX); in setup_memory_end()
606 pr_notice("The maximum memory size is %luMB\n", memory_end >> 20); in setup_memory_end()
641 memblock_reserve(memory_end, ULONG_MAX); in reserve_memory_end()
678 rc = parse_crashkernel(boot_command_line, memory_end, &crash_size, in reserve_crashkernel()
[all …]
/kernel/linux/linux-5.10/arch/c6x/mm/
Dinit.c52 max_zone_pfn[ZONE_NORMAL] = memory_end >> PAGE_SHIFT; in paging_init()
59 high_memory = (void *)(memory_end & PAGE_MASK); in mem_init()
/kernel/linux/linux-5.10/arch/s390/boot/
Dipl_parm.c20 unsigned long __bootdata(memory_end);
244 memory_end = round_down(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
304 if (!sclp_early_get_hsa_size(&memory_end) && memory_end) in setup_memory_end()
Dkaslr.c180 memory_limit = min(memory_limit, memory_end); in get_random_base()
199 if (memory_end_set && memory_limit > memory_end) in get_random_base()
200 memory_limit = memory_end; in get_random_base()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dpage_no.h8 extern unsigned long memory_end;
34 ((void *)(kaddr) < (void *)memory_end))
/kernel/linux/linux-5.10/arch/nios2/mm/
Dinit.c64 unsigned long end_mem = memory_end; /* this must not include in mem_init()
67 pr_debug("mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
/kernel/linux/linux-5.10/include/asm-generic/
Dpage.h62 extern unsigned long memory_end;
94 ((void *)(kaddr) < (void *)memory_end))
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dsetup.c50 phys_addr_t memory_start, memory_end; in setup_memory() local
52 memory_end = memory_start = 0; in setup_memory()
56 memory_end = memblock_end_of_DRAM(); in setup_memory()
58 if (!memory_end) { in setup_memory()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dsetup.c246 phys_addr_t memory_start, memory_end; in setup_memory() local
249 memory_end = memory_start = 0; in setup_memory()
253 memory_end = memblock_end_of_DRAM(); in setup_memory()
255 if (!memory_end) { in setup_memory()
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dpage.h13 extern unsigned long memory_end;
/kernel/linux/linux-5.10/arch/sh/mm/
Duncached.c35 uncached_start = memory_end; in uncached_init()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dsetup.c100 unsigned long memory_end = 0; variable
101 EXPORT_SYMBOL(memory_end);
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dpage.h74 extern unsigned long memory_end;
/kernel/linux/linux-5.10/arch/m68k/mm/
Dinit.c86 unsigned long end_mem = memory_end & PAGE_MASK; in paging_init()
/kernel/linux/linux-5.10/drivers/s390/char/
Dsclp_cmd.c400 if (memory_end_set && (start >= memory_end)) in add_memory_merged()
402 if (memory_end_set && (start + size > memory_end)) in add_memory_merged()
403 size = memory_end - start; in add_memory_merged()
/kernel/linux/linux-5.10/arch/s390/mm/
Dkasan_init.c300 if (memory_end_set && memsize > memory_end) in kasan_early_init()
301 memsize = memory_end; in kasan_early_init()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dsetup.h93 extern unsigned long memory_end;
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dpage.h51 extern unsigned long memory_start, memory_end, memory_limit;

12