Home
last modified time | relevance | path

Searched refs:page_to_phys (Results 1 – 25 of 66) sorted by relevance

123

/arch/xtensa/mm/
Dcache.c62 if (!DCACHE_ALIAS_EQ(page_to_phys(page), vaddr)) { in kmap_invalidate_coherent()
71 (page_to_phys(page) & DCACHE_ALIAS_MASK); in kmap_invalidate_coherent()
75 page_to_phys(page)); in kmap_invalidate_coherent()
84 *paddr = page_to_phys(page); in coherent_kvaddr()
141 unsigned long phys = page_to_phys(page); in flush_dcache_page()
198 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in local_flush_cache_page()
228 unsigned long phys = page_to_phys(page); in update_mmu_cache()
264 unsigned long phys = page_to_phys(page); in copy_to_user_page()
304 unsigned long phys = page_to_phys(page); in copy_from_user_page()
/arch/nds32/mm/
Dcacheflush.c202 pto = page_to_phys(to); in copy_user_highpage()
203 pfrom = page_to_phys(from); in copy_user_highpage()
229 vto = kremap0(vaddr, page_to_phys(page)); in clear_user_highpage()
255 kto = kremap0(vaddr, page_to_phys(page)); in flush_dcache_page()
271 vto = kremap0(vaddr, page_to_phys(page)); in copy_to_user_page()
292 vto = kremap0(vaddr, page_to_phys(page)); in copy_from_user_page()
314 ktmp = kremap0(vaddr, page_to_phys(page)); in flush_anon_page()
/arch/s390/mm/
Dpage-states.c66 : "a" (page_to_phys(page)), in get_page_state()
78 : "a" (page_to_phys(page + i)), in set_page_unused()
89 : "a" (page_to_phys(page + i)), in set_page_stable_dat()
100 : "a" (page_to_phys(page + i)), in set_page_stable_nodat()
/arch/csky/mm/
Ddma-mapping.c19 void *start = __va(page_to_phys(page)); in cache_op()
56 cache_op(page_to_phys(page), size, dma_wbinv_set_zero_range); in arch_dma_prep_coherent()
/arch/hexagon/include/asm/
Dpage.h127 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
132 #define page_to_virt(page) __va(page_to_phys(page))
/arch/sparc/include/asm/
Dpage.h5 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/arch/microblaze/mm/
Dconsistent.c20 phys_addr_t paddr = page_to_phys(page); in arch_dma_prep_coherent()
/arch/m68k/include/asm/
Dvirtconvert.h32 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/arch/nios2/include/asm/
Dio.h32 #define page_to_phys(page) virt_to_phys(page_to_virt(page)) macro
/arch/arc/mm/
Ddma.c30 dma_cache_wback_inv(page_to_phys(page), size); in arch_dma_prep_coherent()
/arch/s390/kernel/
Dmachine_kexec.c211 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
251 data_mover = (relocate_kernel_t) page_to_phys(image->control_code_page); in __do_machine_kexec()
/arch/ia64/include/asm/
Dpgalloc.h53 pmd_val(*pmd_entry) = page_to_phys(pte); in pmd_populate()
/arch/riscv/include/asm/
Dpage.h156 #define page_to_phys(page) (pfn_to_phys(page_to_pfn(page))) macro
157 #define page_to_bus(page) (page_to_phys(page))
/arch/nds32/include/asm/
Dmemory.h85 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/arch/xtensa/include/asm/
Dhighmem.h34 return DCACHE_ALIAS(page_to_phys(page)); in get_pkmap_color()
/arch/m68k/kernel/
Ddma.c23 cache_push(page_to_phys(page), size); in arch_dma_prep_coherent()
/arch/m68k/mm/
Dcache.c117 : : "a" (page_to_phys(page))); in flush_icache_user_page()
/arch/microblaze/include/asm/
Dio.h33 #define page_to_bus(page) (page_to_phys(page))
/arch/nds32/kernel/
Ddma.c81 cache_op(page_to_phys(page), size, cpu_dma_wbinval_range); in arch_dma_prep_coherent()
/arch/openrisc/include/asm/
Dpage.h81 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/arch/x86/kvm/svm/
Davic.c192 phys_addr_t bpa = __sme_set(page_to_phys(svm->avic_backing_page)); in avic_init_vmcb()
193 phys_addr_t lpa = __sme_set(page_to_phys(kvm_svm->avic_logical_id_table_page)); in avic_init_vmcb()
194 phys_addr_t ppa = __sme_set(page_to_phys(kvm_svm->avic_physical_id_table_page)); in avic_init_vmcb()
282 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) & in avic_init_backing_page()
784 vcpu_info->pi_desc_addr = __sme_set(page_to_phys((*svm)->avic_backing_page)); in get_pi_vcpu_info()
842 pi.base = __sme_set(page_to_phys(svm->avic_backing_page) & in svm_update_pi_irte()
/arch/arm64/include/asm/
Dmemory.h290 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) macro
330 void *__addr = __va(page_to_phys(__page)); \
Dpgalloc.h87 __pmd_populate(pmdp, page_to_phys(ptep), PMD_TYPE_TABLE | PMD_TABLE_PXN); in pmd_populate()
/arch/parisc/kernel/
Dkexec.c78 unsigned long phys = page_to_phys(image->control_code_page); in machine_kexec()
/arch/csky/include/asm/
Dpage.h50 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro

123