/kernel/linux/linux-5.10/arch/x86/mm/ |
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()
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | page.h | 160 # define pfn_valid(pfn) (((pfn) >= min_low_pfn) && \ macro 165 # define pfn_valid(pfn) ((pfn) < (max_mapnr + ARCH_PFN_OFFSET)) macro 170 #define virt_addr_valid(vaddr) (pfn_valid(virt_to_pfn(vaddr)))
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | page.h | 83 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro 85 #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | page.h | 89 static inline bool pfn_valid(unsigned long pfn) in pfn_valid() function 99 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | ioremap.c | 47 if (WARN_ON(pfn_valid(__phys_to_pfn(phys_addr)))) in __ioremap_caller() 88 if (pfn_valid(__phys_to_pfn(phys_addr))) in ioremap_cache()
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | page.h | 89 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro 90 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
D | mmzone.h | 102 #define pfn_valid(pfn) \ macro 106 #define virt_addr_valid(kaddr) pfn_valid((__pa(kaddr) >> PAGE_SHIFT))
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | page.h | 96 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) 118 # define pfn_valid(pfn) (((pfn) < max_mapnr) && ia64_pfn_valid(pfn)) macro 122 # define pfn_valid(pfn) (((pfn) >= min_low_pfn) && ((pfn) < max_low_pfn) && ia64_pfn_valid(pfn)) macro
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | page.h | 101 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr) macro 115 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
|
D | mmzone.h | 32 static inline int pfn_valid(unsigned long pfn) in pfn_valid() function
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | page.h | 98 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro 99 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | swiotlb-xen.c | 114 if (pfn_valid(PFN_DOWN(paddr))) { in is_xen_swiotlb_buffer() 416 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dev_addr)))) in xen_swiotlb_map_page() 440 if (pfn_valid(PFN_DOWN(dma_to_phys(hwdev, dev_addr)))) in xen_swiotlb_unmap_page() 458 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_cpu() 478 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_device()
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
D | page.h | 111 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro 112 #define virt_addr_valid(v) pfn_valid(phys_to_pfn(__pa(v)))
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | page.h | 122 static inline bool pfn_valid(unsigned long pfn) in pfn_valid() function 138 pfn_valid(virt_to_pfn(_addr)); \
|
/kernel/linux/linux-5.10/arch/csky/mm/ |
D | tcm.c | 34 if (pfn_valid(PFN_DOWN(CONFIG_ITCM_RAM_BASE))) 55 if (pfn_valid(PFN_DOWN(CONFIG_DTCM_RAM_BASE)))
|
D | ioremap.c | 11 if (!pfn_valid(pfn)) { in phys_mem_access_prot()
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | page.h | 157 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro 178 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | page.h | 192 #define pfn_valid(pfn) \ macro 201 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | page.h | 223 static inline int pfn_valid(unsigned long pfn) in pfn_valid() function 238 #define pfn_valid(pfn) \ macro
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | page.h | 173 #define pfn_valid(pfn) ((pfn) >= min_low_pfn && (pfn) < max_low_pfn) macro 175 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | page.h | 154 #define pfn_valid(pfn) \ macro 162 (unsigned long)(_addr) >= PAGE_OFFSET && pfn_valid(virt_to_pfn(_addr)); \
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | page_32.h | 19 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro
|
D | page_64.h | 40 #define pfn_valid(pfn) ((pfn) < max_pfn) macro
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | page.h | 40 extern int pfn_valid(unsigned long);
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | cache.c | 94 if (!pfn_valid(pfn)) in __update_cache() 584 if (!pfn_valid(pfn)) in flush_cache_mm() 625 if (pfn_valid(pfn)) { in flush_cache_range() 639 if (pfn_valid(pfn)) { in flush_cache_page()
|