/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | p2m.h | 189 struct p2m_domain { struct 250 int (*recalc)(struct p2m_domain *p2m, argument 281 void (*tlb_flush)(struct p2m_domain *p2m); argument 366 struct p2m_domain *p2m_get_nestedp2m(struct vcpu *v); argument 373 struct p2m_domain *p2m_get_p2m(struct vcpu *v); 400 void p2m_tlb_flush_sync(struct p2m_domain *p2m); 401 void p2m_unlock_and_tlb_flush(struct p2m_domain *p2m); 567 int p2m_alloc_table(struct p2m_domain *p2m); 570 void p2m_teardown(struct p2m_domain *p2m); 696 extern void p2m_pt_init(struct p2m_domain *p2m); [all …]
|
A D | paging.h | 117 struct p2m_domain *p2m, 121 struct p2m_domain *p2m, 271 struct p2m_domain *p2m = v->domain->arch.p2m; in paging_ga_to_gfn_cr3() 340 struct p2m_domain; 342 void paging_write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn,
|
A D | domain.h | 242 struct p2m_domain; 299 struct p2m_domain *p2m; 323 struct p2m_domain *nested_p2m[MAX_NESTEDP2M]; 328 struct p2m_domain *altp2m_p2m[MAX_ALTP2M];
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/ |
A D | private.h | 28 struct p2m_domain *p2m, 32 struct p2m_domain *p2m, 36 struct p2m_domain *p2m, 41 struct p2m_domain *p2m, unsigned long cr3, 44 struct p2m_domain *p2m, unsigned long cr3, 47 struct p2m_domain *p2m, unsigned long cr3,
|
A D | nested_hap.c | 78 nestedp2m_write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn, in nestedp2m_write_p2m_entry() 99 nestedhap_fix_p2m(struct vcpu *v, struct p2m_domain *p2m, in nestedhap_fix_p2m() 151 nestedhap_walk_L0_p2m(struct p2m_domain *p2m, paddr_t L1_gpa, paddr_t *L0_gpa, in nestedhap_walk_L0_p2m() 200 struct p2m_domain *p2m, *nested_p2m; in nestedhvm_hap_nested_page_fault()
|
A D | guest_walk.c | 43 struct vcpu *v, struct p2m_domain *p2m, unsigned long gva, uint32_t *pfec) in hap_gva_to_gfn() 50 struct vcpu *v, struct p2m_domain *p2m, unsigned long cr3, in hap_p2m_ga_to_gfn()
|
A D | hap.c | 190 struct p2m_domain *p2m = p2m_get_hostp2m(d); in hap_enable_log_dirty() 753 struct vcpu *v, struct p2m_domain *p2m, unsigned long gva, uint32_t *pfec) in hap_gva_to_gfn_real_mode() 759 struct vcpu *v, struct p2m_domain *p2m, unsigned long cr3, in hap_p2m_ga_to_gfn_real_mode()
|
A D | nested_ept.c | 162 struct p2m_domain *p2m = d->arch.p2m; in nept_walk_tables()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | p2m.h | 23 struct p2m_domain { struct 180 static inline void p2m_write_lock(struct p2m_domain *p2m) in p2m_write_lock() 185 void p2m_write_unlock(struct p2m_domain *p2m); 187 static inline void p2m_read_lock(struct p2m_domain *p2m) in p2m_read_lock() 192 static inline void p2m_read_unlock(struct p2m_domain *p2m) in p2m_read_unlock() 197 static inline int p2m_is_locked(struct p2m_domain *p2m) in p2m_is_locked() 202 static inline int p2m_is_write_locked(struct p2m_domain *p2m) in p2m_is_write_locked() 214 mfn_t p2m_get_entry(struct p2m_domain *p2m, gfn_t gfn, 222 int p2m_set_entry(struct p2m_domain *p2m,
|
A D | domain.h | 51 struct p2m_domain p2m;
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/ |
A D | p2m.c | 93 struct p2m_domain *p2m = xzalloc(struct p2m_domain); in p2m_init_one() 154 struct p2m_domain *p2m; in p2m_teardown_nestedp2m() 170 struct p2m_domain *p2m; in p2m_init_nestedp2m() 192 struct p2m_domain *p2m; in p2m_teardown_altp2m() 207 struct p2m_domain *p2m; in p2m_init_altp2m() 1718 static struct p2m_domain * 1805 struct p2m_domain *p2m; in np2m_flush_base() 1846 struct p2m_domain * 1851 struct p2m_domain *p2m; in p2m_get_nestedp2m_locked() 1920 struct p2m_domain * [all …]
|
A D | mem_access.c | 39 static int _p2m_get_mem_access(struct p2m_domain *p2m, gfn_t gfn, in _p2m_get_mem_access() 89 struct p2m_domain *p2m = NULL; in p2m_mem_access_emulate_check() 147 struct p2m_domain *p2m = NULL; in p2m_mem_access_check() 239 int p2m_set_altp2m_mem_access(struct domain *d, struct p2m_domain *hp2m, in p2m_set_altp2m_mem_access() 240 struct p2m_domain *ap2m, p2m_access_t a, in p2m_set_altp2m_mem_access() 280 static int set_mem_access(struct domain *d, struct p2m_domain *p2m, in set_mem_access() 281 struct p2m_domain *ap2m, p2m_access_t a, in set_mem_access() 306 static bool xenmem_access_to_p2m_access(struct p2m_domain *p2m, in xenmem_access_to_p2m_access() 348 struct p2m_domain *p2m = p2m_get_hostp2m(d), *ap2m = NULL; in p2m_set_mem_access() 405 struct p2m_domain *p2m = p2m_get_hostp2m(d), *ap2m = NULL; in p2m_set_mem_access_multi() [all …]
|
A D | p2m-ept.c | 913 static mfn_t ept_get_entry(struct p2m_domain *p2m, in ept_get_entry() 1027 struct p2m_domain *p2m = p2m_get_hostp2m(d); in ept_walk_table() 1182 void ept_sync_domain(struct p2m_domain *p2m) in ept_sync_domain() 1201 static void ept_tlb_flush(struct p2m_domain *p2m) in ept_tlb_flush() 1206 static void ept_enable_pml(struct p2m_domain *p2m) in ept_enable_pml() 1224 static void ept_disable_pml(struct p2m_domain *p2m) in ept_disable_pml() 1244 int ept_p2m_init(struct p2m_domain *p2m) in ept_p2m_init() 1282 void ept_p2m_uninit(struct p2m_domain *p2m) in ept_p2m_uninit() 1312 struct p2m_domain *p2m; in ept_dump_p2m_table() 1373 struct p2m_domain *p2m = d->arch.altp2m_p2m[i]; in p2m_init_altp2m_ept() [all …]
|
A D | p2m-pod.c | 41 static inline void lock_page_alloc(struct p2m_domain *p2m) in lock_page_alloc() 59 p2m_pod_cache_add(struct p2m_domain *p2m, in p2m_pod_cache_add() 339 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_set_mem_target() 382 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_empty_cache() 428 struct p2m_domain *p2m; in p2m_pod_offline_or_broken_hit() 482 struct p2m_domain *p2m; in p2m_pod_offline_or_broken_replace() 518 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_decrease_reservation() 692 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_dump_data() 1038 p2m_pod_emergency_sweep(struct p2m_domain *p2m) in p2m_pod_emergency_sweep() 1092 static void pod_eager_reclaim(struct p2m_domain *p2m) in pod_eager_reclaim() [all …]
|
A D | p2m-pt.c | 74 static unsigned long p2m_type_to_flags(const struct p2m_domain *p2m, in p2m_type_to_flags() 185 p2m_next_level(struct p2m_domain *p2m, void **table, in p2m_next_level() 283 static int p2m_pt_set_recalc_range(struct p2m_domain *p2m, in p2m_pt_set_recalc_range() 348 static int do_recalc(struct p2m_domain *p2m, unsigned long gfn) in do_recalc() 470 struct p2m_domain *p2m = p2m_get_hostp2m(current->domain); in p2m_pt_handle_deferred_changes() 482 p2m_pt_set_entry(struct p2m_domain *p2m, gfn_t gfn_, mfn_t mfn, in p2m_pt_set_entry() 735 p2m_pt_get_entry(struct p2m_domain *p2m, gfn_t gfn_, in p2m_pt_get_entry() 903 static void p2m_pt_change_entry_type_global(struct p2m_domain *p2m, in p2m_pt_change_entry_type_global() 935 static int p2m_pt_change_entry_type_range(struct p2m_domain *p2m, in p2m_pt_change_entry_type_range() 977 long p2m_pt_audit_p2m(struct p2m_domain *p2m) in p2m_pt_audit_p2m() [all …]
|
A D | altp2m.c | 51 struct p2m_domain *p2m; in altp2m_vcpu_destroy()
|
A D | mem_sharing.c | 774 struct p2m_domain *hp2m = p2m_get_hostp2m(d); in nominate_page() 814 struct p2m_domain *ap2m; in nominate_page() 1018 struct p2m_domain *p2m = p2m_get_hostp2m(cd); in mem_sharing_add_to_physmap() 1216 struct p2m_domain *p2m = p2m_get_hostp2m(d); in relinquish_shared_pages()
|
A D | guest_walk.c | 83 guest_walk_tables(struct vcpu *v, struct p2m_domain *p2m, in guest_walk_tables()
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | p2m.c | 55 static void p2m_flush_tlb(struct p2m_domain *p2m); 58 void p2m_write_unlock(struct p2m_domain *p2m) in p2m_write_unlock() 76 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_dump_info() 96 struct p2m_domain *p2m = p2m_get_hostp2m(d); in dump_p2m_lookup() 141 static void p2m_flush_tlb(struct p2m_domain *p2m) in p2m_flush_tlb() 380 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_lookup() 976 int p2m_set_entry(struct p2m_domain *p2m, in p2m_set_entry() 1030 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_insert_mapping() 1045 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_remove_mapping() 1127 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_alloc_table() [all …]
|
A D | mem_access.c | 30 struct p2m_domain *p2m = p2m_get_hostp2m(d); in __p2m_get_mem_access() 112 struct p2m_domain *p2m = p2m_get_hostp2m(v->domain); in p2m_mem_access_check_and_get_page() 229 struct p2m_domain *p2m = p2m_get_hostp2m(v->domain); in p2m_mem_access_check() 353 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_set_mem_access() 443 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_get_mem_access()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/vmx/ |
A D | vmx.h | 525 void ept_sync_domain(struct p2m_domain *p2m); 588 int ept_p2m_init(struct p2m_domain *p2m); 589 void ept_p2m_uninit(struct p2m_domain *p2m); 600 int alloc_p2m_hap_data(struct p2m_domain *p2m); 601 void free_p2m_hap_data(struct p2m_domain *p2m); 602 void p2m_init_hap_data(struct p2m_domain *p2m);
|
/xen-4.10.0-shim-comet/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()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/ |
A D | nestedhvm.h | 71 void nestedhvm_vmcx_flushtlb(struct p2m_domain *p2m);
|
A D | vcpu.h | 117 struct p2m_domain *nv_p2m; /* used p2m table for this vcpu */
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | nestedhvm.c | 116 nestedhvm_vmcx_flushtlb(struct p2m_domain *p2m) in nestedhvm_vmcx_flushtlb()
|