Searched refs:curr_pfn (Results 1 – 3 of 3) sorted by relevance
96 unsigned long curr_pfn, last_pfn; in calc_max_low_pfn() local100 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_max_low_pfn()102 if (curr_pfn >= tmp) { in calc_max_low_pfn()196 unsigned long curr_pfn, last_pfn; in bootmem_init() local198 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in bootmem_init()199 if (curr_pfn >= max_low_pfn) in bootmem_init()210 if (last_pfn <= curr_pfn) in bootmem_init()213 size = (last_pfn - curr_pfn) << PAGE_SHIFT; in bootmem_init()214 *pages_avail += last_pfn - curr_pfn; in bootmem_init()
153 unsigned long curr_pfn; in setup_memory() local160 curr_pfn = PFN_UP(__pa(memory_start)); in setup_memory()170 pages = last_pfn - curr_pfn; in setup_memory()171 free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(pages)); in setup_memory()
739 unsigned long curr_pfn, last_pfn, size; in setup_bootmem_allocator() local779 curr_pfn = PFN_UP(bfin_memmap.map[i].addr); in setup_bootmem_allocator()780 if (curr_pfn >= end_pfn) in setup_bootmem_allocator()795 if (last_pfn <= curr_pfn) in setup_bootmem_allocator()798 size = last_pfn - curr_pfn; in setup_bootmem_allocator()799 free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(size)); in setup_bootmem_allocator()