/linux-6.3-rc2/include/asm-generic/ |
A D | memory_model.h | 22 #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 D | page.h | 106 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 D | page.h | 160 extern int pfn_valid(unsigned long); 161 #define pfn_valid pfn_valid macro
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | physaddr.c | 65 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 D | swiotlb-xen.c | 101 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 D | init.c | 200 int pfn_valid(unsigned long pfn) in pfn_valid() function 205 EXPORT_SYMBOL(pfn_valid);
|
/linux-6.3-rc2/arch/csky/mm/ |
A D | tcm.c | 34 if (pfn_valid(PFN_DOWN(CONFIG_ITCM_RAM_BASE))) 55 if (pfn_valid(PFN_DOWN(CONFIG_DTCM_RAM_BASE)))
|
A D | ioremap.c | 11 if (!pfn_valid(pfn)) { in phys_mem_access_prot()
|
/linux-6.3-rc2/mm/ |
A D | page_table_check.c | 69 if (!pfn_valid(pfn)) in page_table_check_clear() 105 if (!pfn_valid(pfn)) in page_table_check_set()
|
A D | hwpoison-inject.c | 24 if (!pfn_valid(pfn)) in hwpoison_inject()
|
/linux-6.3-rc2/arch/csky/abiv1/ |
A D | cacheflush.c | 43 if (!pfn_valid(pfn)) in update_mmu_cache()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | kmsan.h | 82 return pfn_valid(x >> PAGE_SHIFT); in kmsan_virt_addr_valid()
|
/linux-6.3-rc2/arch/xtensa/mm/ |
A D | ioremap.c | 25 WARN_ON(pfn_valid(pfn)); in xtensa_ioremap()
|
/linux-6.3-rc2/arch/csky/abiv2/ |
A D | cacheflush.c | 15 if (!pfn_valid(pte_pfn(*pte))) in update_mmu_cache()
|
/linux-6.3-rc2/arch/openrisc/include/asm/ |
A D | page.h | 83 #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
|
/linux-6.3-rc2/arch/nios2/include/asm/ |
A D | page.h | 90 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
|
/linux-6.3-rc2/virt/kvm/ |
A D | pfncache.c | 103 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 D | page.h | 87 #define virt_addr_valid(kaddr) pfn_valid((__pa(kaddr) >> PAGE_SHIFT))
|
/linux-6.3-rc2/arch/hexagon/include/asm/ |
A D | page.h | 98 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
/linux-6.3-rc2/arch/mips/mm/ |
A D | ioremap.c | 31 if (pfn_valid(start_pfn + i) && in __ioremap_check_ram()
|
A D | mmap.c | 127 return pfn_valid(PFN_DOWN(virt_to_phys(kaddr))); in __virt_addr_valid()
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | page_mm.h | 139 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn)) macro
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | init.c | 125 int pfn_valid(unsigned long pfn) in pfn_valid() function 145 EXPORT_SYMBOL(pfn_valid);
|
/linux-6.3-rc2/arch/mips/kvm/ |
A D | mmu.c | 518 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 D | frame_vector.c | 118 if (!pfn_valid(nums[i])) in frame_vector_to_pages()
|