Lines Matching refs:pfn
108 unsigned long pfn, nr_pfns, nr_align; in altmap_alloc_block_buf() local
116 pfn = vmem_altmap_next_pfn(altmap); in altmap_alloc_block_buf()
119 nr_align = ALIGN(pfn, nr_align) - pfn; in altmap_alloc_block_buf()
125 pfn += nr_align; in altmap_alloc_block_buf()
128 __func__, pfn, altmap->alloc, altmap->align, nr_pfns); in altmap_alloc_block_buf()
129 return __va(__pfn_to_phys(pfn)); in altmap_alloc_block_buf()
135 unsigned long pfn = pte_pfn(*pte); in vmemmap_verify() local
136 int actual_node = early_pfn_to_nid(pfn); in vmemmap_verify()
251 struct page * __meminit __populate_section_memmap(unsigned long pfn, in __populate_section_memmap() argument
254 unsigned long start = (unsigned long) pfn_to_page(pfn); in __populate_section_memmap()
257 if (WARN_ON_ONCE(!IS_ALIGNED(pfn, PAGES_PER_SUBSECTION) || in __populate_section_memmap()
264 return pfn_to_page(pfn); in __populate_section_memmap()