Lines Matching refs:p2m_domain
189 struct p2m_domain { struct
237 int (*set_entry)(struct p2m_domain *p2m, argument
243 mfn_t (*get_entry)(struct p2m_domain *p2m, argument
250 int (*recalc)(struct p2m_domain *p2m, argument
252 void (*enable_hardware_log_dirty)(struct p2m_domain *p2m); argument
253 void (*disable_hardware_log_dirty)(struct p2m_domain *p2m); argument
254 void (*flush_hardware_cached_dirty)(struct p2m_domain *p2m); argument
255 void (*change_entry_type_global)(struct p2m_domain *p2m, argument
258 int (*change_entry_type_range)(struct p2m_domain *p2m, argument
262 void (*memory_type_changed)(struct p2m_domain *p2m); argument
264 void (*write_p2m_entry)(struct p2m_domain *p2m, argument
267 long (*audit_p2m)(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
368 struct p2m_domain *p2m_get_nestedp2m_locked(struct vcpu *v);
373 struct p2m_domain *p2m_get_p2m(struct vcpu *v);
380 static inline bool_t p2m_is_hostp2m(const struct p2m_domain *p2m) in p2m_is_hostp2m()
385 static inline bool_t p2m_is_nestedp2m(const struct p2m_domain *p2m) in p2m_is_nestedp2m()
390 static inline bool_t p2m_is_altp2m(const struct p2m_domain *p2m) in p2m_is_altp2m()
400 void p2m_tlb_flush_sync(struct p2m_domain *p2m);
401 void p2m_unlock_and_tlb_flush(struct p2m_domain *p2m);
409 struct p2m_domain *p2m, unsigned long gfn, p2m_type_t *t,
420 struct p2m_domain *p2m, unsigned long gfn, p2m_type_t *t, in get_gfn_type_access()
444 void __put_gfn(struct p2m_domain *p2m, unsigned long gfn);
475 struct page_info *p2m_get_page_from_gfn(struct p2m_domain *p2m, gfn_t gfn,
567 int p2m_alloc_table(struct p2m_domain *p2m);
570 void p2m_teardown(struct p2m_domain *p2m);
620 int p2m_is_logdirty_range(struct p2m_domain *, unsigned long start,
687 mfn_t p2m_alloc_ptp(struct p2m_domain *p2m, unsigned int level);
688 void p2m_free_ptp(struct p2m_domain *p2m, struct page_info *pg);
692 int p2m_set_entry(struct p2m_domain *p2m, gfn_t gfn, mfn_t mfn,
696 extern void p2m_pt_init(struct p2m_domain *p2m);
698 void *map_domain_gfn(struct p2m_domain *p2m, gfn_t gfn, mfn_t *mfn,
730 p2m_pod_demand_populate(struct p2m_domain *p2m, gfn_t gfn, unsigned int order);
749 struct p2m_domain *p2m, in p2m_recalc_type_range()
764 struct p2m_domain *p2m, in p2m_recalc_type()
777 void p2m_flush(struct vcpu *v, struct p2m_domain *p2m);
783 void nestedp2m_write_p2m_entry(struct p2m_domain *p2m, unsigned long gfn,
791 static inline struct p2m_domain *p2m_get_altp2m(struct vcpu *v) in p2m_get_altp2m()
814 unsigned long gla, struct npfec npfec, struct p2m_domain **ap2m);