Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/include/linux/
Dpageblock-flags.h76 get_pfnblock_flags_mask(page, page_to_pfn(page), \
79 set_pfnblock_flags_mask(page, 0, page_to_pfn(page), \
83 page_to_pfn(page), \
/linux-6.1.9/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()
65 unsigned long pfn = page_to_pfn(page); in __xenmem_reservation_va_mapping_reset()
/linux-6.1.9/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()
368 pfn = page_to_pfn(page); in __flush_anon_page()
/linux-6.1.9/include/trace/events/
Dkmem.h148 __entry->pfn = page_to_pfn(page);
169 __entry->pfn = page_to_pfn(page);
192 __entry->pfn = page ? page_to_pfn(page) : -1UL;
221 __entry->pfn = page ? page_to_pfn(page) : -1UL;
256 __entry->pfn = page ? page_to_pfn(page) : -1UL;
286 __entry->pfn = page_to_pfn(page);
Dhuge_memory.h72 __entry->pfn = page ? page_to_pfn(page) : -1;
130 __entry->pfn = page ? page_to_pfn(page) : -1;
190 __entry->pfn = page ? page_to_pfn(page) : -1;
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);
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dmemory-model.rst31 每个内存模型都定义了 :c:func:`pfn_to_page` 和 :c:func:`page_to_pfn`
95 Sparse vmemmapvmemmap使用虚拟映射的内存映射来优化pfn_to_page和page_to_pfn
116 :c:func:`page_to_pfn`, ,和 :c:func:`get_user_pages` 服务。由于页面引
/linux-6.1.9/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()
/linux-6.1.9/mm/
Dmigrate_device.c147 mpfn = migrate_pfn(page_to_pfn(page)) | in migrate_vma_collect_pmd()
229 page_to_pfn(page)); in migrate_vma_collect_pmd()
232 page_to_pfn(page)); in migrate_vma_collect_pmd()
235 page_to_pfn(page)); in migrate_vma_collect_pmd()
636 page_to_pfn(page)); in migrate_vma_insert_page()
639 page_to_pfn(page)); in migrate_vma_insert_page()
950 src_pfn = migrate_pfn(page_to_pfn(page)) | MIGRATE_PFN_MIGRATE; in migrate_device_coherent_page()
964 dst_pfn = migrate_pfn(page_to_pfn(dpage)); in migrate_device_coherent_page()
Dpage_isolation.c174 check_unmovable_start = max(page_to_pfn(page), start_pfn); in set_migratetype_isolate()
175 check_unmovable_end = min(pageblock_end_pfn(page_to_pfn(page)), in set_migratetype_isolate()
230 buddy = find_buddy_page_pfn(page, page_to_pfn(page), in unset_migratetype_isolate()
368 pfn = page_to_pfn(page); in isolate_single_pageblock()
392 unsigned long head_pfn = page_to_pfn(head); in isolate_single_pageblock()
/linux-6.1.9/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)
/linux-6.1.9/include/asm-generic/
Dpage.h81 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
84 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
/linux-6.1.9/arch/microblaze/include/asm/
Dpage.h111 # define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT)
112 # define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c804 pdesc->statPPNs[0] = page_to_pfn(virt_to_page(pstat)); in mksstat_init_kern_id()
807 pdesc->infoPPNs[0] = page_to_pfn(virt_to_page(pinfo)); in mksstat_init_kern_id()
810 pdesc->strsPPNs[0] = page_to_pfn(virt_to_page(pstrs)); in mksstat_init_kern_id()
815 hypervisor_ppn_add((PPN64)page_to_pfn(page)); in mksstat_init_kern_id()
1093 pdesc->statPPNs[i] = page_to_pfn(pages_stat[i]); in vmw_mksstat_add_ioctl()
1100 pdesc->infoPPNs[i] = page_to_pfn(pages_info[i]); in vmw_mksstat_add_ioctl()
1107 pdesc->strsPPNs[i] = page_to_pfn(pages_strs[i]); in vmw_mksstat_add_ioctl()
1112 hypervisor_ppn_add((PPN64)page_to_pfn(page)); in vmw_mksstat_add_ioctl()
1183 hypervisor_ppn_remove((PPN64)page_to_pfn(page)); in vmw_mksstat_remove_ioctl()
/linux-6.1.9/arch/nios2/mm/
Dcacheflush.c93 page_to_pfn(page)); in flush_aliases()
257 flush_cache_page(vma, user_vaddr, page_to_pfn(page)); in copy_from_user_page()
268 flush_cache_page(vma, user_vaddr, page_to_pfn(page)); in copy_to_user_page()
/linux-6.1.9/arch/xtensa/include/asm/
Dpage.h196 #define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT)
198 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
/linux-6.1.9/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))
/linux-6.1.9/drivers/gpu/drm/gma500/
Dgtt.c93 pte = psb_gtt_mask_pte(page_to_pfn(pages[i]), PSB_MMU_CACHED_MEMORY); in psb_gtt_insert_pages()
114 pte = psb_gtt_mask_pte(page_to_pfn(pdev->scratch_page), PSB_MMU_CACHED_MEMORY); in psb_gtt_remove_pages()
176 pfn_base = page_to_pfn(pdev->scratch_page); in psb_gtt_clear()
/linux-6.1.9/lib/
Dscatterlist.c464 (page_to_pfn(sg_page(sgt_append->prv)) * PAGE_SIZE + in sg_alloc_append_table_from_pages()
473 while (n_pages && page_to_pfn(pages[0]) == paddr) { in sg_alloc_append_table_from_pages()
491 page_to_pfn(pages[i]) != page_to_pfn(pages[i - 1]) + 1) { in sg_alloc_append_table_from_pages()
507 page_to_pfn(pages[j]) != in sg_alloc_append_table_from_pages()
508 page_to_pfn(pages[j - 1]) + 1) in sg_alloc_append_table_from_pages()
/linux-6.1.9/arch/m68k/include/asm/
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()
/linux-6.1.9/arch/s390/include/asm/
Dpage.h195 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page))
202 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))

123456789