Home
last modified time | relevance | path

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

/arch/s390/mm/
Dpage-states.c115 page = phys_to_page(pmd_val(*pmd)); in mark_kernel_pmd()
133 page = phys_to_page(pud_val(*pud)); in mark_kernel_pud()
154 page = phys_to_page(p4d_val(*p4d)); in mark_kernel_p4d()
176 page = phys_to_page(pgd_val(*pgd)); in mark_kernel_pgd()
Dfault.c826 page = phys_to_page(addr); in do_secure_storage_access()
/arch/um/include/asm/
Dpgtable.h112 #define pmd_page(pmd) phys_to_page(pmd_val(pmd) & PAGE_MASK)
275 #define phys_to_page(phys) pfn_to_page(phys_to_pfn(phys)) macro
276 #define __virt_to_page(virt) phys_to_page(__pa(virt))
Dpgtable-3level.h85 #define pud_page(pud) phys_to_page(pud_val(pud) & PAGE_MASK)
/arch/csky/mm/
Ddma-mapping.c18 struct page *page = phys_to_page(paddr); in cache_op()
/arch/csky/include/asm/
Dpage.h51 #define phys_to_page(paddr) (pfn_to_page(PFN_DOWN(paddr))) macro
/arch/arm64/kernel/
Dpatching.c38 page = phys_to_page(__pa_symbol(addr)); in patch_map()
Dmachine_kexec.c345 page = phys_to_page(addr); in crash_free_reserved_phys_range()
/arch/riscv/kernel/
Dpatch.c46 page = phys_to_page(__pa_symbol(addr)); in patch_map()
/arch/s390/include/asm/
Dpage.h172 #define phys_to_page(phys) pfn_to_page(phys_to_pfn(phys)) macro
/arch/riscv/include/asm/
Dpage.h158 #define phys_to_page(paddr) (pfn_to_page(phys_to_pfn(paddr))) macro
/arch/arm/include/asm/
Dmemory.h149 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) macro
/arch/arm/mm/
Ddma-mapping.c498 *ret_page = phys_to_page(phys); in __alloc_from_pool()
1373 page = phys_to_page(phys); in __atomic_get_pages()
1890 struct page *page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_unmap_page()
1966 struct page *page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_sync_single_for_cpu()
1980 struct page *page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); in arm_iommu_sync_single_for_device()
2309 __dma_page_cpu_to_dev(phys_to_page(paddr), paddr & (PAGE_SIZE - 1), in arch_sync_dma_for_device()
2316 __dma_page_dev_to_cpu(phys_to_page(paddr), paddr & (PAGE_SIZE - 1), in arch_sync_dma_for_cpu()
/arch/arm64/include/asm/
Dmemory.h291 #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) macro
Dpgtable.h60 #define ZERO_PAGE(vaddr) phys_to_page(__pa_symbol(empty_zero_page))
618 #define pmd_page(pmd) phys_to_page(__pmd_to_phys(pmd))
679 #define pud_page(pud) phys_to_page(__pud_to_phys(pud))
/arch/arm64/mm/
Dmmu.c424 BUG_ON(!pgtable_pte_page_ctor(phys_to_page(pa))); in pgd_pgtable_alloc()
426 BUG_ON(!pgtable_pmd_page_ctor(phys_to_page(pa))); in pgd_pgtable_alloc()