Searched refs:pfn_valid (Results 1 – 16 of 16) sorted by relevance
78 if (pfn_valid(pfn)) { in xen_dma_unmap_page()89 if (pfn_valid(pfn)) { in xen_dma_sync_single_for_cpu()100 if (pfn_valid(pfn)) { in xen_dma_sync_single_for_device()
91 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr) macro
81 return pfn_valid(pfn_t_to_pfn(pfn)); in pfn_t_valid()
1244 static inline int pfn_valid(unsigned long pfn) in pfn_valid() function1274 #define early_pfn_valid(pfn) pfn_valid(pfn)1305 #define pfn_valid_within(pfn) pfn_valid(pfn)
225 if (pfn_valid(pfn)) \
329 BUG_ON(pfn_valid(PHYS_PFN(phys_addr))); in dma_map_resource()
211 if (WARN_ON_ONCE(!pfn_valid(pfn))) in pages_correctly_probed()555 if (!pfn_valid(pfn)) in store_soft_offline_page()
474 if (pfn_valid(start >> PAGE_SHIFT)) in persistent_ram_buffer_map()536 if (pfn_valid(prz->paddr >> PAGE_SHIFT)) { in persistent_ram_free()
97 return !pfn_valid(pfn); in kvm_is_device_pfn()1655 bool pfn_valid = false; in handle_access_fault() local1668 pfn_valid = true; in handle_access_fault()1678 pfn_valid = true; in handle_access_fault()1681 if (pfn_valid) in handle_access_fault()
329 if (!pfn_valid(pfn)) { in cec_add_elem()
137 if (pfn_valid(PFN_DOWN(paddr))) { in is_xen_swiotlb_buffer()
671 if (!pfn_valid(page_to_pfn(page))) { in dmabuf_imp_to_refs()
191 if (!pfn_valid(pfn)) in kclist_add_private()
426 if (!pfn_valid(pfn)) in mmap_kmem()
844 if (!pfn_valid(page)) in edac_mc_scrub_block()
159 if (!pfn_valid(pfn) || WARN_ON_ONCE(!page_count(pfn_to_page(pfn)))) in kvm_is_zone_device_pfn()172 if (pfn_valid(pfn)) in kvm_is_reserved_pfn()1808 if (pfn_valid(pfn)) { in __kvm_map_gfn()