/openbmc/linux/include/linux/ |
H A 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), \
|
/openbmc/linux/drivers/xen/ |
H A 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()
|
H A 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()
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A 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` 服务。由于页面引
|
/openbmc/linux/include/trace/events/ |
H A 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);
|
H A D | page_pool.h | 60 __entry->pfn = page_to_pfn(page); 85 __entry->pfn = page_to_pfn(page);
|
H A D | page_ref.h | 30 __entry->pfn = page_to_pfn(page); 79 __entry->pfn = page_to_pfn(page);
|
H A D | huge_memory.h | 75 __entry->pfn = page ? page_to_pfn(page) : -1; 133 __entry->pfn = page ? page_to_pfn(page) : -1; 193 __entry->pfn = page ? page_to_pfn(page) : -1;
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A 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() 256 GEM_BUG_ON(page_to_pfn(sg_page(sg)) != pfn); in alloc_table()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | cacheflush_32.h | 22 flush_cache_page(vma, vaddr, page_to_pfn(page));\ 27 flush_cache_page(vma, vaddr, page_to_pfn(page));\
|
H A D | cacheflush_64.h | 62 flush_cache_page(vma, vaddr, page_to_pfn(page)); \ 69 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
|
H A D | page.h | 5 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
|
/openbmc/linux/mm/ |
H A D | migrate_device.c | 140 mpfn = migrate_pfn(page_to_pfn(page)) | in migrate_vma_collect_pmd() 222 page_to_pfn(page)); in migrate_vma_collect_pmd() 225 page_to_pfn(page)); in migrate_vma_collect_pmd() 228 page_to_pfn(page)); in migrate_vma_collect_pmd() 614 page_to_pfn(page)); in migrate_vma_insert_page() 617 page_to_pfn(page)); in migrate_vma_insert_page() 935 src_pfn = migrate_pfn(page_to_pfn(page)) | MIGRATE_PFN_MIGRATE; in migrate_device_coherent_page() 949 dst_pfn = migrate_pfn(page_to_pfn(dpage)); in migrate_device_coherent_page()
|
H A 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()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | memory.h | 71 #define page_to_pfn(page) (((page) - mem_map) + PHYS_PFN_OFFSET) 88 #define page_to_pfn(page) \
|
/openbmc/linux/include/asm-generic/ |
H A D | page.h | 89 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page)) 92 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 780 pdesc->statPPNs[0] = page_to_pfn(virt_to_page(pstat)); in mksstat_init_kern_id() 783 pdesc->infoPPNs[0] = page_to_pfn(virt_to_page(pinfo)); in mksstat_init_kern_id() 786 pdesc->strsPPNs[0] = page_to_pfn(virt_to_page(pstrs)); in mksstat_init_kern_id() 791 hypervisor_ppn_add((PPN64)page_to_pfn(page)); in mksstat_init_kern_id() 1079 pdesc->statPPNs[i] = page_to_pfn(pages_stat[i]); in vmw_mksstat_add_ioctl() 1086 pdesc->infoPPNs[i] = page_to_pfn(pages_info[i]); in vmw_mksstat_add_ioctl() 1093 pdesc->strsPPNs[i] = page_to_pfn(pages_strs[i]); in vmw_mksstat_add_ioctl() 1098 hypervisor_ppn_add((PPN64)page_to_pfn(page)); in vmw_mksstat_add_ioctl() 1174 hypervisor_ppn_remove((PPN64)page_to_pfn(page)); in vmw_mksstat_remove_ioctl()
|
/openbmc/linux/arch/microblaze/include/asm/ |
H A D | page.h | 103 # define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) 104 # define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A 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)
|
/openbmc/linux/arch/arm/mm/ |
H A 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() 393 pfn = page_to_pfn(page); in __flush_anon_page()
|
/openbmc/linux/tools/testing/scatterlist/linux/ |
H A 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))
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | virtconvert.h | 32 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A 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()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | page.h | 192 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page)) 207 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | pgtable-levels.h | 145 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot) 180 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot)
|