Home
last modified time | relevance | path

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

12345

/linux/arch/arc/include/asm/
A Dpage.h106 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 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/arch/openrisc/include/asm/
A Dpage.h83 #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 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)))
/linux/arch/alpha/include/asm/
A Dpage.h88 #define virt_addr_valid(kaddr) pfn_valid((__pa(kaddr) >> PAGE_SHIFT))
91 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro
/linux/drivers/xen/
A Dswiotlb-xen.c102 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 Dpage.h98 #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 Dpage.h115 # 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 Dinit.c200 int pfn_valid(unsigned long pfn) in pfn_valid() function
205 EXPORT_SYMBOL(pfn_valid);
/linux/arch/um/include/asm/
A Dpage.h111 #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 Dpage.h122 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 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/arch/xtensa/include/asm/
A Dpage.h192 #define pfn_valid(pfn) \ macro
197 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
/linux/arch/parisc/include/asm/
A Dpage.h157 #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 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)
/linux/arch/mips/include/asm/
A Dpage.h229 static inline int pfn_valid(unsigned long pfn) in pfn_valid() function
244 #define pfn_valid(pfn) \ macro
/linux/arch/ia64/include/asm/
A Dpage.h96 #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 Dpage.h163 #define pfn_valid(pfn) \ macro
171 (unsigned long)(_addr) >= PAGE_OFFSET && pfn_valid(virt_to_pfn(_addr)); \
/linux/arch/x86/include/asm/
A Dpage_32.h19 #define pfn_valid(pfn) ((pfn) < max_mapnr) macro
A Dpage_64.h40 #define pfn_valid(pfn) ((pfn) < max_pfn) macro
/linux/arch/csky/abiv1/
A Dcacheflush.c43 if (!pfn_valid(pfn)) in update_mmu_cache()
/linux/mm/
A Dpage_owner.c455 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 Dmemory.h80 #define pfn_valid(pfn) ((pfn) >= PHYS_PFN_OFFSET && (pfn) < (PHYS_PFN_OFFSET + max_mapnr)) macro
/linux/arch/xtensa/mm/
A Dioremap.c25 WARN_ON(pfn_valid(pfn)); in xtensa_ioremap()

Completed in 27 milliseconds

12345