/linux-6.1.9/include/linux/ |
D | pageblock-flags.h | 76 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/ |
D | biomerge.c | 12 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()
|
D | mem-reservation.c | 37 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/ |
D | flush.c | 140 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/ |
D | kmem.h | 148 __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);
|
D | huge_memory.h | 72 __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;
|
D | page_pool.h | 60 __entry->pfn = page_to_pfn(page); 85 __entry->pfn = page_to_pfn(page);
|
D | page_ref.h | 30 __entry->pfn = page_to_pfn(page); 79 __entry->pfn = page_to_pfn(page);
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/ |
D | memory-model.rst | 31 每个内存模型都定义了 :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/ |
D | scatterlist.c | 55 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/ |
D | migrate_device.c | 147 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()
|
D | page_isolation.c | 174 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/ |
D | cacheflush_32.h | 22 flush_cache_page(vma, vaddr, page_to_pfn(page));\ 27 flush_cache_page(vma, vaddr, page_to_pfn(page));\
|
D | cacheflush_64.h | 59 flush_cache_page(vma, vaddr, page_to_pfn(page)); \ 66 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
|
D | page.h | 5 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
|
/linux-6.1.9/include/asm-generic/ |
D | page.h | 81 #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/ |
D | page.h | 111 # 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/ |
D | vmwgfx_msg.c | 804 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/ |
D | cacheflush.c | 93 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/ |
D | page.h | 196 #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/ |
D | mm.h | 52 #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/ |
D | gtt.c | 93 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/ |
D | scatterlist.c | 464 (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/ |
D | cacheflush_mm.h | 267 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/ |
D | page.h | 195 #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))
|