/linux/arch/arc/include/asm/ |
A D | page.h | 106 extern int pfn_valid(unsigned long pfn); 107 #define pfn_valid pfn_valid macro 112 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr) macro 127 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
|
/linux/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/arch/openrisc/include/asm/ |
A D | page.h | 83 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro 85 #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
|
/linux/arch/nios2/include/asm/ |
A 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)))
|
/linux/arch/alpha/include/asm/ |
A D | page.h | 88 #define virt_addr_valid(kaddr) pfn_valid((__pa(kaddr) >> PAGE_SHIFT)) 91 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro
|
/linux/drivers/xen/ |
A D | swiotlb-xen.c | 102 if (pfn_valid(PFN_DOWN(paddr))) in is_xen_swiotlb_buffer() 401 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dev_addr)))) in xen_swiotlb_map_page() 425 if (pfn_valid(PFN_DOWN(dma_to_phys(hwdev, dev_addr)))) in xen_swiotlb_unmap_page() 443 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_cpu() 463 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_device()
|
/linux/arch/hexagon/include/asm/ |
A D | page.h | 98 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro 99 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
/linux/arch/microblaze/include/asm/ |
A D | page.h | 115 # define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && (pfn) < (max_mapnr + ARCH_PFN_OFFSET)) macro 118 #define virt_addr_valid(vaddr) (pfn_valid(virt_to_pfn(vaddr)))
|
/linux/arch/arc/mm/ |
A D | init.c | 200 int pfn_valid(unsigned long pfn) in pfn_valid() function 205 EXPORT_SYMBOL(pfn_valid);
|
/linux/arch/um/include/asm/ |
A 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)))
|
/linux/arch/powerpc/include/asm/ |
A D | page.h | 122 static inline bool pfn_valid(unsigned long pfn) in pfn_valid() function 135 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
|
/linux/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/arch/xtensa/include/asm/ |
A D | page.h | 192 #define pfn_valid(pfn) \ macro 197 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
/linux/arch/parisc/include/asm/ |
A D | page.h | 157 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro 178 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
/linux/arch/sh/include/asm/ |
A 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)
|
/linux/arch/mips/include/asm/ |
A D | page.h | 229 static inline int pfn_valid(unsigned long pfn) in pfn_valid() function 244 #define pfn_valid(pfn) \ macro
|
/linux/arch/ia64/include/asm/ |
A D | page.h | 96 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) 101 # define pfn_valid(pfn) ((pfn) < max_mapnr) macro
|
/linux/arch/riscv/include/asm/ |
A D | page.h | 163 #define pfn_valid(pfn) \ macro 171 (unsigned long)(_addr) >= PAGE_OFFSET && pfn_valid(virt_to_pfn(_addr)); \
|
/linux/arch/x86/include/asm/ |
A D | page_32.h | 19 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro
|
A D | page_64.h | 40 #define pfn_valid(pfn) ((pfn) < max_pfn) macro
|
/linux/arch/csky/abiv1/ |
A D | cacheflush.c | 43 if (!pfn_valid(pfn)) in update_mmu_cache()
|
/linux/mm/ |
A D | page_owner.c | 455 while (!pfn_valid(pfn) && (pfn & (MAX_ORDER_NR_PAGES - 1)) != 0) in read_page_owner() 466 if ((pfn & (MAX_ORDER_NR_PAGES - 1)) == 0 && !pfn_valid(pfn)) { in read_page_owner() 539 if (!pfn_valid(pfn)) { in init_pages_in_zone()
|
/linux/arch/nds32/include/asm/ |
A D | memory.h | 80 #define pfn_valid(pfn) ((pfn) >= PHYS_PFN_OFFSET && (pfn) < (PHYS_PFN_OFFSET + max_mapnr)) macro
|
/linux/arch/xtensa/mm/ |
A D | ioremap.c | 25 WARN_ON(pfn_valid(pfn)); in xtensa_ioremap()
|