Home
last modified time | relevance | path

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

1234

/linux-6.12.1/include/asm-generic/ !
Dmemory_model.h22 #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.12.1/arch/arc/include/asm/ !
Dpage.h97 extern int pfn_valid(unsigned long pfn);
98 #define pfn_valid pfn_valid macro
129 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
/linux-6.12.1/arch/arm/include/asm/ !
Dpage.h182 extern int pfn_valid(unsigned long);
183 #define pfn_valid pfn_valid macro
/linux-6.12.1/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()
/linux-6.12.1/drivers/xen/ !
Dswiotlb-xen.c108 if (pfn_valid(PFN_DOWN(paddr))) in xen_swiotlb_find_pool()
245 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dev_addr)))) in xen_swiotlb_map_page()
270 if (pfn_valid(PFN_DOWN(dma_to_phys(hwdev, dev_addr)))) in xen_swiotlb_unmap_page()
291 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_cpu()
314 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_device()
/linux-6.12.1/scripts/gdb/linux/ !
Dpage_owner.py102 if pfn < self.min_pfn or pfn > self.max_pfn or (not self.p_ops.pfn_valid(pfn)):
148 … while ((not self.p_ops.pfn_valid(pfn)) and (pfn & (self.p_ops.MAX_ORDER_NR_PAGES - 1))) != 0:
156 … if ((pfn & (self.p_ops.MAX_ORDER_NR_PAGES - 1)) == 0) and (not self.p_ops.pfn_valid(pfn)):
/linux-6.12.1/arch/arc/mm/ !
Dinit.c196 int pfn_valid(unsigned long pfn) in pfn_valid() function
201 EXPORT_SYMBOL(pfn_valid);
/linux-6.12.1/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()
/linux-6.12.1/arch/x86/virt/svm/ !
Dsev.c407 if (!pfn_valid(pfn)) in psmash()
463 if (!pfn_valid(pfn)) in adjust_direct_map()
467 (!IS_ALIGNED(pfn, PTRS_PER_PMD) || !pfn_valid(pfn + PTRS_PER_PMD - 1))) in adjust_direct_map()
/linux-6.12.1/arch/xtensa/mm/ !
Dioremap.c17 WARN_ON(pfn_valid(pfn)); in ioremap_prot()
/linux-6.12.1/mm/ !
Dpage_table_check.c70 if (!pfn_valid(pfn)) in page_table_check_clear()
110 if (!pfn_valid(pfn)) in page_table_check_set()
Dhwpoison-inject.c24 if (!pfn_valid(pfn)) in hwpoison_inject()
/linux-6.12.1/arch/csky/abiv1/ !
Dcacheflush.c52 if (!pfn_valid(pfn)) in update_mmu_cache_range()
/linux-6.12.1/arch/x86/include/asm/ !
Dkmsan.h94 ret = pfn_valid(x >> PAGE_SHIFT); in kmsan_virt_addr_valid()
/linux-6.12.1/arch/openrisc/include/asm/ !
Dpage.h85 #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
/linux-6.12.1/arch/nios2/include/asm/ !
Dpage.h90 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
/linux-6.12.1/arch/csky/abiv2/ !
Dcacheflush.c19 if (!pfn_valid(pfn)) in update_mmu_cache_range()
/linux-6.12.1/arch/alpha/include/asm/ !
Dpage.h87 #define virt_addr_valid(kaddr) pfn_valid((__pa(kaddr) >> PAGE_SHIFT))
/linux-6.12.1/arch/hexagon/include/asm/ !
Dpage.h97 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
/linux-6.12.1/arch/mips/kvm/ !
Dmmu.c488 bool pfn_valid = false; in _kvm_mips_map_page_fast() local
504 pfn_valid = true; in _kvm_mips_map_page_fast()
527 if (pfn_valid) in _kvm_mips_map_page_fast()
/linux-6.12.1/arch/mips/mm/ !
Dioremap.c31 if (pfn_valid(start_pfn + i) && in __ioremap_check_ram()
/linux-6.12.1/arch/m68k/include/asm/ !
Dpage_mm.h145 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn)) macro
/linux-6.12.1/arch/arm/mm/ !
Dinit.c126 int pfn_valid(unsigned long pfn) in pfn_valid() function
146 EXPORT_SYMBOL(pfn_valid);
/linux-6.12.1/virt/kvm/ !
Dpfncache.c101 if (pfn_valid(pfn)) in gpc_map()
117 if (pfn_valid(pfn)) { in gpc_unmap()

1234