/linux-2.4.37.9/arch/x86_64/mm/ |
D | numa.c | 33 unsigned long start_pfn, end_pfn, bootmap_pages, bootmap_size, bootmap_start; in setup_node_bootmem() local 42 end_pfn = end >> PAGE_SHIFT; in setup_node_bootmem() 55 bootmap_pages = bootmem_bootmap_pages(end_pfn - start_pfn); in setup_node_bootmem() 64 start_pfn, end_pfn); in setup_node_bootmem() 72 PLAT_NODE_DATA(nodeid)->end_pfn = end_pfn; in setup_node_bootmem() 82 unsigned long start_pfn, end_pfn; in setup_node_zones() local 90 end_pfn = PLAT_NODE_DATA(nodeid)->end_pfn; in setup_node_zones() 92 printk("setting up node %d %lx-%lx\n", nodeid, start_pfn, end_pfn); in setup_node_zones() 98 zones[ZONE_NORMAL] = end_pfn - dma_end_pfn; in setup_node_zones() 100 zones[ZONE_NORMAL] = end_pfn - start_pfn; in setup_node_zones() [all …]
|
D | init.c | 332 if (end_pfn < max_dma) in paging_init() 333 zones_size[ZONE_DMA] = end_pfn; in paging_init() 336 zones_size[ZONE_NORMAL] = end_pfn - max_dma; in paging_init() 369 max_mapnr = end_pfn; in mem_init() 370 num_physpages = end_pfn; /* XXX not true because of holes */ in mem_init() 371 high_memory = (void *) __va(end_pfn << PAGE_SHIFT); in mem_init() 388 for (tmp = 0; tmp < end_pfn; tmp++) in mem_init()
|
D | k8topology.c | 89 extern unsigned long end_pfn; 138 if (limit > end_pfn << PAGE_SHIFT) in k8_scan_nodes() 139 limit = end_pfn << PAGE_SHIFT; in k8_scan_nodes()
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | pci-nommu.c | 10 extern unsigned long end_pfn; 19 end_pfn > (hwdev->dma_mask>>PAGE_SHIFT) || /* XXX */ in pci_alloc_consistent() 40 if (end_pfn >= 0xffffffff>>PAGE_SHIFT) { in check_ram()
|
D | e820.c | 152 end_pfn = 0; in e820_end_of_ram() 163 if (end > end_pfn<<PAGE_SHIFT) in e820_end_of_ram() 164 end_pfn = end>>PAGE_SHIFT; in e820_end_of_ram() 171 if (end_pfn > end_pfn_map) in e820_end_of_ram() 172 end_pfn_map = end_pfn; in e820_end_of_ram() 175 if (end_pfn > end_user_pfn) in e820_end_of_ram() 176 end_pfn = end_user_pfn; in e820_end_of_ram() 177 if (end_pfn > end_pfn_map) in e820_end_of_ram() 178 end_pfn = end_pfn_map; in e820_end_of_ram()
|
D | setup.c | 184 unsigned long start_pfn, end_pfn; variable 191 bootmap_size = bootmem_bootmap_pages(end_pfn)<<PAGE_SHIFT; in contig_initmem_init() 192 bootmap = find_e820_area(0, end_pfn<<PAGE_SHIFT, bootmap_size); in contig_initmem_init() 195 bootmap_size = init_bootmem(bootmap >> PAGE_SHIFT, end_pfn); in contig_initmem_init() 196 e820_bootmem_free(&contig_page_data, 0, end_pfn << PAGE_SHIFT); in contig_initmem_init() 240 if (INITRD_START + INITRD_SIZE <= (end_pfn << PAGE_SHIFT)) { in setup_arch() 249 (unsigned long)(end_pfn << PAGE_SHIFT)); in setup_arch() 256 numa_initmem_init(0, end_pfn); in setup_arch() 349 if (!iommu_aperture && end_pfn >= 0xffffffff>>PAGE_SHIFT) { in setup_arch() 363 num_mappedpages = end_pfn; in setup_arch()
|
D | pci-gart.c | 516 if (end_pfn >= 0xffffffff>>PAGE_SHIFT) in init_k8_gatt() 542 if (no_iommu || (!force_mmu && end_pfn < 0xffffffff>>PAGE_SHIFT) || !iommu_aperture) { in pci_iommu_init() 552 if (force_mmu || end_pfn >= 0xffffffff>>PAGE_SHIFT) in pci_iommu_init()
|
D | aperture.c | 230 } else if ((!no_iommu && end_pfn >= 0xffffffff>>PAGE_SHIFT) || in iommu_hole_init()
|
D | acpi.c | 75 extern unsigned long end_pfn;
|
/linux-2.4.37.9/arch/sparc/mm/ |
D | init.c | 127 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages() local 129 if (end_pfn <= max_low_pfn) in calc_highpages() 135 nr += end_pfn - start_pfn; in calc_highpages() 392 void map_high_region(unsigned long start_pfn, unsigned long end_pfn) in map_high_region() argument 397 printk("mapping high region %08lx - %08lx\n", start_pfn, end_pfn); in map_high_region() 400 for (tmp = start_pfn; tmp < end_pfn; tmp++) { in map_high_region() 446 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in mem_init() local 448 if (end_pfn <= highstart_pfn) in mem_init() 454 map_high_region(start_pfn, end_pfn); in mem_init()
|
D | sun4c.c | 1982 unsigned long end_pfn, pages_avail; in sun4c_paging_init() local 1993 end_pfn = last_valid_pfn; in sun4c_paging_init()
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | proto.h | 35 extern int numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); 43 extern unsigned long start_pfn, end_pfn, end_pfn_map;
|
D | mmzone.h | 12 unsigned long start_pfn, end_pfn; member 115 VIRTUAL_BUG_ON(pfn >= plat_pgdat->end_pfn); in paddr_to_local_pfn()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | setup.c | 304 unsigned long start_pfn, end_pfn; in setup_arch() local 390 end_pfn = memory_end >> PAGE_SHIFT; in setup_arch() 395 bootmap_size = init_bootmem(start_pfn, end_pfn); in setup_arch() 411 if (end_chunk > end_pfn) in setup_arch() 412 end_chunk = end_pfn; in setup_arch()
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | setup.c | 416 unsigned long start_pfn, end_pfn, max_pfn=0; in setup_arch() local 529 end_pfn = memory_end >> PAGE_SHIFT; in setup_arch() 534 bootmap_size = init_bootmem(start_pfn, end_pfn); in setup_arch() 550 if (end_chunk > end_pfn) in setup_arch() 551 end_chunk = end_pfn; in setup_arch()
|
/linux-2.4.37.9/arch/parisc/mm/ |
D | init.c | 251 unsigned long end_pfn; in setup_bootmem() local 255 end_pfn = pmem_ranges[0].start_pfn + pmem_ranges[0].pages; in setup_bootmem() 258 hole_pages = pmem_ranges[i].start_pfn - end_pfn; in setup_bootmem() 260 pmem_holes[npmem_holes].start_pfn = end_pfn; in setup_bootmem() 262 end_pfn += hole_pages; in setup_bootmem() 264 end_pfn += pmem_ranges[i].pages; in setup_bootmem() 267 pmem_ranges[0].pages = end_pfn - pmem_ranges[0].start_pfn; in setup_bootmem()
|
/linux-2.4.37.9/arch/alpha/mm/ |
D | numa.c | 305 unsigned long end_pfn = plat_node_bdata[nid].node_low_pfn; in paging_init() local 308 if (dma_local_pfn >= end_pfn - start_pfn) in paging_init() 309 zones_size[ZONE_DMA] = end_pfn - start_pfn; in paging_init() 312 zones_size[ZONE_NORMAL] = (end_pfn - start_pfn) - dma_local_pfn; in paging_init()
|
/linux-2.4.37.9/arch/sparc64/mm/ |
D | init.c | 1208 unsigned long bootmap_size, start_pfn, end_pfn; in bootmem_init() local 1251 end_pfn = end_of_phys_memory >> PAGE_SHIFT; in bootmem_init() 1276 max_pfn = max_low_pfn = end_pfn; in bootmem_init() 1283 bootmap_size = init_bootmem_node(NODE_DATA(0), bootmap_pfn, min_low_pfn, end_pfn); in bootmem_init() 1336 return end_pfn; in bootmem_init() 1353 unsigned long pt, flags, end_pfn, pages_avail; in paging_init() local 1451 last_valid_pfn = end_pfn = bootmem_init(&pages_avail); in paging_init() 1493 npages = end_pfn - (phys_base >> PAGE_SHIFT); in paging_init()
|
/linux-2.4.37.9/arch/mips/sgi-ip27/ |
D | ip27-memory.c | 257 pfn_t end_pfn = node_getmaxclick(node); in paging_init() local 259 zones_size[ZONE_DMA] = end_pfn + 1 - start_pfn; in paging_init()
|