/linux-2.4.37.9/arch/sparc/mm/ |
D | init.c | 129 if (end_pfn <= max_low_pfn) in calc_highpages() 132 if (start_pfn < max_low_pfn) in calc_highpages() 133 start_pfn = max_low_pfn; in calc_highpages() 212 max_low_pfn = max_pfn; in bootmem_init() 215 if (max_low_pfn > (SRMMU_MAXMEM >> PAGE_SHIFT)) { in bootmem_init() 217 max_low_pfn = calc_max_low_pfn(); in bootmem_init() 244 start_pfn, bootmap_pfn, max_low_pfn); in bootmem_init() 246 bootmap_size = init_bootmem_node(NODE_DATA(0), bootmap_pfn, phys_base>>PAGE_SHIFT, max_low_pfn); in bootmem_init() 256 if (curr_pfn >= max_low_pfn) in bootmem_init() 260 if (last_pfn > max_low_pfn) in bootmem_init() [all …]
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | setup.c | 304 if (end > max_low_pfn) in setup_memory() 305 max_low_pfn = end; in setup_memory() 326 if (mem_size_limit && max_low_pfn >= mem_size_limit) in setup_memory() 330 max_low_pfn << (PAGE_SHIFT - 10)); in setup_memory() 331 max_low_pfn = mem_size_limit; in setup_memory() 340 if (max_low_pfn <= end_kernel_pfn) in setup_memory() 345 bootmap_pages = bootmem_bootmap_pages(max_low_pfn); in setup_memory() 354 if (start >= max_low_pfn) in setup_memory() 356 if (end > max_low_pfn) in setup_memory() 357 end = max_low_pfn; in setup_memory() [all …]
|
D | sys_nautilus.c | 199 unsigned long memtop = max_low_pfn << PAGE_SHIFT; in nautilus_init_pci()
|
D | core_irongate.c | 239 unsigned long memtop = max_low_pfn << PAGE_SHIFT; in albacore_init_arch()
|
D | pci_iommu.c | 56 unsigned long mem = max_low_pfn << PAGE_SHIFT; in size_for_memory() 774 || __direct_map_base + (max_low_pfn<<PAGE_SHIFT)-1 <= mask)) in pci_dma_supported()
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | setup.c | 250 unsigned long start_pfn, max_pfn, max_low_pfn, first_usable_pfn; in bootmem_init() local 300 max_low_pfn = max_pfn; in bootmem_init() 301 if (max_low_pfn > MAXMEM_PFN) { in bootmem_init() 302 max_low_pfn = MAXMEM_PFN; in bootmem_init() 325 bootmap_size = init_bootmem(first_usable_pfn, max_low_pfn); in bootmem_init() 343 if (curr_pfn >= max_low_pfn) in bootmem_init() 354 if (last_pfn > max_low_pfn) in bootmem_init() 355 last_pfn = max_low_pfn; in bootmem_init() 395 if (PHYSADDR(initrd_end) > PFN_PHYS(max_low_pfn)) { in bootmem_init() 399 PFN_PHYS(max_low_pfn)); in bootmem_init()
|
/linux-2.4.37.9/arch/s390x/mm/ |
D | init.c | 235 if (dma_pfn > max_low_pfn) in paging_init() 236 zones_size[ZONE_DMA] = max_low_pfn; in paging_init() 239 zones_size[ZONE_NORMAL] = max_low_pfn - dma_pfn; in paging_init() 250 end_mem = (unsigned long) __va(max_low_pfn*PAGE_SIZE); in paging_init() 302 max_mapnr = num_physpages = max_low_pfn; in mem_init() 303 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/linux-2.4.37.9/arch/s390/mm/ |
D | init.c | 129 unsigned long end_mem = (unsigned long) __va(max_low_pfn*PAGE_SIZE); in paging_init() 178 zones_size[ZONE_DMA] = max_low_pfn; in paging_init() 189 max_mapnr = num_physpages = max_low_pfn; in mem_init() 190 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | setup.c | 278 unsigned long start_pfn, max_pfn, max_low_pfn; in setup_arch() local 384 max_low_pfn = max_pfn; in setup_arch() 398 max_low_pfn); in setup_arch() 415 if (last_pfn > max_low_pfn) in setup_arch() 416 last_pfn = max_low_pfn; in setup_arch() 441 if (INITRD_START + INITRD_SIZE <= (max_low_pfn << PAGE_SHIFT)) { in setup_arch() 450 max_low_pfn << PAGE_SHIFT); in setup_arch()
|
/linux-2.4.37.9/arch/alpha/mm/ |
D | numa.c | 132 if (node_max_pfn > max_low_pfn) in setup_memory_node() 133 max_low_pfn = node_max_pfn; in setup_memory_node() 260 max_low_pfn = 0UL; in setup_memory() 273 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory() 274 if (!move_initrd(PFN_PHYS(max_low_pfn))) in setup_memory() 278 phys_to_virt(PFN_PHYS(max_low_pfn))); in setup_memory()
|
D | init.c | 304 high_pfn = max_low_pfn; in paging_init() 349 for (tmp = 0; tmp < max_low_pfn; tmp++) in printk_memory_info() 372 max_mapnr = num_physpages = max_low_pfn; in mem_init() 374 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | setup.c | 951 unsigned long max_low_pfn; in find_max_low_pfn() local 953 max_low_pfn = max_pfn; in find_max_low_pfn() 954 if (max_low_pfn > MAXMEM_PFN) { in find_max_low_pfn() 963 max_low_pfn = MAXMEM_PFN; in find_max_low_pfn() 990 if (max_low_pfn-highmem_pages < 64*1024*1024/PAGE_SIZE){ in find_max_low_pfn() 994 max_low_pfn -= highmem_pages; in find_max_low_pfn() 1002 return max_low_pfn; in find_max_low_pfn() 1008 static void __init register_bootmem_low_pages(unsigned long max_low_pfn) in register_bootmem_low_pages() argument 1023 if (curr_pfn >= max_low_pfn) in register_bootmem_low_pages() 1030 if (last_pfn > max_low_pfn) in register_bootmem_low_pages() [all …]
|
/linux-2.4.37.9/arch/mips/mm/ |
D | init.c | 250 low = max_low_pfn; in paging_init() 314 num_mappedpages = max_low_pfn; in mem_init() 316 max_mapnr = num_mappedpages = num_physpages = max_low_pfn; in mem_init() 318 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE); in mem_init() 324 for (tmp = 0; tmp < max_low_pfn; tmp++) in mem_init()
|
/linux-2.4.37.9/arch/i386/mm/ |
D | init.c | 217 end = (unsigned long)__va(max_low_pfn*PAGE_SIZE); in pagetable_init() 329 low = max_low_pfn; in zone_sizes_init() 475 num_mappedpages = max_low_pfn; in set_max_mapnr_init() 477 max_mapnr = num_mappedpages = num_physpages = max_low_pfn; in set_max_mapnr_init() 492 for (pfn = 0; pfn < max_low_pfn; pfn++) { in free_pages_init() 524 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/linux-2.4.37.9/arch/ia64/mm/ |
D | discontig.c | 80 max_low_pfn = max(max_low_pfn, bdp->node_low_pfn); in build_maps() 273 max_low_pfn = 0; in discontig_mem_init()
|
D | init.c | 614 map_size = PAGE_ALIGN(max_low_pfn*sizeof(struct page)); in paging_init() 663 max_mapnr = max_low_pfn; in mem_init() 664 high_memory = __va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/linux-2.4.37.9/arch/mips64/mm/ |
D | init.c | 200 low = max_low_pfn; in paging_init() 254 max_mapnr = num_mappedpages = num_physpages = max_low_pfn; in mem_init() 261 for (tmp = 0; tmp < max_low_pfn; tmp++) in mem_init()
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | setup.c | 141 max_low_pfn = max_pfn; in setup_arch() 146 max_low_pfn); in setup_arch()
|
/linux-2.4.37.9/include/linux/ |
D | bootmem.h | 17 extern unsigned long max_low_pfn;
|
/linux-2.4.37.9/mm/ |
D | bootmem.c | 27 unsigned long max_low_pfn; variable 306 max_low_pfn = pages; in init_bootmem()
|
/linux-2.4.37.9/arch/arm/mm/ |
D | mm-armo.c | 138 page_nr = max_low_pfn; in memtable_init()
|
/linux-2.4.37.9/arch/ppc/mm/ |
D | init.c | 424 max_low_pfn = (PPC_MEMSTART + total_lowmem) >> PAGE_SHIFT; in do_init_bootmem() 427 max_low_pfn); in do_init_bootmem()
|
/linux-2.4.37.9/arch/ppc64/mm/ |
D | init.c | 559 max_mapnr = max_low_pfn; in mem_init() 560 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/linux-2.4.37.9/arch/mips/sgi-ip27/ |
D | ip27-memory.c | 200 max_low_pfn = (slot_lastpfn - slot_firstpfn); in prom_meminit()
|
/linux-2.4.37.9/arch/cris/mm/ |
D | init.c | 399 max_mapnr = num_physpages = max_low_pfn - min_low_pfn; in mem_init()
|