/xen/tools/libxc/ |
A D | xc_sr_restore_x86_hvm.c | 99 static bool x86_hvm_pfn_is_valid(const struct xc_sr_context *ctx, xen_pfn_t pfn) in x86_hvm_pfn_is_valid() 106 xen_pfn_t pfn) in x86_hvm_pfn_to_gfn() 112 static void x86_hvm_set_gfn(struct xc_sr_context *ctx, xen_pfn_t pfn, in x86_hvm_set_gfn() 120 xen_pfn_t pfn, xen_pfn_t type) in x86_hvm_set_page_type()
|
A D | xc_sr_restore_x86_pv.c | 5 static xen_pfn_t pfn_to_mfn(const struct xc_sr_context *ctx, xen_pfn_t pfn) in pfn_to_mfn() 137 xen_pfn_t pfn, mfn; in process_start_info() local 240 xen_pfn_t pfn, mfn; in process_vcpu_basic() local 529 xen_pfn_t mfn, pfn, *guest_p2m = NULL; in update_guest_p2m() local 934 static bool x86_pv_pfn_is_valid(const struct xc_sr_context *ctx, xen_pfn_t pfn) in x86_pv_pfn_is_valid() 940 static void x86_pv_set_page_type(struct xc_sr_context *ctx, xen_pfn_t pfn, in x86_pv_set_page_type() 949 static void x86_pv_set_gfn(struct xc_sr_context *ctx, xen_pfn_t pfn, in x86_pv_set_gfn() 989 xen_pfn_t pfn = pte_to_frame(pte); in x86_pv_localise_page() local 1015 xen_pfn_t mfn, pfn; in x86_pv_localise_page() local
|
A D | xc_sr_restore.c | 77 static bool pfn_is_populated(const struct xc_sr_context *ctx, xen_pfn_t pfn) in pfn_is_populated() 89 static int pfn_set_populated(struct xc_sr_context *ctx, xen_pfn_t pfn) in pfn_set_populated() 342 xen_pfn_t *pfns = NULL, pfn; in handle_page_data() local
|
A D | xc_mem_access.c | 84 uint64_t pfn, in xc_get_mem_access()
|
A D | xc_vm_event.c | 46 uint64_t pfn; in xc_vm_event_enable() local
|
A D | xc_dom_boot.c | 44 xen_pfn_t pfn; in setup_hypercall_page() local 129 void *xc_dom_boot_domU_map(struct xc_dom_image *dom, xen_pfn_t pfn, in xc_dom_boot_domU_map()
|
A D | xc_sr_common_x86_pv.c | 22 xen_pfn_t pfn = ~0UL; in dump_bad_pseudophysmap_entry() local
|
A D | xc_dom_core.c | 414 void *xc_dom_pfn_to_ptr(struct xc_dom_image *dom, xen_pfn_t pfn, in xc_dom_pfn_to_ptr() 421 void *xc_dom_pfn_to_ptr_retcount(struct xc_dom_image *dom, xen_pfn_t pfn, in xc_dom_pfn_to_ptr_retcount() 619 xen_pfn_t pfn; in xc_dom_alloc_page() local 632 void xc_dom_unmap_one(struct xc_dom_image *dom, xen_pfn_t pfn) in xc_dom_unmap_one()
|
A D | xc_dom_x86.c | 93 xen_pfn_t pfn; member 140 xen_vaddr_t to, xen_pfn_t pfn) in count_pgtables() 294 #define pfn_to_paddr(pfn) ((xen_paddr_t)(pfn) << PAGE_SHIFT_X86) argument 381 static x86_pgentry_t get_pg_prot(struct xc_dom_image *dom, int l, xen_pfn_t pfn) in get_pg_prot() 411 xen_pfn_t pfn, p, p_s, p_e; in setup_pgtables_pv() local 1186 xen_pfn_t pfn, allocsz, mfn, total, pfn_base; in meminit_pv() local
|
A D | xc_sr_save_x86_hvm.c | 126 xen_pfn_t pfn) in x86_hvm_pfn_to_gfn()
|
A D | xc_core_arm.c | 26 unsigned long pfn) in xc_core_arch_gpfn_may_present()
|
A D | xc_core_x86.c | 28 unsigned long pfn) in xc_core_arch_gpfn_may_present()
|
/xen/xen/arch/x86/boot/ |
A D | x86_64.S | 87 pfn = 0 define 95 pfn = pfn + 1 define
|
/xen/xen/drivers/passthrough/x86/ |
A D | iommu.c | 152 unsigned long pfn, in hwdom_iommu_map() 237 unsigned long pfn = pdx_to_pfn(i); in arch_iommu_hwdom_init() local
|
/xen/tools/libs/foreignmemory/ |
A D | compat.c | 28 xen_pfn_t *pfn; in osdep_xenforeignmemory_map() local
|
/xen/xen/include/xen/ |
A D | pdx.h | 26 static inline unsigned long pfn_to_pdx(unsigned long pfn) in pfn_to_pdx()
|
/xen/xen/include/asm-x86/ |
A D | paging.h | 188 #define L1_LOGDIRTY_IDX(pfn) (pfn_x(pfn) & ((1 << (PAGE_SHIFT + 3)) - 1)) argument 189 #define L2_LOGDIRTY_IDX(pfn) ((pfn_x(pfn) >> (PAGE_SHIFT + 3)) & \ argument 191 #define L3_LOGDIRTY_IDX(pfn) ((pfn_x(pfn) >> (PAGE_SHIFT + 3 + PAGETABLE_ORDER)) & \ argument 193 #define L4_LOGDIRTY_IDX(pfn) ((pfn_x(pfn) >> (PAGE_SHIFT + 3 + PAGETABLE_ORDER * 2)) & \ argument
|
A D | page.h | 115 #define l1e_from_pfn(pfn, flags) \ argument 117 #define l2e_from_pfn(pfn, flags) \ argument 119 #define l3e_from_pfn(pfn, flags) \ argument 121 #define l4e_from_pfn(pfn, flags) \ argument 236 typedef struct { u64 pfn; } pagetable_t; member 242 #define pagetable_from_pfn(pfn) ((pagetable_t) { (pfn) }) argument 271 #define __pfn_to_paddr(pfn) ((paddr_t)(pfn) << PAGE_SHIFT) argument 291 #define pfn_to_paddr(pfn) __pfn_to_paddr(pfn) argument
|
/xen/xen/arch/x86/mm/ |
A D | paging.c | 260 void paging_mark_pfn_dirty(struct domain *d, pfn_t pfn) in paging_mark_pfn_dirty() 340 pfn_t pfn; in paging_mark_dirty() local 356 pfn_t pfn; in paging_mfn_is_dirty() local 596 unsigned long pfn; in paging_log_dirty_range() local
|
A D | p2m-pt.c | 46 #define p2m_l1e_from_pfn(pfn, flags) \ argument 48 #define p2m_l2e_from_pfn(pfn, flags) \ argument 51 #define p2m_l3e_from_pfn(pfn, flags) \ argument 194 unsigned long pfn = l1e_get_pfn(*p2m_entry); in p2m_next_level() local
|
/xen/xen/arch/x86/pv/ |
A D | dom0_build.c | 34 void __init dom0_update_physmap(struct domain *d, unsigned long pfn, in dom0_update_physmap() 293 unsigned long pfn, mfn; in dom0_construct_pv() local 826 #define pfn (nr_pages - 1 - (pfn - (alloc_epfn - alloc_spfn))) in dom0_construct_pv() macro
|
A D | shim.c | 120 static void __init mark_pfn_as_ram(struct e820map *e820, uint64_t pfn) in mark_pfn_as_ram() 132 uint64_t pfn = 0; in pv_shim_fixup_e820() local 777 compat_pfn_t pfn = grant_frames[i]; in pv_shim_grant_table_op() local
|
/xen/xen/common/compat/ |
A D | memory.c | 488 compat_pfn_t pfn = nat.rsrv->extent_start.p[start_extent]; in compat_memory_op() local 543 compat_pfn_t pfn = nat.xchg->out.extent_start.p[start_extent]; in compat_memory_op() local
|
/xen/xen/arch/x86/hvm/ |
A D | dm.c | 152 xen_pfn_t pfn, end_pfn; in modified_memory() local 274 unsigned long pfn = data->first_pfn + iter; in set_mem_type() local
|
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_map.c | 25 static unsigned int pfn_to_pde_idx(unsigned long pfn, unsigned int level) in pfn_to_pde_idx() 224 unsigned long mfn, pfn; in iommu_pde_from_dfn() local
|