Searched refs:phys_to_page (Results 1 – 19 of 19) sorted by relevance
85 #define phys_to_page(paddr) pfn_to_page(phys_to_pfn(paddr)) macro90 #define virt_to_page(kaddr) phys_to_page(__pa(kaddr))
88 page_address(phys_to_page((unsigned long)paddr)) + offset_in_page((unsigned long)paddr);\
14 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()
99 #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)) macro291 #define __virt_to_page(virt) phys_to_page(__pa(virt))
77 #define pud_page(pud) phys_to_page(pud_val(pud) & PAGE_MASK)
248 #define phys_to_page(phys) pfn_to_page(phys_to_pfn(phys)) macro249 #define phys_to_folio(phys) page_folio(phys_to_page(phys))
17 struct page *page = phys_to_page(paddr); in cache_op()
47 #define phys_to_page(paddr) (pfn_to_page(PFN_DOWN(paddr))) macro
369 *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()
1366 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()
154 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) macro
38 page = phys_to_page(__pa_symbol(addr)); in patch_map()
326 page = phys_to_page(addr); in crash_free_reserved_phys_range()
48 page = phys_to_page(__pa_symbol(addr)); in patch_map()
198 #define phys_to_page(paddr) (pfn_to_page(phys_to_pfn(paddr))) macro
368 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()
360 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) macro
66 #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))
486 struct ptdesc *ptdesc = page_ptdesc(phys_to_page(pa)); in pgd_pgtable_alloc()