Home
last modified time | relevance | path

Searched refs:pfn_valid (Results 1 – 25 of 95) sorted by relevance

1234

/linux-6.3-rc2/include/asm-generic/
A Dmemory_model.h22 #ifndef pfn_valid
23 static inline int pfn_valid(unsigned long pfn) in pfn_valid() function
31 #define pfn_valid pfn_valid macro
/linux-6.3-rc2/arch/arc/include/asm/
A Dpage.h106 extern int pfn_valid(unsigned long pfn);
107 #define pfn_valid pfn_valid macro
126 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
/linux-6.3-rc2/arch/arm/include/asm/
A Dpage.h160 extern int pfn_valid(unsigned long);
161 #define pfn_valid pfn_valid macro
/linux-6.3-rc2/arch/x86/mm/
A Dphysaddr.c65 return pfn_valid(x >> PAGE_SHIFT); in __virt_addr_valid()
96 return pfn_valid((x - PAGE_OFFSET) >> PAGE_SHIFT); in __virt_addr_valid()
/linux-6.3-rc2/drivers/xen/
A Dswiotlb-xen.c101 if (pfn_valid(PFN_DOWN(paddr))) in is_xen_swiotlb_buffer()
237 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dev_addr)))) in xen_swiotlb_map_page()
261 if (pfn_valid(PFN_DOWN(dma_to_phys(hwdev, dev_addr)))) in xen_swiotlb_unmap_page()
279 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_cpu()
299 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_device()
/linux-6.3-rc2/arch/arc/mm/
A Dinit.c200 int pfn_valid(unsigned long pfn) in pfn_valid() function
205 EXPORT_SYMBOL(pfn_valid);
/linux-6.3-rc2/arch/csky/mm/
A Dtcm.c34 if (pfn_valid(PFN_DOWN(CONFIG_ITCM_RAM_BASE)))
55 if (pfn_valid(PFN_DOWN(CONFIG_DTCM_RAM_BASE)))
A Dioremap.c11 if (!pfn_valid(pfn)) { in phys_mem_access_prot()
/linux-6.3-rc2/mm/
A Dpage_table_check.c69 if (!pfn_valid(pfn)) in page_table_check_clear()
105 if (!pfn_valid(pfn)) in page_table_check_set()
A Dhwpoison-inject.c24 if (!pfn_valid(pfn)) in hwpoison_inject()
/linux-6.3-rc2/arch/csky/abiv1/
A Dcacheflush.c43 if (!pfn_valid(pfn)) in update_mmu_cache()
/linux-6.3-rc2/arch/x86/include/asm/
A Dkmsan.h82 return pfn_valid(x >> PAGE_SHIFT); in kmsan_virt_addr_valid()
/linux-6.3-rc2/arch/xtensa/mm/
A Dioremap.c25 WARN_ON(pfn_valid(pfn)); in xtensa_ioremap()
/linux-6.3-rc2/arch/csky/abiv2/
A Dcacheflush.c15 if (!pfn_valid(pte_pfn(*pte))) in update_mmu_cache()
/linux-6.3-rc2/arch/openrisc/include/asm/
A Dpage.h83 #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
/linux-6.3-rc2/arch/nios2/include/asm/
A Dpage.h90 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
/linux-6.3-rc2/virt/kvm/
A Dpfncache.c103 if (pfn_valid(pfn)) in gpc_unmap_khva()
198 } else if (pfn_valid(new_pfn)) { in hva_to_pfn_retry()
/linux-6.3-rc2/arch/alpha/include/asm/
A Dpage.h87 #define virt_addr_valid(kaddr) pfn_valid((__pa(kaddr) >> PAGE_SHIFT))
/linux-6.3-rc2/arch/hexagon/include/asm/
A Dpage.h98 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
/linux-6.3-rc2/arch/mips/mm/
A Dioremap.c31 if (pfn_valid(start_pfn + i) && in __ioremap_check_ram()
A Dmmap.c127 return pfn_valid(PFN_DOWN(virt_to_phys(kaddr))); in __virt_addr_valid()
/linux-6.3-rc2/arch/m68k/include/asm/
A Dpage_mm.h139 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn)) macro
/linux-6.3-rc2/arch/arm/mm/
A Dinit.c125 int pfn_valid(unsigned long pfn) in pfn_valid() function
145 EXPORT_SYMBOL(pfn_valid);
/linux-6.3-rc2/arch/mips/kvm/
A Dmmu.c518 bool pfn_valid = false; in _kvm_mips_map_page_fast() local
534 pfn_valid = true; in _kvm_mips_map_page_fast()
557 if (pfn_valid) in _kvm_mips_map_page_fast()
/linux-6.3-rc2/drivers/media/common/videobuf2/
A Dframe_vector.c118 if (!pfn_valid(nums[i])) in frame_vector_to_pages()

Completed in 34 milliseconds

1234