Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/m68k/sun3/
Dconfig.c110 unsigned long memory_end) in sun3_bootmem_alloc() argument
116 memory_end = memory_end & PAGE_MASK; in sun3_bootmem_alloc()
119 max_pfn = num_pages = __pa(memory_end) >> PAGE_SHIFT; in sun3_bootmem_alloc()
121 high_memory = (void *)memory_end; in sun3_bootmem_alloc()
130 unsigned long memory_start, memory_end; in config_sun3() local
147 memory_end = *(romvec->pv_sun3mem) + PAGE_OFFSET - 2*PAGE_SIZE; in config_sun3()
152 sun3_bootmem_alloc(memory_start, memory_end); in config_sun3()
/Linux-v5.4/arch/m68k/kernel/
Dsetup_no.c45 unsigned long memory_end; variable
48 EXPORT_SYMBOL(memory_end);
89 memory_end = _ramend; in setup_arch()
140 __bss_stop, memory_start, memory_start, memory_end); in setup_arch()
142 memblock_add(memory_start, memory_end - memory_start); in setup_arch()
158 max_pfn = max_low_pfn = PFN_DOWN(memory_end); in setup_arch()
162 (initrd_end < memory_end)) in setup_arch()
/Linux-v5.4/arch/c6x/kernel/
Dsetup.c61 unsigned long memory_end; variable
62 EXPORT_SYMBOL(memory_end);
297 memory_end = ram_end; in setup_arch()
298 memory_end &= ~(PAGE_SIZE - 1); in setup_arch()
300 if (mem_size && (PAGE_OFFSET + PAGE_ALIGN(mem_size)) < memory_end) in setup_arch()
301 memory_end = PAGE_OFFSET + PAGE_ALIGN(mem_size); in setup_arch()
304 memblock_add(PAGE_OFFSET, memory_end - PAGE_OFFSET); in setup_arch()
315 dma_start = memory_end - dma_size; in setup_arch()
328 memory_start, memory_end); in setup_arch()
380 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()
/Linux-v5.4/arch/h8300/kernel/
Dsetup.c47 unsigned long memory_end; variable
48 EXPORT_SYMBOL(memory_end);
75 memory_end = memory_start = 0; in bootmem_init()
80 memory_end = region->base + region->size; in bootmem_init()
83 if (!memory_end) in bootmem_init()
/Linux-v5.4/arch/h8300/mm/
Dinit.c61 unsigned long end_mem = memory_end & PAGE_MASK; in paging_init()
95 pr_devel("Mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
97 high_memory = (void *) (memory_end & PAGE_MASK); in mem_init()
/Linux-v5.4/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()
/Linux-v5.4/arch/s390/kernel/
Dsetup.c101 unsigned long __bootdata(memory_end);
566 tmp = (memory_end ?: max_physmem_end) / PAGE_SIZE; in setup_memory_end()
590 memory_end = min(memory_end ?: max_physmem_end, (unsigned long)vmemmap); in setup_memory_end()
593 memory_end = min(memory_end, KASAN_SHADOW_START); in setup_memory_end()
596 max_pfn = max_low_pfn = PFN_DOWN(memory_end); in setup_memory_end()
597 memblock_remove(memory_end, ULONG_MAX); in setup_memory_end()
599 pr_notice("The maximum memory size is %luMB\n", memory_end >> 20); in setup_memory_end()
637 memblock_reserve(memory_end, ULONG_MAX); in reserve_memory_end()
674 rc = parse_crashkernel(boot_command_line, memory_end, &crash_size, in reserve_crashkernel()
1156 dma_contiguous_reserve(memory_end); in setup_arch()
/Linux-v5.4/arch/c6x/mm/
Dinit.c52 zones_size[ZONE_NORMAL] = (memory_end - PAGE_OFFSET) >> PAGE_SHIFT; in paging_init()
61 high_memory = (void *)(memory_end & PAGE_MASK); in mem_init()
/Linux-v5.4/arch/s390/boot/
Dipl_parm.c19 unsigned long __bootdata(memory_end);
225 memory_end = round_down(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
255 if (!sclp_early_get_hsa_size(&memory_end) && memory_end) in setup_memory_end()
Dkaslr.c94 unsigned long memory_limit = memory_end_set ? memory_end : 0; in get_random_base()
117 if (memory_end_set && memory_limit > memory_end) in get_random_base()
118 memory_limit = memory_end; in get_random_base()
/Linux-v5.4/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()
254 memory_end = region->base + region->size; in setup_memory()
256 memory_start, memory_end); in setup_memory()
259 if (!memory_end) { in setup_memory()
/Linux-v5.4/arch/openrisc/kernel/
Dsetup.c51 phys_addr_t memory_start, memory_end; in setup_memory() local
54 memory_end = memory_start = 0; in setup_memory()
59 memory_end = region->base + region->size; in setup_memory()
61 memory_start, memory_end); in setup_memory()
64 if (!memory_end) { in setup_memory()
/Linux-v5.4/arch/m68k/include/asm/
Dpage_no.h8 extern unsigned long memory_end;
34 ((void *)(kaddr) < (void *)memory_end))
/Linux-v5.4/arch/nios2/mm/
Dinit.c67 unsigned long end_mem = memory_end; /* this must not include in mem_init()
70 pr_debug("mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
/Linux-v5.4/include/asm-generic/
Dpage.h62 extern unsigned long memory_end;
94 ((void *)(kaddr) < (void *)memory_end))
/Linux-v5.4/arch/sh/drivers/pci/
Dpci-sh5.c102 unsigned long memSize = __pa(memory_end) - memStart; in sh5pci_init()
181 memSize = memory_end - memory_start; in sh5pci_init()
/Linux-v5.4/arch/h8300/include/asm/
Dpage.h15 extern unsigned long memory_end;
/Linux-v5.4/arch/sh/mm/
Duncached.c35 uncached_start = memory_end; in uncached_init()
/Linux-v5.4/arch/sh/kernel/
Dsetup.c99 unsigned long memory_end = 0; variable
100 EXPORT_SYMBOL(memory_end);
/Linux-v5.4/arch/nios2/include/asm/
Dpage.h74 extern unsigned long memory_end;
/Linux-v5.4/arch/m68k/mm/
Dinit.c91 unsigned long end_mem = memory_end & PAGE_MASK; in paging_init()
/Linux-v5.4/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()
/Linux-v5.4/arch/s390/mm/
Dkasan_init.c262 if (memory_end_set && memsize > memory_end) in kasan_early_init()
263 memsize = memory_end; in kasan_early_init()
/Linux-v5.4/arch/s390/include/asm/
Dsetup.h85 extern unsigned long memory_end;

12