Lines Matching refs:p2m_domain

59 static int p2m_initialise(struct domain *d, struct p2m_domain *p2m)  in p2m_initialise()
91 static struct p2m_domain *p2m_init_one(struct domain *d) in p2m_init_one()
93 struct p2m_domain *p2m = xzalloc(struct p2m_domain); in p2m_init_one()
112 static void p2m_free_one(struct p2m_domain *p2m) in p2m_free_one()
122 struct p2m_domain *p2m = p2m_init_one(d); in p2m_init_hostp2m()
141 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_teardown_hostp2m()
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()
254 int p2m_is_logdirty_range(struct p2m_domain *p2m, unsigned long start, in p2m_is_logdirty_range()
269 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_change_entry_type_global()
282 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_memory_type_changed()
296 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_set_ioreq_server()
345 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_get_ioreq_server()
359 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_enable_hardware_log_dirty()
371 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_disable_hardware_log_dirty()
383 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_flush_hardware_cached_dirty()
398 void p2m_tlb_flush_sync(struct p2m_domain *p2m) in p2m_tlb_flush_sync()
409 void p2m_unlock_and_tlb_flush(struct p2m_domain *p2m) in p2m_unlock_and_tlb_flush()
419 mfn_t __get_gfn_type_access(struct p2m_domain *p2m, unsigned long gfn_l, in __get_gfn_type_access()
465 void __put_gfn(struct p2m_domain *p2m, unsigned long gfn) in __put_gfn()
478 struct p2m_domain *p2m, gfn_t gfn, in p2m_get_page_from_gfn()
536 int p2m_set_entry(struct p2m_domain *p2m, gfn_t gfn, mfn_t mfn, in p2m_set_entry()
575 mfn_t p2m_alloc_ptp(struct p2m_domain *p2m, unsigned int level) in p2m_alloc_ptp()
595 void p2m_free_ptp(struct p2m_domain *p2m, struct page_info *pg) in p2m_free_ptp()
616 int p2m_alloc_table(struct p2m_domain *p2m) in p2m_alloc_table()
672 void p2m_teardown(struct p2m_domain *p2m) in p2m_teardown()
708 p2m_remove_page(struct p2m_domain *p2m, unsigned long gfn_l, unsigned long mfn, in p2m_remove_page()
757 struct p2m_domain *p2m = p2m_get_hostp2m(d); in guest_physmap_remove_page()
769 struct p2m_domain *p2m = p2m_get_hostp2m(d); in guest_physmap_add_entry()
953 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_change_type_one()
978 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_change_type_range()
1038 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_finish_type_change()
1088 struct p2m_domain *p2m = p2m_get_hostp2m(d); in set_typed_p2m_entry()
1160 struct p2m_domain *p2m = p2m_get_hostp2m(d); in set_identity_p2m_entry()
1211 struct p2m_domain *p2m = p2m_get_hostp2m(d); in clear_mmio_p2m_entry()
1250 struct p2m_domain *p2m = p2m_get_hostp2m(d); in clear_identity_p2m_entry()
1284 struct p2m_domain *p2m = p2m_get_hostp2m(d); in set_shared_p2m_entry()
1340 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_nominate()
1406 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_evict()
1526 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_populate()
1596 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_prep()
1685 struct p2m_domain *p2m = p2m_get_hostp2m(d); in p2m_mem_paging_resume()
1718 static struct p2m_domain *
1719 p2m_getlru_nestedp2m(struct domain *d, struct p2m_domain *p2m) in p2m_getlru_nestedp2m()
1726 p2m = list_entry(lru_list->prev, struct p2m_domain, np2m_list); in p2m_getlru_nestedp2m()
1734 p2m_flush_table_locked(struct p2m_domain *p2m) in p2m_flush_table_locked()
1778 p2m_flush_table(struct p2m_domain *p2m) in p2m_flush_table()
1786 p2m_flush(struct vcpu *v, struct p2m_domain *p2m) in p2m_flush()
1805 struct p2m_domain *p2m; in np2m_flush_base()
1826 static void assign_np2m(struct vcpu *v, struct p2m_domain *p2m) in assign_np2m()
1846 struct p2m_domain *
1851 struct p2m_domain *p2m; in p2m_get_nestedp2m_locked()
1912 struct p2m_domain *p2m_get_nestedp2m(struct vcpu *v) in p2m_get_nestedp2m()
1914 struct p2m_domain *p2m = p2m_get_nestedp2m_locked(v); in p2m_get_nestedp2m()
1920 struct p2m_domain *
1933 struct p2m_domain *p2m; in np2m_schedule()
1977 struct p2m_domain *hostp2m = p2m_get_hostp2m(v->domain); in paging_gva_to_gfn()
1983 struct p2m_domain *p2m; in paging_gva_to_gfn()
2024 void *map_domain_gfn(struct p2m_domain *p2m, gfn_t gfn, mfn_t *mfn, in map_domain_gfn()
2199 struct p2m_domain **ap2m) in p2m_altp2m_lazy_copy()
2201 struct p2m_domain *hp2m = p2m_get_hostp2m(v->domain); in p2m_altp2m_lazy_copy()
2312 struct p2m_domain *p2m; in p2m_destroy_altp2m_by_id()
2380 struct p2m_domain *hp2m, *ap2m; in p2m_change_altp2m_gfn()
2456 static void p2m_reset_altp2m(struct p2m_domain *p2m) in p2m_reset_altp2m()
2470 struct p2m_domain *p2m; in p2m_altp2m_propagate_change()
2546 struct p2m_domain *p2m = p2m_get_hostp2m(d); in audit_p2m()