Lines Matching refs:start_pfn
126 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()
236 initrd_start < (start_pfn << PAGE_SHIFT) + 2 * PAGE_SIZE) in bootmem_init()
244 start_pfn, bootmap_pfn, max_low_pfn); in bootmem_init()
297 size = (start_pfn << PAGE_SHIFT) - phys_base; in bootmem_init()
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()
445 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in mem_init() local
451 if (start_pfn < highstart_pfn) in mem_init()
452 start_pfn = highstart_pfn; in mem_init()
454 map_high_region(start_pfn, end_pfn); in mem_init()