Home
last modified time | relevance | path

Searched refs:phys_to_page (Results 1 – 19 of 19) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dpage.h85 #define phys_to_page(paddr) pfn_to_page(phys_to_pfn(paddr)) macro
90 #define virt_to_page(kaddr) phys_to_page(__pa(kaddr))
H A Dio.h88 page_address(phys_to_page((unsigned long)paddr)) + offset_in_page((unsigned long)paddr);\
/linux/arch/loongarch/mm/
H A Dpgtable.c14 return phys_to_page(__pa(kaddr)); in dmw_virt_to_page()
20 return phys_to_page(pfn_to_phys(pte_pfn(*virt_to_kpte(kaddr)))); in tlb_virt_to_page()
/linux/arch/um/include/asm/
H A Dpgtable.h99 #define pmd_page(pmd) phys_to_page(pmd_val(pmd) & PAGE_MASK)
290 #define phys_to_page(phys) pfn_to_page(phys_to_pfn(phys)) macro
291 #define __virt_to_page(virt) phys_to_page(__pa(virt))
H A Dpgtable-3level.h77 #define pud_page(pud) phys_to_page(pud_val(pud) & PAGE_MASK)
/linux/arch/s390/include/asm/
H A Dpage.h248 #define phys_to_page(phys) pfn_to_page(phys_to_pfn(phys)) macro
249 #define phys_to_folio(phys) page_folio(phys_to_page(phys))
/linux/arch/csky/mm/
H A Ddma-mapping.c17 struct page *page = phys_to_page(paddr); in cache_op()
/linux/arch/csky/include/asm/
H A Dpage.h47 #define phys_to_page(paddr) (pfn_to_page(PFN_DOWN(paddr))) macro
/linux/arch/arm/mm/
H A Ddma-mapping.c369 *ret_page = phys_to_page(phys); in __alloc_from_pool()
609 struct page *page = phys_to_page(dma_to_phys(dev, handle)); in __arm_dma_free()
1024 page = phys_to_page(phys); in __atomic_get_pages()
1418 page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_unmap_page()
1494 page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_sync_single_for_cpu()
1509 page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_sync_single_for_device()
1800 __dma_page_cpu_to_dev(phys_to_page(paddr), paddr & (PAGE_SIZE - 1), in arch_sync_dma_for_device()
1807 __dma_page_dev_to_cpu(phys_to_page(paddr), paddr & (PAGE_SIZE - 1), in arch_sync_dma_for_cpu()
/linux/arch/s390/mm/
H A Dgmap.c1366 ptdesc = page_ptdesc(phys_to_page(pgt)); in gmap_unshadow_pgt()
1394 ptdesc = page_ptdesc(phys_to_page(pgt)); in __gmap_unshadow_sgt()
1424 page = phys_to_page(sgt); in gmap_unshadow_sgt()
1452 page = phys_to_page(sgt); in __gmap_unshadow_r3t()
1482 page = phys_to_page(r3t); in gmap_unshadow_r3t()
1510 page = phys_to_page(r3t); in __gmap_unshadow_r2t()
1540 page = phys_to_page(r2t); in gmap_unshadow_r2t()
1572 page = phys_to_page(r2t); in __gmap_unshadow_r1t()
2825 get_page(phys_to_page(pte_val(pte))); in s390_gather_pages()
/linux/arch/arm/include/asm/
H A Dmemory.h154 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) macro
/linux/arch/arm64/kernel/
H A Dpatching.c38 page = phys_to_page(__pa_symbol(addr)); in patch_map()
H A Dmachine_kexec.c326 page = phys_to_page(addr); in crash_free_reserved_phys_range()
/linux/arch/riscv/kernel/
H A Dpatch.c48 page = phys_to_page(__pa_symbol(addr)); in patch_map()
/linux/arch/riscv/include/asm/
H A Dpage.h198 #define phys_to_page(paddr) (pfn_to_page(phys_to_pfn(paddr))) macro
/linux/arch/s390/kvm/
H A Dpci.c368 vpage = phys_to_page(kzdev->fib.fmt0.aibv); in kvm_s390_pci_aif_disable()
370 spage = phys_to_page(gaite->aisb); in kvm_s390_pci_aif_disable()
/linux/arch/arm64/include/asm/
H A Dmemory.h360 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) macro
H A Dpgtable.h66 #define ZERO_PAGE(vaddr) phys_to_page(__pa_symbol(empty_zero_page))
792 #define pmd_page(pmd) phys_to_page(__pmd_to_phys(pmd))
859 #define pud_page(pud) phys_to_page(__pud_to_phys(pud))
/linux/arch/arm64/mm/
H A Dmmu.c486 struct ptdesc *ptdesc = page_ptdesc(phys_to_page(pa)); in pgd_pgtable_alloc()