Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/m68k/sun3/
Dconfig.c111 unsigned long memory_end) in sun3_bootmem_alloc() argument
117 memory_end = memory_end & PAGE_MASK; in sun3_bootmem_alloc()
120 max_pfn = num_pages = __pa(memory_end) >> PAGE_SHIFT; in sun3_bootmem_alloc()
122 high_memory = (void *)memory_end; in sun3_bootmem_alloc()
131 unsigned long memory_start, memory_end; in config_sun3() local
149 memory_end = *(romvec->pv_sun3mem) + PAGE_OFFSET - 2*PAGE_SIZE; in config_sun3()
154 sun3_bootmem_alloc(memory_start, memory_end); in config_sun3()
/Linux-v4.19/arch/m68k/kernel/
Dsetup_no.c46 unsigned long memory_end; variable
49 EXPORT_SYMBOL(memory_end);
90 memory_end = _ramend; in setup_arch()
141 __bss_stop, memory_start, memory_start, memory_end); in setup_arch()
143 memblock_add(memory_start, memory_end - memory_start); in setup_arch()
159 max_pfn = max_low_pfn = PFN_DOWN(memory_end); in setup_arch()
163 (initrd_end < memory_end)) in setup_arch()
/Linux-v4.19/arch/c6x/kernel/
Dsetup.c65 unsigned long memory_end; variable
66 EXPORT_SYMBOL(memory_end);
307 memory_end = ram_end; in setup_arch()
308 memory_end &= ~(PAGE_SIZE - 1); in setup_arch()
310 if (mem_size && (PAGE_OFFSET + PAGE_ALIGN(mem_size)) < memory_end) in setup_arch()
311 memory_end = PAGE_OFFSET + PAGE_ALIGN(mem_size); in setup_arch()
314 memblock_add(PAGE_OFFSET, memory_end - PAGE_OFFSET); in setup_arch()
325 dma_start = memory_end - dma_size; in setup_arch()
338 memory_start, memory_end); in setup_arch()
363 memory_end >> PAGE_SHIFT); in setup_arch()
[all …]
Dsys_c6x.c29 if (memory_start <= addr && (addr + size - 1) < memory_end) in _access_ok()
/Linux-v4.19/arch/nios2/kernel/
Dsetup.c32 unsigned long memory_end; variable
33 EXPORT_SYMBOL(memory_end);
151 memory_end = (unsigned long) CONFIG_NIOS2_MEM_BASE + memory_size; in setup_arch()
163 max_low_pfn = PFN_DOWN(memory_end); in setup_arch()
181 memory_start, memory_end - memory_start); in setup_arch()
182 free_bootmem(memory_start, memory_end - memory_start); in setup_arch()
/Linux-v4.19/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-v4.19/arch/h8300/mm/
Dinit.c61 unsigned long end_mem = memory_end & PAGE_MASK; in paging_init()
93 pr_devel("Mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
95 high_memory = (void *) (memory_end & PAGE_MASK); in mem_init()
/Linux-v4.19/arch/s390/kernel/
Dsetup.c92 unsigned long __initdata memory_end; variable
288 memory_end = memparse(p, &p); in early_parse_mem()
289 memory_end &= PAGE_MASK; in early_parse_mem()
472 tmp = (memory_end ?: max_physmem_end) / PAGE_SIZE; in setup_memory_end()
494 memory_end = min(memory_end ?: max_physmem_end, tmp); in setup_memory_end()
495 max_pfn = max_low_pfn = PFN_DOWN(memory_end); in setup_memory_end()
496 memblock_remove(memory_end, ULONG_MAX); in setup_memory_end()
498 pr_notice("The maximum memory size is %luMB\n", memory_end >> 20); in setup_memory_end()
538 memory_end = sclp.hsa_size; in reserve_memory_end()
539 memory_end &= PAGE_MASK; in reserve_memory_end()
[all …]
/Linux-v4.19/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-v4.19/arch/openrisc/kernel/
Dsetup.c57 phys_addr_t memory_start, memory_end; in setup_memory() local
60 memory_end = memory_start = 0; in setup_memory()
65 memory_end = region->base + region->size; in setup_memory()
67 memory_start, memory_end); in setup_memory()
70 if (!memory_end) { in setup_memory()
/Linux-v4.19/arch/nds32/kernel/
Dsetup.c231 phys_addr_t memory_start, memory_end; in setup_memory() local
234 memory_end = memory_start = 0; in setup_memory()
239 memory_end = region->base + region->size; in setup_memory()
241 memory_start, memory_end); in setup_memory()
244 if (!memory_end) { in setup_memory()
/Linux-v4.19/arch/m68k/include/asm/
Dpage_no.h8 extern unsigned long memory_end;
34 ((void *)(kaddr) < (void *)memory_end))
/Linux-v4.19/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-v4.19/include/asm-generic/
Dpage.h62 extern unsigned long memory_end;
94 ((void *)(kaddr) < (void *)memory_end))
/Linux-v4.19/arch/sh/drivers/pci/
Dpci-sh5.c104 unsigned long memSize = __pa(memory_end) - memStart; in sh5pci_init()
183 memSize = memory_end - memory_start; in sh5pci_init()
Dpci-sh7780.c304 memsize = roundup_pow_of_two(memory_end - memory_start); in sh7780_pci_init()
/Linux-v4.19/arch/h8300/include/asm/
Dpage.h15 extern unsigned long memory_end;
/Linux-v4.19/arch/sh/mm/
Duncached.c35 uncached_start = memory_end; in uncached_init()
Dinit.c310 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
/Linux-v4.19/arch/sh/kernel/
Dsetup.c98 unsigned long memory_end = 0; variable
99 EXPORT_SYMBOL(memory_end);
/Linux-v4.19/arch/m68k/mm/
Dinit.c91 unsigned long end_mem = memory_end & PAGE_MASK; in paging_init()
/Linux-v4.19/arch/nios2/include/asm/
Dpage.h74 extern unsigned long memory_end;
/Linux-v4.19/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-v4.19/arch/s390/include/asm/
Dsetup.h69 extern unsigned long memory_end;
/Linux-v4.19/arch/sh/include/asm/
Dpage.h53 extern unsigned long memory_start, memory_end, memory_limit;

12