Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/arch/x86/mm/
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()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dpage.h160 # 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/
Dpage.h83 #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/
Dpage.h89 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/
Dioremap.c47 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/
Dpage.h89 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro
90 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
Dmmzone.h102 #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/
Dpage.h96 #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/
Dpage.h101 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr) macro
115 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
Dmmzone.h32 static inline int pfn_valid(unsigned long pfn) in pfn_valid() function
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dpage.h98 #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/
Dswiotlb-xen.c114 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/
Dpage.h111 #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/
Dpage.h122 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/
Dtcm.c34 if (pfn_valid(PFN_DOWN(CONFIG_ITCM_RAM_BASE)))
55 if (pfn_valid(PFN_DOWN(CONFIG_DTCM_RAM_BASE)))
Dioremap.c11 if (!pfn_valid(pfn)) { in phys_mem_access_prot()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dpage.h157 #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/
Dpage.h192 #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/
Dpage.h223 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/
Dpage.h173 #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/
Dpage.h154 #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/
Dpage_32.h19 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro
Dpage_64.h40 #define pfn_valid(pfn) ((pfn) < max_pfn) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpage.h40 extern int pfn_valid(unsigned long);
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dcache.c94 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()

12345