Home
last modified time | relevance | path

Searched refs:curr_pfn (Results 1 – 3 of 3) sorted by relevance

/arch/sparc/mm/
Dinit_32.c96 unsigned long curr_pfn, last_pfn; in calc_max_low_pfn() local
100 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() local
198 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()
/arch/m32r/kernel/
Dsetup.c153 unsigned long curr_pfn; in setup_memory() local
160 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()
/arch/blackfin/kernel/
Dsetup.c739 unsigned long curr_pfn, last_pfn, size; in setup_bootmem_allocator() local
779 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()