Home
last modified time | relevance | path

Searched refs:page_to_pfn (Results 1 – 25 of 208) sorted by relevance

123456789

/kernel/linux/linux-5.10/include/linux/
Dpageblock-flags.h69 get_pfnblock_flags_mask(page, page_to_pfn(page), \
72 set_pfnblock_flags_mask(page, 0, page_to_pfn(page), \
76 page_to_pfn(page), \
Dswapops.h113 page_to_pfn(page)); in make_device_private_entry()
178 page_to_pfn(page)); in make_migration_entry()
327 return swp_entry(SWP_HWPOISON, page_to_pfn(page)); in make_hwpoison_entry()
/kernel/linux/linux-5.10/drivers/xen/
Dbiomerge.c12 unsigned long bfn1 = pfn_to_bfn(page_to_pfn(vec1->bv_page)); in xen_biovec_phys_mergeable()
13 unsigned long bfn2 = pfn_to_bfn(page_to_pfn(page)); in xen_biovec_phys_mergeable()
Dmem-reservation.c37 unsigned long pfn = page_to_pfn(page); in __xenmem_reservation_va_mapping_update()
70 unsigned long pfn = page_to_pfn(page); in __xenmem_reservation_va_mapping_reset()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dpage.h148 # define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT)
149 # define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
153 # define page_to_virt(page) (pfn_to_virt(page_to_pfn(page)))
154 # define page_to_phys(page) (pfn_to_phys(page_to_pfn(page)))
/kernel/linux/linux-5.10/include/trace/events/
Dkmem.h164 __entry->pfn = page_to_pfn(page);
185 __entry->pfn = page_to_pfn(page);
208 __entry->pfn = page ? page_to_pfn(page) : -1UL;
235 __entry->pfn = page ? page_to_pfn(page) : -1UL;
268 __entry->pfn = page ? page_to_pfn(page) : -1UL;
298 __entry->pfn = page_to_pfn(page);
Dpagemap.h46 __entry->pfn = page_to_pfn(page);
77 __entry->pfn = page_to_pfn(page);
Dpage_pool.h60 __entry->pfn = page_to_pfn(page);
85 __entry->pfn = page_to_pfn(page);
Dpage_ref.h30 __entry->pfn = page_to_pfn(page);
79 __entry->pfn = page_to_pfn(page);
/kernel/linux/linux-5.10/arch/arm/mm/
Dflush.c140 flush_pfn_alias(page_to_pfn(page), uaddr); in __flush_ptrace_access()
149 flush_icache_alias(page_to_pfn(page), uaddr, len); in __flush_ptrace_access()
233 flush_pfn_alias(page_to_pfn(page), in __flush_dcache_page()
263 flush_cache_page(mpnt, mpnt->vm_start + offset, page_to_pfn(page)); in __flush_dcache_aliases()
401 pfn = page_to_pfn(page); in __flush_anon_page()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Dscatterlist.c55 if (page_to_pfn(page) != pfn) { in expect_pfn_sg()
57 __func__, who, pfn, page_to_pfn(page)); in expect_pfn_sg()
94 __func__, who, pfn, page_to_pfn(page)); in expect_pfn_sg_page_iter()
124 __func__, who, pfn, page_to_pfn(page)); in expect_pfn_sgtiter()
252 GEM_BUG_ON(page_to_pfn(sg_page(sg)) != pfn); in alloc_table()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dcacheflush_32.h22 flush_cache_page(vma, vaddr, page_to_pfn(page));\
27 flush_cache_page(vma, vaddr, page_to_pfn(page));\
Dcacheflush_64.h59 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
66 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
Dpage.h5 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dgtt.c100 pte = psb_gtt_mask_pte(page_to_pfn(r->pages[i]), in psb_gtt_insert()
105 pte = psb_gtt_mask_pte(page_to_pfn(r->pages[i]), in psb_gtt_insert()
134 pte = psb_gtt_mask_pte(page_to_pfn(dev_priv->scratch_page), in psb_gtt_remove()
174 pte = psb_gtt_mask_pte(page_to_pfn(r->pages[i]), in psb_gtt_roll()
179 pte = psb_gtt_mask_pte(page_to_pfn(r->pages[i]), in psb_gtt_roll()
541 pfn_base = page_to_pfn(dev_priv->scratch_page); in psb_gtt_init()
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dmmzone.h81 pfn = page_to_pfn(page) << 32; \
99 (page_to_pfn(page) << PAGE_SHIFT)
/kernel/linux/linux-5.10/include/asm-generic/
Dpage.h85 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
88 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dcacheflush.h73 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
80 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dpage_mm.h153 pfn_to_virt(page_to_pfn(page)); \
162 #define page_to_pfn(_page) ({ \ macro
Dcacheflush_mm.h267 flush_cache_page(vma, vaddr, page_to_pfn(page)); in copy_to_user_page()
275 flush_cache_page(vma, vaddr, page_to_pfn(page)); in copy_from_user_page()
/kernel/linux/linux-5.10/arch/nios2/mm/
Dcacheflush.c92 page_to_pfn(page)); in flush_aliases()
256 flush_cache_page(vma, user_vaddr, page_to_pfn(page)); in copy_from_user_page()
267 flush_cache_page(vma, user_vaddr, page_to_pfn(page)); in copy_to_user_page()
/kernel/linux/linux-5.10/lib/
Dscatterlist.c450 unsigned long paddr = (page_to_pfn(sg_page(prv)) * PAGE_SIZE + in __sg_alloc_table_from_pages()
459 while (n_pages && page_to_pfn(pages[0]) == paddr) { in __sg_alloc_table_from_pages()
477 page_to_pfn(pages[i]) != page_to_pfn(pages[i - 1]) + 1) { in __sg_alloc_table_from_pages()
493 page_to_pfn(pages[j]) != in __sg_alloc_table_from_pages()
494 page_to_pfn(pages[j - 1]) + 1) in __sg_alloc_table_from_pages()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dpage.h125 #define page_to_virt(page) (pfn_to_virt(page_to_pfn(page)))
127 #define page_to_phys(page) (pfn_to_phys(page_to_pfn(page)))
/kernel/linux/linux-5.10/tools/testing/scatterlist/linux/
Dmm.h52 #define page_to_pfn(page) ((unsigned long)(page) / PAGE_SIZE) macro
54 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n))
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dpage.h200 #define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT)
202 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)

123456789