Home
last modified time | relevance | path

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

123456

/linux/include/linux/
H A Dpageblock-flags.h96 get_pfnblock_bit(page, page_to_pfn(page), PB_compact_skip)
98 clear_pfnblock_bit(page, page_to_pfn(page), PB_compact_skip)
100 set_pfnblock_bit(page, page_to_pfn(page), PB_compact_skip)
/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`
114 :c:func:`page_to_pfn`, ,和 :c:func:`get_user_pages` 服务。由于页面引
/linux/include/trace/events/
H A Dkmem.h151 __entry->pfn = page_to_pfn(page);
172 __entry->pfn = page_to_pfn(page);
195 __entry->pfn = page ? page_to_pfn(page) : -1UL;
224 __entry->pfn = page ? page_to_pfn(page) : -1UL;
259 __entry->pfn = page ? page_to_pfn(page) : -1UL;
289 __entry->pfn = page_to_pfn(page);
H A Dpage_ref.h30 __entry->pfn = page_to_pfn(page);
79 __entry->pfn = page_to_pfn(page);
/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));\
/linux/lib/
H A Dtest_hmm.c702 page_to_pfn(spage))) in dmirror_migrate_alloc_and_copy()
732 *dst = migrate_pfn(page_to_pfn(dpage)) | write; in dmirror_migrate_alloc_and_copy()
757 page_to_pfn(spage), page_to_pfn(dpage)); in dmirror_migrate_alloc_and_copy()
759 *dst = migrate_pfn(page_to_pfn(dpage)) | write; in dmirror_migrate_alloc_and_copy()
769 pfn_to_page(page_to_pfn(rpage) + i); in dmirror_migrate_alloc_and_copy()
771 pfn_to_page(page_to_pfn(spage) + i); in dmirror_migrate_alloc_and_copy()
990 page_to_pfn(spage), page_to_pfn(dpage)); in dmirror_devmem_fault_alloc_and_copy()
994 *dst |= migrate_pfn(page_to_pfn(dpage)); in dmirror_devmem_fault_alloc_and_copy()
1005 dst[i] = migrate_pfn(page_to_pfn(dpage)); in dmirror_devmem_fault_alloc_and_copy()
1006 dst_page = pfn_to_page(page_to_pfn(dpage)); in dmirror_devmem_fault_alloc_and_copy()
[all …]
/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/arch/arm/mm/
H A 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()
393 pfn = page_to_pfn(page); in __flush_anon_page()
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/mm/
H A Dmigrate_device.c210 unsigned long pfn = page_to_pfn(folio_page(folio, 0)); in migrate_vma_collect_huge_pmd()
331 mpfn = migrate_pfn(page_to_pfn(page)) | in migrate_vma_collect_pmd()
437 page_to_pfn(page)); in migrate_vma_collect_pmd()
440 page_to_pfn(page)); in migrate_vma_collect_pmd()
443 page_to_pfn(page)); in migrate_vma_collect_pmd()
841 page_to_pfn(page)); in migrate_vma_insert_huge_pmd_page()
844 page_to_pfn(page)); in migrate_vma_insert_huge_pmd_page()
1038 page_to_pfn(page)); in migrate_vma_insert_page()
1041 page_to_pfn(page)); in migrate_vma_insert_page()
H A Dmemory-failure.c218 num_poisoned_pages_inc(page_to_pfn(page)); in page_handle_poison()
414 page_to_pfn(p), tsk->comm); in __add_to_kill()
988 page_to_pfn(p), action_page_types[ps->type], count); in has_extra_refcount()
1012 pr_err("%#lx: Unknown page state\n", page_to_pfn(p)); in me_unknown()
1063 ret = truncate_error_folio(folio, page_to_pfn(p), mapping); in me_pagecache_clean()
1169 res = truncate_error_folio(folio, page_to_pfn(p), mapping); in me_huge_page()
1383 pr_info("%#lx cannot catch tail\n", page_to_pfn(page)); in __get_hwpoison_page()
1448 pr_err("%#lx: unhandlable page.\n", page_to_pfn(p)); in get_any_page()
1811 unmap_and_kill(&to_kill, page_to_pfn(page), mapping, in mf_dax_kill_procs()
1883 num_poisoned_pages_sub(page_to_pfn( in __folio_free_raw_hwp()
[all...]
/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()
H A Dmshv_root_hv_call.c229 pfnlist[i] = page_to_pfn(pages[index]); in hv_do_map_gpa_hcall()
451 input->output_data_pfns[i] = page_to_pfn(pages[i]); in hv_call_get_vp_state()
513 input->data[i].pfns = page_to_pfn(pages[i]); in hv_call_set_vp_state()
560 page_to_pfn(*state_page); in hv_call_map_vp_state_page()
915 page_to_pfn(allocated_page)); in hv_map_stats_page()
1008 page_to_pfn(pages[index]); in hv_call_modify_spa_host_access()
/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/tools/testing/nvdimm/
H A Ddax-dev.c32 return PFN_PHYS(page_to_pfn(page)); in dax_pgoff_to_phys()
/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/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