Home
last modified time | relevance | path

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

123456

/linux/include/asm-generic/
H A Dmemory_model.h73 #define page_to_pfn __page_to_pfn macro
79 unsigned long __pfn = page_to_pfn(page); \
85 #define page_to_phys(page) PFN_PHYS(page_to_pfn(page))
/linux/drivers/xen/
H A 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()
H A 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/Documentation/translations/zh_CN/mm/
H A 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/mm/
H A Dpage_isolation.c184 check_unmovable_start = max(page_to_pfn(page), start_pfn); in set_migratetype_isolate()
185 check_unmovable_end = min(pageblock_end_pfn(page_to_pfn(page)), in set_migratetype_isolate()
236 buddy = find_buddy_page_pfn(page, page_to_pfn(page), in unset_migratetype_isolate()
375 pfn = page_to_pfn(page); in isolate_single_pageblock()
407 unsigned long head_pfn = page_to_pfn(head); in isolate_single_pageblock()
H A Dmigrate_device.c150 mpfn = migrate_pfn(page_to_pfn(page)) | in migrate_vma_collect_pmd()
239 page_to_pfn(page)); in migrate_vma_collect_pmd()
242 page_to_pfn(page)); in migrate_vma_collect_pmd()
245 page_to_pfn(page)); in migrate_vma_collect_pmd()
639 page_to_pfn(page)); in migrate_vma_insert_page()
642 page_to_pfn(page)); in migrate_vma_insert_page()
H A Dmemory-failure.c210 num_poisoned_pages_inc(page_to_pfn(page)); in page_handle_poison()
478 page_to_pfn(p), tsk->comm); in __add_to_kill()
1047 page_to_pfn(p), action_page_types[ps->type], count);
1071 pr_err("%#lx: Unknown page state\n", page_to_pfn(p)); in me_pagecache_clean()
1122 ret = truncate_error_folio(folio, page_to_pfn(p), mapping); in me_pagecache_clean()
1228 res = truncate_error_folio(folio, page_to_pfn(p), mapping); in me_huge_page()
1441 pr_info("%#lx cannot catch tail\n", page_to_pfn(page));
1506 pr_err("%#lx: unhandlable page.\n", page_to_pfn(p)); in __get_unpoison_page()
1868 unmap_and_kill(&to_kill, page_to_pfn(page), mapping,
1940 num_poisoned_pages_sub(page_to_pfn( in folio_set_hugetlb_hwpoison()
[all...]
/linux/arch/sparc/include/asm/
H A Dcacheflush_32.h22 flush_cache_page(vma, vaddr, page_to_pfn(page));\
27 flush_cache_page(vma, vaddr, page_to_pfn(page));\
H A Dcacheflush_64.h62 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
69 flush_cache_page(vma, vaddr, page_to_pfn(page)); \
/linux/drivers/gpu/drm/gma500/
H A 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/include/trace/events/
H A Dpage_ref.h30 __entry->pfn = page_to_pfn(page);
79 __entry->pfn = page_to_pfn(page);
/linux/tools/testing/scatterlist/linux/
H A 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/arch/m68k/include/asm/
H A Dcacheflush_mm.h276 flush_cache_page(vma, vaddr, page_to_pfn(page)); in copy_to_user_page()
284 flush_cache_page(vma, vaddr, page_to_pfn(page)); in copy_from_user_page()
/linux/drivers/hv/
H A Dhv_proc.c83 base_pfn = page_to_pfn(pages[i]); in hv_call_deposit_pages()
101 base_pfn = page_to_pfn(pages[i]); in hv_call_deposit_pages()
/linux/scripts/gdb/linux/
H A Dpage_owner.py80 pfn = self.p_ops.page_to_pfn(page)
100 pfn = self.p_ops.page_to_pfn(page)
/linux/kernel/power/
H A Dsnapshot.c1042 memory_bm_set_bit(free_pages_map, page_to_pfn(page)); in swsusp_set_page_free()
1048 memory_bm_test_bit(free_pages_map, page_to_pfn(page)) : 0; in swsusp_page_is_free()
1054 memory_bm_clear_bit(free_pages_map, page_to_pfn(page)); in swsusp_unset_page_free()
1060 memory_bm_set_bit(forbidden_pages_map, page_to_pfn(page)); in swsusp_set_page_forbidden()
1066 memory_bm_test_bit(forbidden_pages_map, page_to_pfn(page)) : 0; in swsusp_page_is_forbidden()
1072 memory_bm_clear_bit(forbidden_pages_map, page_to_pfn(page)); in swsusp_unset_page_forbidden()
1277 pfn = page_to_pfn(page); in mark_free_pages()
1657 memory_bm_set_bit(&copy_bm, page_to_pfn(page)); in preallocate_image_pages()
2057 memory_bm_set_bit(bm, page_to_pfn(page)); in alloc_highmem_pages()
2098 memory_bm_set_bit(copy_bm, page_to_pfn(page)); in swsusp_alloc()
[all …]
/linux/include/xen/
H A Dpage.h21 ((page_to_pfn(page)) << (PAGE_SHIFT - XEN_PAGE_SHIFT))
/linux/arch/um/include/asm/
H A Dpgalloc.h20 ((unsigned long long)page_to_pfn(pte) << \
/linux/arch/arm/mm/
H A Dcopypage-v4wb.c54 flush_cache_page(vma, vaddr, page_to_pfn(from)); in v4wb_copy_user_highpage()
H A Dcopypage-xsc3.c71 flush_cache_page(vma, vaddr, page_to_pfn(from)); in xsc3_mc_copy_user_highpage()
H A Dcopypage-feroceon.c73 flush_cache_page(vma, vaddr, page_to_pfn(from)); in feroceon_copy_user_highpage()
/linux/tools/testing/nvdimm/
H A Ddax-dev.c32 return PFN_PHYS(page_to_pfn(page)); in dax_pgoff_to_phys()
H A Dpmem-dax.c32 *pfn = page_to_pfn(page); in __pmem_direct_access()
34 __func__, pmem, pgoff, page_to_pfn(page)); in __pmem_direct_access()
/linux/arch/openrisc/include/asm/
H A Dpgalloc.h35 ((unsigned long)page_to_pfn(pte) << in pmd_populate()
/linux/arch/arm/include/asm/
H A Dkexec.h71 return page_to_pfn(page) + (arch_phys_to_idmap_offset >> PAGE_SHIFT); in page_to_boot_pfn()

123456