Lines Matching refs:pfn
62 static int (*mem_pfn_is_ram)(unsigned long pfn);
64 int __init register_mem_pfn_is_ram(int (*fn)(unsigned long pfn)) in register_mem_pfn_is_ram() argument
72 static int pfn_is_ram(unsigned long pfn) in pfn_is_ram() argument
75 return mem_pfn_is_ram(pfn); in pfn_is_ram()
147 unsigned long pfn = __pa(ent->addr) >> PAGE_SHIFT; in get_sparsemem_vmemmap_info() local
153 start = ((unsigned long)pfn_to_page(pfn)) & PAGE_MASK; in get_sparsemem_vmemmap_info()
154 end = ((unsigned long)pfn_to_page(pfn + nr_pages)) - 1; in get_sparsemem_vmemmap_info()
186 kclist_add_private(unsigned long pfn, unsigned long nr_pages, void *arg) in kclist_add_private() argument
192 if (!pfn_valid(pfn)) in kclist_add_private()
195 p = pfn_to_page(pfn); in kclist_add_private()
196 if (!memmap_valid_within(pfn, p, page_zone(p))) in kclist_add_private()