Home
last modified time | relevance | path

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

/arch/sparc/mm/
Dinit_32.c140 unsigned long curr_pfn, last_pfn; in calc_max_low_pfn() local
144 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_max_low_pfn()
146 if (curr_pfn >= tmp) { in calc_max_low_pfn()
240 unsigned long curr_pfn, last_pfn; in bootmem_init() local
242 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in bootmem_init()
243 if (curr_pfn >= max_low_pfn) in bootmem_init()
254 if (last_pfn <= curr_pfn) in bootmem_init()
257 size = (last_pfn - curr_pfn) << PAGE_SHIFT; in bootmem_init()
258 *pages_avail += last_pfn - curr_pfn; in bootmem_init()
/arch/m32r/kernel/
Dsetup.c150 unsigned long curr_pfn; in setup_memory() local
157 curr_pfn = PFN_UP(__pa(memory_start)); in setup_memory()
167 pages = last_pfn - curr_pfn; in setup_memory()
168 free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(pages)); in setup_memory()
/arch/sh/kernel/
Dsetup.c126 unsigned long curr_pfn, last_pfn, pages; in register_bootmem_low_pages() local
131 curr_pfn = PFN_UP(__MEMORY_START); in register_bootmem_low_pages()
141 pages = last_pfn - curr_pfn; in register_bootmem_low_pages()
142 free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(pages)); in register_bootmem_low_pages()
/arch/blackfin/kernel/
Dsetup.c637 unsigned long curr_pfn, last_pfn, size; in setup_bootmem_allocator() local
678 curr_pfn = PFN_UP(bfin_memmap.map[i].addr); in setup_bootmem_allocator()
679 if (curr_pfn >= end_pfn) in setup_bootmem_allocator()
694 if (last_pfn <= curr_pfn) in setup_bootmem_allocator()
697 size = last_pfn - curr_pfn; in setup_bootmem_allocator()
698 free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(size)); in setup_bootmem_allocator()