/arch/x86/mm/ |
D | numa_32.c | 82 if (max_pfn > max_low_pfn) in initmem_init() 83 highstart_pfn = max_low_pfn; in initmem_init() 89 num_physpages = max_low_pfn; in initmem_init() 90 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1; in initmem_init() 93 pages_to_mb(max_low_pfn)); in initmem_init() 95 max_low_pfn, highstart_pfn); in initmem_init() 98 (ulong) pfn_to_kaddr(max_low_pfn)); in initmem_init()
|
D | physaddr.c | 77 if (max_low_pfn) { in __phys_addr() 78 VIRTUAL_BUG_ON((phys_addr >> PAGE_SHIFT) > max_low_pfn); in __phys_addr()
|
D | init_32.c | 469 for (pfn = max_low_pfn; pfn < 1<<(32-PAGE_SHIFT); pfn++) { in native_pagetable_init() 574 max_low_pfn = max_pfn; in lowmem_pfn_init() 585 if (max_low_pfn - highmem_pages < 64*1024*1024/PAGE_SIZE) { in lowmem_pfn_init() 590 max_low_pfn -= highmem_pages; in lowmem_pfn_init() 609 max_low_pfn = MAXMEM_PFN; in highmem_pfn_init() 659 if (max_pfn > max_low_pfn) in initmem_init() 660 highstart_pfn = max_low_pfn; in initmem_init() 666 num_physpages = max_low_pfn; in initmem_init() 667 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1; in initmem_init() 679 pages_to_mb(max_low_pfn)); in initmem_init() [all …]
|
/arch/score/kernel/ |
D | setup.c | 52 max_low_pfn = PFN_UP(MEMORY_START + MEMORY_SIZE); in bootmem_init() 53 max_mapnr = max_low_pfn - min_low_pfn; in bootmem_init() 57 min_low_pfn, max_low_pfn); in bootmem_init() 59 PFN_PHYS(max_low_pfn - min_low_pfn), 0); in bootmem_init() 62 (max_low_pfn - start_pfn) << PAGE_SHIFT); in bootmem_init() 63 memory_present(0, start_pfn, max_low_pfn); in bootmem_init() 73 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in bootmem_init()
|
/arch/score/mm/ |
D | init.c | 59 if (pagenr >= min_low_pfn && pagenr < max_low_pfn) in page_is_ram() 71 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 72 lastpfn = max_low_pfn; in paging_init() 81 high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); in mem_init() 86 for (tmp = 0; tmp < max_low_pfn; tmp++) in mem_init()
|
/arch/xtensa/mm/ |
D | init.c | 102 max_low_pfn = max_pfn = 0; in bootmem_init() 117 max_low_pfn = max_pfn < MAX_MEM_PFN >> PAGE_SHIFT ? in bootmem_init() 122 bootmap_size = bootmem_bootmap_pages(max_low_pfn - min_low_pfn); in bootmem_init() 141 max_low_pfn); in bootmem_init() 159 zones_size[ZONE_DMA] = max_low_pfn - ARCH_PFN_OFFSET; in zones_init() 164 zones_size[ZONE_HIGHMEM] = max_pfn - max_low_pfn; in zones_init() 179 max_mapnr = num_physpages = max_low_pfn - ARCH_PFN_OFFSET; in mem_init() 180 high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); in mem_init()
|
/arch/sparc/mm/ |
D | init_32.c | 78 if (end_pfn <= max_low_pfn) in calc_highpages() 81 if (start_pfn < max_low_pfn) in calc_highpages() 82 start_pfn = max_low_pfn; in calc_highpages() 155 max_low_pfn = max_pfn; in bootmem_init() 158 if (max_low_pfn > pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT)) { in bootmem_init() 160 max_low_pfn = calc_max_low_pfn(); in bootmem_init() 187 max_low_pfn); in bootmem_init() 197 if (curr_pfn >= max_low_pfn) in bootmem_init() 201 if (last_pfn > max_low_pfn) in bootmem_init() 202 last_pfn = max_low_pfn; in bootmem_init() [all …]
|
/arch/m32r/mm/ |
D | discontig.c | 78 max_low_pfn = 0; in setup_memory() 99 if (max_low_pfn < max_pfn) in setup_memory() 100 max_low_pfn = max_pfn; in setup_memory() 108 if (INITRD_START + INITRD_SIZE <= PFN_PHYS(max_low_pfn)) { in setup_memory() 119 (unsigned long long)PFN_PHYS(max_low_pfn)); in setup_memory() 126 return max_low_pfn; in setup_memory()
|
/arch/openrisc/mm/ |
D | init.c | 62 zones_size[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 152 end = (unsigned long)__va(max_low_pfn * PAGE_SIZE); in paging_init() 213 for (pfn = 0; pfn < max_low_pfn; pfn++) { in free_pages_init() 226 max_mapnr = num_physpages = max_low_pfn; in set_max_mapnr_init() 237 high_memory = (void *)__va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/arch/m32r/kernel/ |
D | setup.c | 135 unsigned long start_pfn, max_low_pfn, bootmap_size; in setup_memory() local 138 max_low_pfn = PFN_DOWN( __pa(memory_end) ); in setup_memory() 144 CONFIG_MEMORY_START>>PAGE_SHIFT, max_low_pfn); in setup_memory() 164 if (last_pfn > max_low_pfn) in setup_memory() 165 last_pfn = max_low_pfn; in setup_memory() 199 if (INITRD_START + INITRD_SIZE <= (max_low_pfn << PAGE_SHIFT)) { in setup_memory() 210 max_low_pfn << PAGE_SHIFT); in setup_memory() 217 return max_low_pfn; in setup_memory()
|
/arch/hexagon/mm/ |
D | init.c | 145 zones_sizes[ZONE_NORMAL] = max_low_pfn; in paging_init() 208 max_low_pfn = bootmem_lastpg - PFN_DOWN(DMA_RESERVED_BYTES); in setup_arch_memory() 210 bootmap_size = init_bootmem_node(NODE_DATA(0), bootmem_startpg, min_low_pfn, max_low_pfn); in setup_arch_memory() 216 printk(KERN_INFO "max_low_pfn: 0x%08lx\n", max_low_pfn); in setup_arch_memory()
|
/arch/mips/kernel/ |
D | setup.c | 256 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in finalize_initrd() 460 max_low_pfn = 0; in bootmem_init() 475 if (end > max_low_pfn) in bootmem_init() 476 max_low_pfn = end; in bootmem_init() 486 if (min_low_pfn >= max_low_pfn) in bootmem_init() 501 max_pfn = max_low_pfn; in bootmem_init() 502 if (max_low_pfn > PFN_DOWN(HIGHMEM_START)) { in bootmem_init() 505 highend_pfn = max_low_pfn; in bootmem_init() 507 max_low_pfn = PFN_DOWN(HIGHMEM_START); in bootmem_init() 514 min_low_pfn, max_low_pfn); in bootmem_init() [all …]
|
/arch/unicore32/kernel/ |
D | hibernate.c | 89 if (pfn >= max_low_pfn) in resume_physical_mapping_init() 95 if (pfn >= max_low_pfn) in resume_physical_mapping_init() 107 if (pfn >= max_low_pfn) in resume_physical_mapping_init()
|
/arch/alpha/kernel/ |
D | setup.c | 327 if (end > max_low_pfn) in setup_memory() 328 max_low_pfn = end; in setup_memory() 349 if (mem_size_limit && max_low_pfn >= mem_size_limit) in setup_memory() 353 max_low_pfn << (PAGE_SHIFT - 10)); in setup_memory() 354 max_low_pfn = mem_size_limit; in setup_memory() 363 if (max_low_pfn <= end_kernel_pfn) in setup_memory() 368 bootmap_pages = bootmem_bootmap_pages(max_low_pfn); in setup_memory() 377 if (start >= max_low_pfn) in setup_memory() 379 if (end > max_low_pfn) in setup_memory() 380 end = max_low_pfn; in setup_memory() [all …]
|
/arch/alpha/mm/ |
D | numa.c | 129 if (node_max_pfn > max_low_pfn) in setup_memory_node() 130 max_pfn = max_low_pfn = node_max_pfn; in setup_memory_node() 262 max_low_pfn = 0UL; in setup_memory() 275 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory() 276 if (!move_initrd(PFN_PHYS(max_low_pfn))) in setup_memory() 280 phys_to_virt(PFN_PHYS(max_low_pfn))); in setup_memory() 330 high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); in mem_init()
|
D | init.c | 245 high_pfn = max_pfn = max_low_pfn; in paging_init() 288 for (tmp = 0; tmp < max_low_pfn; tmp++) in printk_memory_info() 311 max_mapnr = num_physpages = max_low_pfn; in mem_init() 313 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/arch/microblaze/mm/ |
D | init.c | 79 for (pfn = max_low_pfn; pfn < max_pfn; ++pfn) { in highmem_setup() 115 zones_size[ZONE_DMA] = max_low_pfn; in paging_init() 177 max_low_pfn = ((u64)memory_start + (u64)lowmem_size) >> PAGE_SHIFT; in setup_memory() 182 pr_info("%s: max_low_pfn: %#lx\n", __func__, max_low_pfn); in setup_memory() 193 PFN_UP(TOPHYS((u32)klimit)), min_low_pfn, max_low_pfn); in setup_memory() 207 free_bootmem_with_active_regions(0, max_low_pfn); in setup_memory() 312 return pfn < max_low_pfn; in page_is_ram()
|
/arch/x86/power/ |
D | hibernate_32.c | 100 if (pfn >= max_low_pfn) in resume_physical_mapping_init() 104 if (pfn >= max_low_pfn) in resume_physical_mapping_init() 123 if (pfn >= max_low_pfn) in resume_physical_mapping_init()
|
/arch/ia64/mm/ |
D | contig.c | 274 max_low_pfn = 0; in find_memory() 276 max_pfn = max_low_pfn; in find_memory() 324 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 337 map_size = PAGE_ALIGN(ALIGN(max_low_pfn, MAX_ORDER_NR_PAGES) * in paging_init() 354 memblock_add_node(0, PFN_PHYS(max_low_pfn), 0); in paging_init()
|
/arch/m68k/platform/coldfire/ |
D | m54xx.c | 101 max_low_pfn = _ramend >> PAGE_SHIFT; in mcf54xx_bootmem_alloc() 110 min_low_pfn, max_low_pfn); in mcf54xx_bootmem_alloc()
|
/arch/s390/mm/ |
D | init.c | 132 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 140 max_mapnr = num_physpages = max_low_pfn; in mem_init() 141 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/arch/mips/mm/ |
D | init.c | 366 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 367 lastpfn = max_low_pfn; in paging_init() 389 max_mapnr = highend_pfn ? highend_pfn : max_low_pfn; in mem_init() 391 max_mapnr = max_low_pfn; in mem_init() 393 high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); in mem_init() 399 for (tmp = 0; tmp < max_low_pfn; tmp++) in mem_init()
|
/arch/cris/kernel/ |
D | setup.c | 122 max_low_pfn = max_pfn; in setup_arch() 127 max_low_pfn); in setup_arch()
|
/arch/frv/include/asm/ |
D | page.h | 50 extern unsigned long max_low_pfn; 58 #define pfn_valid(pfn) ((pfn) >= min_low_pfn && (pfn) < max_low_pfn)
|
/arch/arc/mm/ |
D | init.c | 75 max_low_pfn = max_pfn = PFN_DOWN(end_mem); in setup_arch_memory() 77 max_mapnr = num_physpages = max_low_pfn - min_low_pfn; in setup_arch_memory()
|