/xen/xen/arch/x86/mm/ |
A D | p2m-ept.c | 49 static int atomic_write_ept_entry(struct p2m_domain *p2m, in atomic_write_ept_entry() 876 static mfn_t ept_get_entry(struct p2m_domain *p2m, in ept_get_entry() 990 struct p2m_domain *p2m = p2m_get_hostp2m(d); in ept_walk_table() local 1145 void ept_sync_domain(struct p2m_domain *p2m) in ept_sync_domain() 1164 static void ept_tlb_flush(struct p2m_domain *p2m) in ept_tlb_flush() 1183 struct p2m_domain *p2m; in ept_set_ad_sync() local 1197 static void ept_enable_pml(struct p2m_domain *p2m) in ept_enable_pml() 1253 int ept_p2m_init(struct p2m_domain *p2m) in ept_p2m_init() 1291 void ept_p2m_uninit(struct p2m_domain *p2m) in ept_p2m_uninit() 1320 struct p2m_domain *p2m; in ept_dump_p2m_table() local [all …]
|
A D | p2m.c | 173 struct p2m_domain *p2m; in p2m_teardown_nestedp2m() local 189 struct p2m_domain *p2m; in p2m_init_nestedp2m() local 211 struct p2m_domain *p2m; in p2m_teardown_altp2m() local 226 struct p2m_domain *p2m; in p2m_init_altp2m() local 1599 struct p2m_domain *p2m; in np2m_flush_base() local 1645 struct p2m_domain *p2m; in p2m_get_nestedp2m_locked() local 1727 struct p2m_domain *p2m; in np2m_schedule() local 2105 struct p2m_domain *p2m; in p2m_reset_altp2m() local 2235 struct p2m_domain *p2m; in p2m_destroy_altp2m_by_id() local 2367 struct p2m_domain *p2m; in p2m_altp2m_propagate_change() local [all …]
|
A D | p2m-pod.c | 35 static inline void lock_page_alloc(struct p2m_domain *p2m) in lock_page_alloc() 54 p2m_pod_cache_add(struct p2m_domain *p2m, in p2m_pod_cache_add() 332 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_set_mem_target() local 375 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_empty_cache() local 421 struct p2m_domain *p2m; in p2m_pod_offline_or_broken_hit() local 475 struct p2m_domain *p2m; in p2m_pod_offline_or_broken_replace() local 510 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_decrease_reservation() local 672 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_dump_data() local 1016 p2m_pod_emergency_sweep(struct p2m_domain *p2m) in p2m_pod_emergency_sweep() 1274 struct p2m_domain *p2m = p2m_get_hostp2m(d); in guest_physmap_mark_populate_on_demand() local [all …]
|
A D | mem_access.c | 41 static int _p2m_get_mem_access(struct p2m_domain *p2m, gfn_t gfn, in _p2m_get_mem_access() 91 struct p2m_domain *p2m = NULL; in p2m_mem_access_emulate_check() local 150 struct p2m_domain *p2m = NULL; in p2m_mem_access_check() local 287 static int set_mem_access(struct domain *d, struct p2m_domain *p2m, in set_mem_access() 316 bool xenmem_access_to_p2m_access(const struct p2m_domain *p2m, in xenmem_access_to_p2m_access() 359 struct p2m_domain *p2m = p2m_get_hostp2m(d), *ap2m = NULL; in p2m_set_mem_access() local 421 struct p2m_domain *p2m = p2m_get_hostp2m(d), *ap2m = NULL; in p2m_set_mem_access_multi() local 485 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_get_mem_access() local 521 struct p2m_domain *p2m = d->arch.altp2m_p2m[i]; in arch_p2m_set_access_required() local
|
A D | mem_paging.c | 101 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_populate() local 173 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_resume() local 222 struct p2m_domain *p2m = p2m_get_hostp2m(d); in nominate() local 285 struct p2m_domain *p2m = p2m_get_hostp2m(d); in evict() local 352 struct p2m_domain *p2m = p2m_get_hostp2m(d); in prepare() local
|
A D | p2m-pt.c | 66 static unsigned long p2m_type_to_flags(const struct p2m_domain *p2m, in p2m_type_to_flags() 161 p2m_next_level(struct p2m_domain *p2m, void **table, in p2m_next_level() 267 static int p2m_pt_set_recalc_range(struct p2m_domain *p2m, in p2m_pt_set_recalc_range() 337 static int do_recalc(struct p2m_domain *p2m, unsigned long gfn) in do_recalc() 466 struct p2m_domain *p2m = p2m_get_hostp2m(current->domain); in p2m_pt_handle_deferred_changes() local 502 p2m_pt_set_entry(struct p2m_domain *p2m, gfn_t gfn_, mfn_t mfn, in p2m_pt_set_entry() 700 p2m_pt_get_entry(struct p2m_domain *p2m, gfn_t gfn_, in p2m_pt_get_entry() 868 static void p2m_pt_change_entry_type_global(struct p2m_domain *p2m, in p2m_pt_change_entry_type_global() 908 static int p2m_pt_change_entry_type_range(struct p2m_domain *p2m, in p2m_pt_change_entry_type_range() 950 long p2m_pt_audit_p2m(struct p2m_domain *p2m) in p2m_pt_audit_p2m() [all …]
|
A D | altp2m.c | 41 struct p2m_domain *p2m; in altp2m_vcpu_destroy() local
|
A D | mem_sharing.c | 1109 struct p2m_domain *p2m = p2m_get_hostp2m(cd); in add_to_physmap() local 1338 struct p2m_domain *p2m = p2m_get_hostp2m(d); in relinquish_shared_pages() local 1476 struct p2m_domain *p2m; in mem_sharing_fork_page() local 1573 struct p2m_domain *p2m = p2m_get_hostp2m(cd); in copy_vcpu_settings() local 1660 struct p2m_domain *p2m = p2m_get_hostp2m(cd); in copy_special_pages() local 1803 struct p2m_domain *p2m = p2m_get_hostp2m(d); in mem_sharing_fork_reset() local
|
A D | guest_walk.c | 84 guest_walk_tables(const struct vcpu *v, struct p2m_domain *p2m, in guest_walk_tables()
|
A D | paging.c | 594 struct p2m_domain *p2m = p2m_get_hostp2m(d); in paging_log_dirty_range() local 939 int paging_write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn, in paging_write_p2m_entry()
|
/xen/xen/arch/arm/ |
A D | p2m.c | 52 void p2m_write_unlock(struct p2m_domain *p2m) in p2m_write_unlock() 66 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_dump_info() local 86 struct p2m_domain *p2m = p2m_get_hostp2m(d); in dump_p2m_lookup() local 211 void p2m_tlb_flush_sync(struct p2m_domain *p2m) in p2m_tlb_flush_sync() 442 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_lookup() local 1078 int p2m_set_entry(struct p2m_domain *p2m, in p2m_set_entry() 1162 void p2m_invalidate_root(struct p2m_domain *p2m) in p2m_invalidate_root() 1180 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_resolve_translation_fault() local 1288 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_insert_mapping() local 1303 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_remove_mapping() local [all …]
|
A D | mem_access.c | 30 struct p2m_domain *p2m = p2m_get_hostp2m(d); in __p2m_get_mem_access() local 113 struct p2m_domain *p2m = p2m_get_hostp2m(v->domain); in p2m_mem_access_check_and_get_page() local 234 struct p2m_domain *p2m = p2m_get_hostp2m(v->domain); in p2m_mem_access_check() local 358 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_set_mem_access() local 448 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_get_mem_access() local
|
/xen/xen/arch/x86/mm/hap/ |
A D | nested_hap.c | 75 nestedp2m_write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn, in nestedp2m_write_p2m_entry() 98 nestedhap_fix_p2m(struct vcpu *v, struct p2m_domain *p2m, in nestedhap_fix_p2m() 150 nestedhap_walk_L0_p2m(struct p2m_domain *p2m, paddr_t L1_gpa, paddr_t *L0_gpa, in nestedhap_walk_L0_p2m() 199 struct p2m_domain *p2m, *nested_p2m; in nestedhvm_hap_nested_page_fault() local
|
A D | hap.c | 184 struct p2m_domain *p2m = p2m_get_hostp2m(d); in hap_enable_log_dirty() local 777 hap_write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn, l1_pgentry_t *p, in hap_write_p2m_entry() 826 struct vcpu *v, struct p2m_domain *p2m, unsigned long gva, uint32_t *pfec) in hap_gva_to_gfn_real_mode() 832 struct vcpu *v, struct p2m_domain *p2m, unsigned long cr3, in hap_p2m_ga_to_gfn_real_mode()
|
A D | nested_ept.c | 156 struct p2m_domain *p2m = d->arch.p2m; in nept_walk_tables() local
|
/xen/xen/include/asm-arm/ |
A D | p2m.h | 202 static inline void p2m_write_lock(struct p2m_domain *p2m) in p2m_write_lock() 209 static inline void p2m_read_lock(struct p2m_domain *p2m) in p2m_read_lock() 214 static inline void p2m_read_unlock(struct p2m_domain *p2m) in p2m_read_unlock() 219 static inline int p2m_is_locked(struct p2m_domain *p2m) in p2m_is_locked() 224 static inline int p2m_is_write_locked(struct p2m_domain *p2m) in p2m_is_write_locked()
|
/xen/xen/include/asm-x86/ |
A D | p2m.h | 393 static inline bool_t p2m_is_hostp2m(const struct p2m_domain *p2m) in p2m_is_hostp2m() 398 static inline bool_t p2m_is_nestedp2m(const struct p2m_domain *p2m) in p2m_is_nestedp2m() 403 static inline bool_t p2m_is_altp2m(const struct p2m_domain *p2m) in p2m_is_altp2m() 408 #define p2m_get_pagetable(p2m) ((p2m)->phys_table) argument 433 struct p2m_domain *p2m, unsigned long gfn, p2m_type_t *t, in get_gfn_type_access() 687 static inline long p2m_pod_entry_count(const struct p2m_domain *p2m) in p2m_pod_entry_count() 717 static inline long p2m_pod_entry_count(const struct p2m_domain *p2m) in p2m_pod_entry_count() 722 static inline void p2m_pod_init(struct p2m_domain *p2m) {} in p2m_pod_init() 805 struct p2m_domain *p2m, in p2m_recalc_type_range() 820 struct p2m_domain *p2m, in p2m_recalc_type() [all …]
|
A D | paging.h | 288 struct p2m_domain *p2m = v->domain->arch.p2m; in paging_ga_to_gfn_cr3() local
|
/xen/xen/arch/x86/mm/shadow/ |
A D | none.c | 46 static unsigned long _gva_to_gfn(struct vcpu *v, struct p2m_domain *p2m, in _gva_to_gfn() 63 static int _write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn, in _write_p2m_entry()
|
/xen/xen/arch/x86/hvm/ |
A D | nestedhvm.c | 109 nestedhvm_vmcx_flushtlb(struct p2m_domain *p2m) in nestedhvm_vmcx_flushtlb()
|
A D | dm.c | 499 struct p2m_domain *p2m = p2m_get_hostp2m(d); in dm_op() local
|
/xen/tools/libxc/ |
A D | xc_resume.c | 148 xen_pfn_t *p2m = NULL; in xc_domain_resume_any() local
|
A D | xg_private.h | 110 static inline xen_pfn_t xc_pfn_to_mfn(xen_pfn_t pfn, xen_pfn_t *p2m, in xc_pfn_to_mfn()
|
A D | xc_dom_arm.c | 55 xen_pfn_t p2m[NR_MAGIC_PAGES]; in alloc_magic_pages() local
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmcs.c | 1309 struct p2m_domain *p2m = p2m_get_hostp2m(d); in construct_vmcs() local 1791 struct p2m_domain *p2m = p2m_get_hostp2m(d); in vmx_domain_update_eptp() local
|