Home
last modified time | relevance | path

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

/openbmc/linux/arch/s390/mm/
H A Dpage-states.c105 page = phys_to_page(pmd_val(*pmd)); in mark_kernel_pmd()
123 page = phys_to_page(pud_val(*pud)); in mark_kernel_pud()
144 page = phys_to_page(p4d_val(*p4d)); in mark_kernel_p4d()
166 page = phys_to_page(pgd_val(*pgd)); in mark_kernel_pgd()
H A Dgmap.c1364 page = phys_to_page(pgt); in gmap_unshadow_pgt()
1392 page = phys_to_page(pgt); in __gmap_unshadow_sgt()
1422 page = phys_to_page(sgt); in gmap_unshadow_sgt()
1450 page = phys_to_page(sgt); in __gmap_unshadow_r3t()
1480 page = phys_to_page(r3t); in gmap_unshadow_r3t()
1508 page = phys_to_page(r3t); in __gmap_unshadow_r2t()
1538 page = phys_to_page(r2t); in gmap_unshadow_r2t()
1570 page = phys_to_page(r2t); in __gmap_unshadow_r1t()
2823 get_page(phys_to_page(pte_val(pte))); in s390_gather_pages()
H A Dfault.c654 page = phys_to_page(addr); in do_secure_storage_access()
/openbmc/linux/arch/um/include/asm/
H A Dpgtable.h99 #define pmd_page(pmd) phys_to_page(pmd_val(pmd) & PAGE_MASK)
258 #define phys_to_page(phys) pfn_to_page(phys_to_pfn(phys)) macro
259 #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)
/openbmc/linux/arch/csky/mm/
H A Ddma-mapping.c17 struct page *page = phys_to_page(paddr); in cache_op()
/openbmc/linux/arch/csky/include/asm/
H A Dpage.h47 #define phys_to_page(paddr) (pfn_to_page(PFN_DOWN(paddr))) macro
/openbmc/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()
1027 page = phys_to_page(phys); in __atomic_get_pages()
1421 page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_unmap_page()
1497 page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_sync_single_for_cpu()
1512 page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_sync_single_for_device()
1799 __dma_page_cpu_to_dev(phys_to_page(paddr), paddr & (PAGE_SIZE - 1), in arch_sync_dma_for_device()
1806 __dma_page_dev_to_cpu(phys_to_page(paddr), paddr & (PAGE_SIZE - 1), in arch_sync_dma_for_cpu()
/openbmc/linux/arch/arm64/kernel/
H A Dpatching.c38 page = phys_to_page(__pa_symbol(addr)); in patch_map()
H A Dmachine_kexec.c340 page = phys_to_page(addr); in crash_free_reserved_phys_range()
/openbmc/linux/arch/s390/include/asm/
H A Dpage.h191 #define phys_to_page(phys) pfn_to_page(phys_to_pfn(phys)) macro
/openbmc/linux/arch/riscv/include/asm/
H A Dpage.h185 #define phys_to_page(paddr) (pfn_to_page(phys_to_pfn(paddr))) macro
/openbmc/linux/arch/s390/kernel/
H A Duv.c137 struct page *page = phys_to_page(paddr); in uv_destroy_owned_page()
172 struct page *page = phys_to_page(paddr); in uv_convert_owned_from_secure()
/openbmc/linux/arch/arm/include/asm/
H A Dmemory.h154 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) macro
/openbmc/linux/arch/riscv/kernel/
H A Dpatch.c48 page = phys_to_page(__pa_symbol(addr)); in patch_map()
/openbmc/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()
/openbmc/linux/arch/arm64/include/asm/
H A Dmemory.h317 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) macro
H A Dpgtable.h67 #define ZERO_PAGE(vaddr) phys_to_page(__pa_symbol(empty_zero_page))
665 #define pmd_page(pmd) phys_to_page(__pmd_to_phys(pmd))
728 #define pud_page(pud) phys_to_page(__pud_to_phys(pud))
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_gem.c1019 sg_set_page(sg, phys_to_page(addr), len, in omap_gem_get_sg()
/openbmc/linux/arch/arm64/mm/
H A Dmmu.c429 struct ptdesc *ptdesc = page_ptdesc(phys_to_page(pa)); in pgd_pgtable_alloc()