Lines Matching refs:start_pfn
65 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_highpages() local
71 if (start_pfn < max_low_pfn) in calc_highpages()
72 start_pfn = max_low_pfn; in calc_highpages()
74 nr += end_pfn - start_pfn; in calc_highpages()
134 unsigned long start_pfn, bytes_avail, size; in bootmem_init() local
172 start_pfn = (unsigned long)__pa(PAGE_ALIGN((unsigned long) &_end)); in bootmem_init()
175 start_pfn >>= PAGE_SHIFT; in bootmem_init()
193 size = (start_pfn << PAGE_SHIFT) - phys_base; in bootmem_init()
236 static void map_high_region(unsigned long start_pfn, unsigned long end_pfn) in map_high_region() argument
241 printk("mapping high region %08lx - %08lx\n", start_pfn, end_pfn); in map_high_region()
244 for (tmp = start_pfn; tmp < end_pfn; tmp++) in map_high_region()
284 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in mem_init() local
290 if (start_pfn < highstart_pfn) in mem_init()
291 start_pfn = highstart_pfn; in mem_init()
293 map_high_region(start_pfn, end_pfn); in mem_init()