Home
last modified time | relevance | path

Searched refs:start_pfn (Results 1 – 23 of 23) sorted by relevance

/linux-2.4.37.9/arch/x86_64/mm/
Dnuma.c33 unsigned long start_pfn, end_pfn, bootmap_pages, bootmap_size, bootmap_start; in setup_node_bootmem() local
41 start_pfn = start >> 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()
71 PLAT_NODE_DATA(nodeid)->start_pfn = start_pfn; in setup_node_bootmem()
82 unsigned long start_pfn, end_pfn; in setup_node_zones() local
89 start_pfn = PLAT_NODE_DATA(nodeid)->start_pfn; in setup_node_zones()
92 printk("setting up node %d %lx-%lx\n", nodeid, start_pfn, end_pfn); in setup_node_zones()
96 if (start_pfn < dma_end_pfn) { in setup_node_zones()
97 zones[ZONE_DMA] = dma_end_pfn - start_pfn; in setup_node_zones()
[all …]
/linux-2.4.37.9/arch/sparc/mm/
Dinit.c126 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_highpages() local
132 if (start_pfn < max_low_pfn) in calc_highpages()
133 start_pfn = max_low_pfn; in calc_highpages()
135 nr += end_pfn - start_pfn; in calc_highpages()
165 unsigned long bootmap_size, start_pfn, max_pfn; in bootmem_init() local
200 start_pfn = (unsigned long)__pa(PAGE_ALIGN((unsigned long) &_end)); in bootmem_init()
203 start_pfn += phys_base; in bootmem_init()
206 start_pfn >>= PAGE_SHIFT; in bootmem_init()
208 bootmap_pfn = start_pfn; in bootmem_init()
235 if (initrd_start >= (start_pfn << PAGE_SHIFT) && in bootmem_init()
[all …]
/linux-2.4.37.9/arch/parisc/mm/
Dinit.c148 if (pmem_ranges[j-1].start_pfn < in setup_bootmem()
149 pmem_ranges[j].start_pfn) { in setup_bootmem()
153 tmp = pmem_ranges[j-1].start_pfn; in setup_bootmem()
154 pmem_ranges[j-1].start_pfn = pmem_ranges[j].start_pfn; in setup_bootmem()
155 pmem_ranges[j].start_pfn = tmp; in setup_bootmem()
170 if (pmem_ranges[i].start_pfn - in setup_bootmem()
171 (pmem_ranges[i-1].start_pfn + in setup_bootmem()
190 start = (pmem_ranges[i].start_pfn << PAGE_SHIFT); in setup_bootmem()
207 res->start = pmem_ranges[i].start_pfn << PAGE_SHIFT; in setup_bootmem()
255 end_pfn = pmem_ranges[0].start_pfn + pmem_ranges[0].pages; in setup_bootmem()
[all …]
/linux-2.4.37.9/arch/alpha/mm/
Dnuma.c52 i, cluster->usage, cluster->start_pfn, in show_mem_layout()
53 cluster->start_pfn + cluster->numpages); in show_mem_layout()
90 start = cluster->start_pfn; in setup_memory_node()
101 i, cluster->usage, cluster->start_pfn, in setup_memory_node()
102 cluster->start_pfn + cluster->numpages); in setup_memory_node()
173 start = cluster->start_pfn; in setup_memory_node()
213 start = cluster->start_pfn; in setup_memory_node()
214 end = cluster->start_pfn + cluster->numpages; in setup_memory_node()
304 unsigned long start_pfn = plat_node_bdata[nid].node_boot_start >> PAGE_SHIFT; in paging_init() local
308 if (dma_local_pfn >= end_pfn - start_pfn) in paging_init()
[all …]
/linux-2.4.37.9/arch/cris/kernel/
Dsetup.c78 unsigned long start_pfn, max_pfn; in setup_arch() local
122 start_pfn = PFN_UP(memory_start); /* usually c0000000 + kernel + romfs */ in setup_arch()
144 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_arch()
150 free_bootmem(PFN_PHYS(start_pfn), PFN_PHYS(max_pfn - start_pfn)); in setup_arch()
161 reserve_bootmem(PFN_PHYS(start_pfn), bootmap_size); in setup_arch()
/linux-2.4.37.9/arch/mips64/kernel/
Dsetup.c247 unsigned long start_pfn, max_pfn; in bootmem_init() local
259 start_pfn = PFN_UP(CPHYSADDR((&_end)+(initrd_end - initrd_start) + PAGE_SIZE)); in bootmem_init()
265 start_pfn = PFN_UP(CPHYSADDR(&_end)); in bootmem_init()
288 bootmap_size = init_bootmem(start_pfn, max_pfn); in bootmem_init()
308 if (curr_pfn < start_pfn) in bootmem_init()
309 curr_pfn = start_pfn; in bootmem_init()
332 reserve_bootmem(PFN_PHYS(start_pfn), bootmap_size); in bootmem_init()
/linux-2.4.37.9/arch/s390/kernel/
Dsetup.c134 static void pfix_all_pages(unsigned long start_pfn, unsigned long max_pfn) in pfix_all_pages() argument
139 size = ((max_pfn - start_pfn) >> PAGE_SHIFT) * sizeof(long); in pfix_all_pages()
416 unsigned long start_pfn, end_pfn, max_pfn=0; in setup_arch() local
528 start_pfn = (__pa(&_end) + PAGE_SIZE - 1) >> PAGE_SHIFT; in setup_arch()
534 bootmap_size = init_bootmem(start_pfn, end_pfn); in setup_arch()
548 if (start_chunk < start_pfn) in setup_arch()
549 start_chunk = start_pfn; in setup_arch()
565 reserve_bootmem(start_pfn << PAGE_SHIFT, bootmap_size); in setup_arch()
617 pfix_all_pages(start_pfn, max_pfn); in setup_arch()
/linux-2.4.37.9/arch/mips/kernel/
Dsetup.c250 unsigned long start_pfn, max_pfn, max_low_pfn, first_usable_pfn; in bootmem_init() local
262 start_pfn = PFN_UP(__pa((&_end)+(initrd_end - initrd_start) + PAGE_SIZE)); in bootmem_init()
268 start_pfn = PFN_UP(__pa(&_end)); in bootmem_init()
289 if (start > start_pfn) { in bootmem_init()
291 } else if (end > start_pfn) { in bootmem_init()
292 first_usable_pfn = start_pfn; in bootmem_init()
345 if (curr_pfn < start_pfn) in bootmem_init()
346 curr_pfn = start_pfn; in bootmem_init()
/linux-2.4.37.9/include/asm-x86_64/
Dmmzone.h12 unsigned long start_pfn, end_pfn; member
116 VIRTUAL_BUG_ON(pfn < plat_pgdat->start_pfn); in paddr_to_local_pfn()
118 return pfn - plat_pgdat->start_pfn; in paddr_to_local_pfn()
136 (page - nd->gendata.node_mem_map) + nd->start_pfn; \
Dproto.h35 extern int numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
43 extern unsigned long start_pfn, end_pfn, end_pfn_map;
/linux-2.4.37.9/arch/sh/mm/
Dinit.c118 unsigned long max_dma, low, start_pfn; in paging_init() local
120 start_pfn = START_PFN; in paging_init()
125 zones_size[ZONE_DMA] = low - start_pfn; in paging_init()
127 zones_size[ZONE_DMA] = max_dma - start_pfn; in paging_init()
/linux-2.4.37.9/arch/s390x/kernel/
Dsetup.c304 unsigned long start_pfn, end_pfn; in setup_arch() local
389 start_pfn = (__pa(&_end) + PAGE_SIZE - 1) >> PAGE_SHIFT; in setup_arch()
395 bootmap_size = init_bootmem(start_pfn, end_pfn); in setup_arch()
409 if (start_chunk < start_pfn) in setup_arch()
410 start_chunk = start_pfn; in setup_arch()
424 reserve_bootmem(start_pfn << PAGE_SHIFT, bootmap_size); in setup_arch()
/linux-2.4.37.9/arch/sh64/kernel/
Dsetup.c148 unsigned long first_pfn, start_pfn, last_pfn, pages; in setup_arch() local
197 start_pfn = PFN_UP(__pa(&_end)); in setup_arch()
203 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_arch()
220 (PFN_PHYS(start_pfn) + bootmap_size + PAGE_SIZE) - PFN_PHYS(first_pfn)); in setup_arch()
/linux-2.4.37.9/arch/arm/mm/
Dinit.c181 unsigned int start_pfn, bank, bootmap_pfn; in find_bootmap_pfn() local
183 start_pfn = V_PFN_UP(&_end); in find_bootmap_pfn()
196 if (end < start_pfn) in find_bootmap_pfn()
199 if (start < start_pfn) in find_bootmap_pfn()
200 start = start_pfn; in find_bootmap_pfn()
/linux-2.4.37.9/arch/alpha/kernel/
Dsetup.c294 i, cluster->usage, cluster->start_pfn, in setup_memory()
295 cluster->start_pfn + cluster->numpages); in setup_memory()
303 end = cluster->start_pfn + cluster->numpages; in setup_memory()
352 start = cluster->start_pfn; in setup_memory()
386 start = cluster->start_pfn; in setup_memory()
387 end = cluster->start_pfn + cluster->numpages; in setup_memory()
450 if (pfn >= cluster->start_pfn && in page_is_ram()
451 pfn < cluster->start_pfn + cluster->numpages) { in page_is_ram()
/linux-2.4.37.9/arch/mips/sgi-ip27/
Dip27-memory.c256 pfn_t start_pfn = slot_getbasepfn(node, 0); in paging_init() local
259 zones_size[ZONE_DMA] = end_pfn + 1 - start_pfn; in paging_init()
261 start_pfn << PAGE_SHIFT, 0); in paging_init()
/linux-2.4.37.9/arch/sh/kernel/
Dsetup.c278 unsigned long start_pfn, max_pfn, max_low_pfn; in setup_arch() local
390 start_pfn = PFN_UP(__pa(&_end)); in setup_arch()
396 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_arch()
431 (PFN_PHYS(start_pfn)+bootmap_size+PAGE_SIZE-1)-__MEMORY_START); in setup_arch()
/linux-2.4.37.9/include/asm-parisc/
Dpage.h74 unsigned long start_pfn; member
/linux-2.4.37.9/arch/parisc/kernel/
Dinventory.c126 pmem_ptr->start_pfn = (start >> PAGE_SHIFT); in set_pmem_entry()
581 if (npmem_ranges == 0 || pmem_ranges[0].start_pfn != 0) { in do_memory_inventory()
/linux-2.4.37.9/include/asm-alpha/
Dhwrpb.h141 unsigned long start_pfn; member
/linux-2.4.37.9/arch/sparc64/mm/
Dinit.c1208 unsigned long bootmap_size, start_pfn, end_pfn; in bootmem_init() local
1247 start_pfn = PAGE_ALIGN(kern_base + kern_size) >> PAGE_SHIFT; in bootmem_init()
1249 bootmap_pfn = start_pfn; in bootmem_init()
1269 if (initrd_start >= (start_pfn << PAGE_SHIFT) && in bootmem_init()
1270 initrd_start < (start_pfn << PAGE_SHIFT) + 2 * PAGE_SIZE) in bootmem_init()
/linux-2.4.37.9/arch/i386/kernel/
Dsetup.c1047 unsigned long bootmap_size, start_pfn, max_low_pfn; in setup_memory() local
1053 start_pfn = PFN_UP(__pa(&_end)); in setup_memory()
1072 bootmap_size = init_bootmem(start_pfn, max_low_pfn); in setup_memory()
1082 reserve_bootmem(HIGH_MEMORY, (PFN_PHYS(start_pfn) + in setup_memory()
/linux-2.4.37.9/arch/x86_64/kernel/
Dsetup.c184 unsigned long start_pfn, end_pfn; variable