Home
last modified time | relevance | path

Searched refs:p2m_domain (Results 1 – 25 of 42) sorted by relevance

12

/xen/xen/include/asm-x86/
A Dp2m.h188 struct p2m_domain { struct
285 void (*tlb_flush)(struct p2m_domain *p2m); argument
375 struct p2m_domain *p2m_get_nestedp2m(struct vcpu *v); argument
382 struct p2m_domain *p2m_get_p2m(struct vcpu *v);
413 void p2m_tlb_flush_sync(struct p2m_domain *p2m);
414 void p2m_unlock_and_tlb_flush(struct p2m_domain *p2m);
589 int p2m_alloc_table(struct p2m_domain *p2m);
592 void p2m_teardown(struct p2m_domain *p2m);
692 void p2m_pod_init(struct p2m_domain *p2m);
756 extern void p2m_pt_init(struct p2m_domain *p2m);
[all …]
A Dpaging.h129 struct p2m_domain *p2m,
133 struct p2m_domain *p2m,
140 int (*write_p2m_entry )(struct p2m_domain *p2m,
288 struct p2m_domain *p2m = v->domain->arch.p2m; in paging_ga_to_gfn_cr3()
360 struct p2m_domain;
362 int paging_write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn,
A Ddomain.h253 struct p2m_domain;
317 struct p2m_domain *p2m;
334 struct p2m_domain *nested_p2m[MAX_NESTEDP2M];
339 struct p2m_domain *altp2m_p2m[MAX_ALTP2M];
/xen/xen/arch/x86/mm/hap/
A Dprivate.h28 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 Dnested_hap.c75 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()
A Dguest_walk.c43 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 Dhap.c184 struct p2m_domain *p2m = p2m_get_hostp2m(d); in hap_enable_log_dirty()
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()
/xen/xen/include/asm-arm/
A Dp2m.h32 struct p2m_domain { struct
202 static inline void p2m_write_lock(struct p2m_domain *p2m) in p2m_write_lock()
207 void p2m_write_unlock(struct p2m_domain *p2m);
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()
229 void p2m_tlb_flush_sync(struct p2m_domain *p2m);
238 mfn_t p2m_get_entry(struct p2m_domain *p2m, gfn_t gfn,
247 int p2m_set_entry(struct p2m_domain *p2m,
[all …]
/xen/xen/arch/x86/mm/
A Dp2m.c111 struct p2m_domain *p2m = xzalloc(struct p2m_domain); in p2m_init_one()
173 struct p2m_domain *p2m; in p2m_teardown_nestedp2m()
189 struct p2m_domain *p2m; in p2m_init_nestedp2m()
211 struct p2m_domain *p2m; in p2m_teardown_altp2m()
226 struct p2m_domain *p2m; in p2m_init_altp2m()
1509 static struct p2m_domain *
1599 struct p2m_domain *p2m; in np2m_flush_base()
1640 struct p2m_domain *
1645 struct p2m_domain *p2m; in p2m_get_nestedp2m_locked()
1714 struct p2m_domain *
[all …]
A Dp2m-ept.c49 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()
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()
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()
[all …]
A Dmem_access.c41 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()
150 struct p2m_domain *p2m = NULL; in p2m_mem_access_check()
266 struct p2m_domain *ap2m, p2m_access_t a, in p2m_set_altp2m_mem_access()
287 static int set_mem_access(struct domain *d, struct p2m_domain *p2m, in set_mem_access()
288 struct p2m_domain *ap2m, p2m_access_t a, 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()
421 struct p2m_domain *p2m = p2m_get_hostp2m(d), *ap2m = NULL; in p2m_set_mem_access_multi()
485 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_get_mem_access()
[all …]
A Dp2m-pod.c35 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()
375 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_empty_cache()
421 struct p2m_domain *p2m; in p2m_pod_offline_or_broken_hit()
475 struct p2m_domain *p2m; in p2m_pod_offline_or_broken_replace()
510 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_decrease_reservation()
672 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_pod_dump_data()
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()
[all …]
A Dmem_paging.c101 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_populate()
173 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_resume()
222 struct p2m_domain *p2m = p2m_get_hostp2m(d); in nominate()
285 struct p2m_domain *p2m = p2m_get_hostp2m(d); in evict()
352 struct p2m_domain *p2m = p2m_get_hostp2m(d); in prepare()
A Dp2m-pt.c66 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()
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 Daltp2m.c41 struct p2m_domain *p2m; in altp2m_vcpu_destroy()
A Dmm-locks.h324 static inline void p2m_lock(struct p2m_domain *p) in p2m_lock()
333 static inline void p2m_unlock(struct p2m_domain *p) in p2m_unlock()
A Dmem_sharing.c824 struct p2m_domain *hp2m = p2m_get_hostp2m(d); in nominate_page()
865 struct p2m_domain *ap2m; in nominate_page()
1109 struct p2m_domain *p2m = p2m_get_hostp2m(cd); in add_to_physmap()
1338 struct p2m_domain *p2m = p2m_get_hostp2m(d); in relinquish_shared_pages()
1476 struct p2m_domain *p2m; in mem_sharing_fork_page()
1573 struct p2m_domain *p2m = p2m_get_hostp2m(cd); in copy_vcpu_settings()
1660 struct p2m_domain *p2m = p2m_get_hostp2m(cd); in copy_special_pages()
1803 struct p2m_domain *p2m = p2m_get_hostp2m(d); in mem_sharing_fork_reset()
/xen/xen/arch/arm/
A Dp2m.c52 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()
86 struct p2m_domain *p2m = p2m_get_hostp2m(d); in dump_p2m_lookup()
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()
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()
1288 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_insert_mapping()
1303 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_remove_mapping()
[all …]
A Dmem_access.c30 struct p2m_domain *p2m = p2m_get_hostp2m(d); in __p2m_get_mem_access()
113 struct p2m_domain *p2m = p2m_get_hostp2m(v->domain); in p2m_mem_access_check_and_get_page()
234 struct p2m_domain *p2m = p2m_get_hostp2m(v->domain); in p2m_mem_access_check()
358 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_set_mem_access()
448 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_get_mem_access()
/xen/xen/include/xen/
A Dmem_access.h68 struct p2m_domain;
69 bool xenmem_access_to_p2m_access(const struct p2m_domain *p2m,
/xen/xen/arch/x86/mm/shadow/
A Dnone.c46 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/include/asm-x86/hvm/vmx/
A Dvmx.h535 void ept_sync_domain(struct p2m_domain *p2m);
598 int ept_p2m_init(struct p2m_domain *p2m);
599 void ept_p2m_uninit(struct p2m_domain *p2m);
/xen/xen/include/asm-x86/hvm/
A Dnestedhvm.h76 void nestedhvm_vmcx_flushtlb(struct p2m_domain *p2m);
A Dvcpu.h118 struct p2m_domain *nv_p2m; /* used p2m table for this vcpu */
/xen/xen/arch/x86/hvm/
A Dnestedhvm.c109 nestedhvm_vmcx_flushtlb(struct p2m_domain *p2m) in nestedhvm_vmcx_flushtlb()

Completed in 46 milliseconds

12