Lines Matching refs:domain

47     void (*security_domaininfo) (struct domain *d,
49 int (*domain_create) (struct domain *d, u32 ssidref);
50 int (*getdomaininfo) (struct domain *d);
51 int (*domctl_scheduler_op) (struct domain *d, int op);
53 int (*set_target) (struct domain *d, struct domain *e);
54 int (*domctl) (struct domain *d, int cmd);
58 int (*evtchn_unbound) (struct domain *d, struct evtchn *chn, domid_t id2);
59 int (*evtchn_interdomain) (struct domain *d1, struct evtchn *chn1,
60 struct domain *d2, struct evtchn *chn2);
62 int (*evtchn_send) (struct domain *d, struct evtchn *chn);
63 int (*evtchn_status) (struct domain *d, struct evtchn *chn);
64 int (*evtchn_reset) (struct domain *d1, struct domain *d2);
66 int (*grant_mapref) (struct domain *d1, struct domain *d2, uint32_t flags);
67 int (*grant_unmapref) (struct domain *d1, struct domain *d2);
68 int (*grant_setup) (struct domain *d1, struct domain *d2);
69 int (*grant_transfer) (struct domain *d1, struct domain *d2);
70 int (*grant_copy) (struct domain *d1, struct domain *d2);
71 int (*grant_query_size) (struct domain *d1, struct domain *d2);
73 int (*alloc_security_domain) (struct domain *d);
74 void (*free_security_domain) (struct domain *d);
77 char *(*show_security_evtchn) (struct domain *d, const struct evtchn *chn);
78 int (*init_hardware_domain) (struct domain *d);
80 int (*get_pod_target) (struct domain *d);
81 int (*set_pod_target) (struct domain *d);
82 int (*memory_exchange) (struct domain *d);
83 int (*memory_adjust_reservation) (struct domain *d1, struct domain *d2);
84 int (*memory_stat_reservation) (struct domain *d1, struct domain *d2);
85 int (*memory_pin_page) (struct domain *d1, struct domain *d2, struct page_info *page);
86 int (*add_to_physmap) (struct domain *d1, struct domain *d2);
87 int (*remove_from_physmap) (struct domain *d1, struct domain *d2);
88 int (*map_gmfn_foreign) (struct domain *d, struct domain *t);
89 int (*claim_pages) (struct domain *d);
91 int (*console_io) (struct domain *d, int cmd);
93 int (*profile) (struct domain *d, int op);
96 int (*schedop_shutdown) (struct domain *d1, struct domain *d2);
99 int (*map_domain_pirq) (struct domain *d);
100 int (*map_domain_irq) (struct domain *d, int irq, void *data);
101 int (*unmap_domain_pirq) (struct domain *d);
102 int (*unmap_domain_irq) (struct domain *d, int irq, void *data);
103 int (*bind_pt_irq) (struct domain *d, struct xen_domctl_bind_pt_irq *bind);
104 int (*unbind_pt_irq) (struct domain *d, struct xen_domctl_bind_pt_irq *bind);
105 int (*irq_permission) (struct domain *d, int pirq, uint8_t allow);
106 int (*iomem_permission) (struct domain *d, uint64_t s, uint64_t e, uint8_t allow);
107 int (*iomem_mapping) (struct domain *d, uint64_t s, uint64_t e, uint8_t allow);
108 …int (*pci_config_permission) (struct domain *d, uint32_t machine_bdf, uint16_t start, uint16_t end…
112 int (*assign_device) (struct domain *d, uint32_t machine_bdf);
113 int (*deassign_device) (struct domain *d, uint32_t machine_bdf);
117 int (*assign_dtdevice) (struct domain *d, const char *dtpath);
118 int (*deassign_dtdevice) (struct domain *d, const char *dtpath);
137 int (*hvm_param) (struct domain *d, unsigned long op);
138 int (*hvm_control) (struct domain *d, unsigned long op);
139 int (*hvm_param_nested) (struct domain *d);
140 int (*hvm_param_altp2mhvm) (struct domain *d);
141 int (*hvm_altp2mhvm_op) (struct domain *d, uint64_t mode, uint32_t op);
142 int (*get_vnumainfo) (struct domain *d);
144 int (*vm_event_control) (struct domain *d, int mode, int op);
147 int (*mem_access) (struct domain *d);
151 int (*mem_paging) (struct domain *d);
155 int (*mem_sharing) (struct domain *d);
162 int (*shadow_control) (struct domain *d, uint32_t op);
163 int (*mem_sharing_op) (struct domain *d, struct domain *cd, int op);
164 int (*apic) (struct domain *d, int cmd);
167 int (*domain_memory_map) (struct domain *d);
172 int (*mmu_update) (struct domain *d, struct domain *t,
173 struct domain *f, uint32_t flags);
174 int (*mmuext_op) (struct domain *d, struct domain *f);
175 int (*update_va_mapping) (struct domain *d, struct domain *f, l1_pgentry_t pte);
176 int (*priv_mapping) (struct domain *d, struct domain *t);
177 int (*ioport_permission) (struct domain *d, uint32_t s, uint32_t e, uint8_t allow);
178 int (*ioport_mapping) (struct domain *d, uint32_t s, uint32_t e, uint8_t allow);
179 int (*pmu_op) (struct domain *d, unsigned int op);
180 int (*dm_op) (struct domain *d);
191 static inline void xsm_security_domaininfo (struct domain *d, in xsm_security_domaininfo()
197 static inline int xsm_domain_create (xsm_default_t def, struct domain *d, u32 ssidref) in xsm_domain_create()
202 static inline int xsm_getdomaininfo (xsm_default_t def, struct domain *d) in xsm_getdomaininfo()
207 static inline int xsm_domctl_scheduler_op (xsm_default_t def, struct domain *d, int cmd) in xsm_domctl_scheduler_op()
217 static inline int xsm_set_target (xsm_default_t def, struct domain *d, struct domain *e) in xsm_set_target()
222 static inline int xsm_domctl (xsm_default_t def, struct domain *d, int cmd) in xsm_domctl()
237 static inline int xsm_evtchn_unbound (xsm_default_t def, struct domain *d1, struct evtchn *chn, in xsm_evtchn_unbound()
243 static inline int xsm_evtchn_interdomain (xsm_default_t def, struct domain *d1, in xsm_evtchn_interdomain()
244 struct evtchn *chan1, struct domain *d2, struct evtchn *chan2) in xsm_evtchn_interdomain()
254 static inline int xsm_evtchn_send (xsm_default_t def, struct domain *d, struct evtchn *chn) in xsm_evtchn_send()
259 static inline int xsm_evtchn_status (xsm_default_t def, struct domain *d, struct evtchn *chn) in xsm_evtchn_status()
264 static inline int xsm_evtchn_reset (xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_evtchn_reset()
269 static inline int xsm_grant_mapref (xsm_default_t def, struct domain *d1, struct domain *d2, in xsm_grant_mapref()
275 static inline int xsm_grant_unmapref (xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_grant_unmapref()
280 static inline int xsm_grant_setup (xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_grant_setup()
285 static inline int xsm_grant_transfer (xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_grant_transfer()
290 static inline int xsm_grant_copy (xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_grant_copy()
295 static inline int xsm_grant_query_size (xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_grant_query_size()
300 static inline int xsm_alloc_security_domain (struct domain *d) in xsm_alloc_security_domain()
305 static inline void xsm_free_security_domain (struct domain *d) in xsm_free_security_domain()
320 static inline char *xsm_show_security_evtchn (struct domain *d, const struct evtchn *chn) in xsm_show_security_evtchn()
325 static inline int xsm_init_hardware_domain (xsm_default_t def, struct domain *d) in xsm_init_hardware_domain()
330 static inline int xsm_get_pod_target (xsm_default_t def, struct domain *d) in xsm_get_pod_target()
335 static inline int xsm_set_pod_target (xsm_default_t def, struct domain *d) in xsm_set_pod_target()
340 static inline int xsm_memory_exchange (xsm_default_t def, struct domain *d) in xsm_memory_exchange()
345 static inline int xsm_memory_adjust_reservation (xsm_default_t def, struct domain *d1, struct in xsm_memory_adjust_reservation()
346 domain *d2) in xsm_memory_adjust_reservation()
351 static inline int xsm_memory_stat_reservation (xsm_default_t def, struct domain *d1, in xsm_memory_stat_reservation()
352 struct domain *d2) in xsm_memory_stat_reservation()
357 static inline int xsm_memory_pin_page(xsm_default_t def, struct domain *d1, struct domain *d2, in xsm_memory_pin_page()
363 static inline int xsm_add_to_physmap(xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_add_to_physmap()
368 static inline int xsm_remove_from_physmap(xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_remove_from_physmap()
373 static inline int xsm_map_gmfn_foreign (xsm_default_t def, struct domain *d, struct domain *t) in xsm_map_gmfn_foreign()
378 static inline int xsm_claim_pages(xsm_default_t def, struct domain *d) in xsm_claim_pages()
383 static inline int xsm_console_io (xsm_default_t def, struct domain *d, int cmd) in xsm_console_io()
388 static inline int xsm_profile (xsm_default_t def, struct domain *d, int op) in xsm_profile()
398 static inline int xsm_schedop_shutdown (xsm_default_t def, struct domain *d1, struct domain *d2) in xsm_schedop_shutdown()
408 static inline int xsm_map_domain_pirq (xsm_default_t def, struct domain *d) in xsm_map_domain_pirq()
413 static inline int xsm_map_domain_irq (xsm_default_t def, struct domain *d, int irq, void *data) in xsm_map_domain_irq()
418 static inline int xsm_unmap_domain_pirq (xsm_default_t def, struct domain *d) in xsm_unmap_domain_pirq()
423 static inline int xsm_unmap_domain_irq (xsm_default_t def, struct domain *d, int irq, void *data) in xsm_unmap_domain_irq()
428 static inline int xsm_bind_pt_irq(xsm_default_t def, struct domain *d, in xsm_bind_pt_irq()
434 static inline int xsm_unbind_pt_irq(xsm_default_t def, struct domain *d, in xsm_unbind_pt_irq()
440 static inline int xsm_irq_permission (xsm_default_t def, struct domain *d, int pirq, uint8_t allow) in xsm_irq_permission()
445 static inline int xsm_iomem_permission (xsm_default_t def, struct domain *d, uint64_t s, uint64_t e… in xsm_iomem_permission()
450 static inline int xsm_iomem_mapping (xsm_default_t def, struct domain *d, uint64_t s, uint64_t e, u… in xsm_iomem_mapping()
455 static inline int xsm_pci_config_permission (xsm_default_t def, struct domain *d, uint32_t machine_… in xsm_pci_config_permission()
466 static inline int xsm_assign_device(xsm_default_t def, struct domain *d, uint32_t machine_bdf) in xsm_assign_device()
471 static inline int xsm_deassign_device(xsm_default_t def, struct domain *d, uint32_t machine_bdf) in xsm_deassign_device()
478 static inline int xsm_assign_dtdevice(xsm_default_t def, struct domain *d, in xsm_assign_dtdevice()
484 static inline int xsm_deassign_dtdevice(xsm_default_t def, struct domain *d, in xsm_deassign_dtdevice()
549 static inline int xsm_hvm_param (xsm_default_t def, struct domain *d, unsigned long op) in xsm_hvm_param()
554 static inline int xsm_hvm_control(xsm_default_t def, struct domain *d, unsigned long op) in xsm_hvm_control()
559 static inline int xsm_hvm_param_nested (xsm_default_t def, struct domain *d) in xsm_hvm_param_nested()
564 static inline int xsm_hvm_param_altp2mhvm (xsm_default_t def, struct domain *d) in xsm_hvm_param_altp2mhvm()
569 static inline int xsm_hvm_altp2mhvm_op (xsm_default_t def, struct domain *d, uint64_t mode, uint32_… in xsm_hvm_altp2mhvm_op()
574 static inline int xsm_get_vnumainfo (xsm_default_t def, struct domain *d) in xsm_get_vnumainfo()
579 static inline int xsm_vm_event_control (xsm_default_t def, struct domain *d, int mode, int op) in xsm_vm_event_control()
585 static inline int xsm_mem_access (xsm_default_t def, struct domain *d) in xsm_mem_access()
592 static inline int xsm_mem_paging (xsm_default_t def, struct domain *d) in xsm_mem_paging()
599 static inline int xsm_mem_sharing (xsm_default_t def, struct domain *d) in xsm_mem_sharing()
616 static inline int xsm_shadow_control (xsm_default_t def, struct domain *d, uint32_t op) in xsm_shadow_control()
621 static inline int xsm_mem_sharing_op (xsm_default_t def, struct domain *d, struct domain *cd, int o… in xsm_mem_sharing_op()
626 static inline int xsm_apic (xsm_default_t def, struct domain *d, int cmd) in xsm_apic()
641 static inline int xsm_domain_memory_map(xsm_default_t def, struct domain *d) in xsm_domain_memory_map()
646 static inline int xsm_mmu_update (xsm_default_t def, struct domain *d, struct domain *t, in xsm_mmu_update()
647 struct domain *f, uint32_t flags) in xsm_mmu_update()
652 static inline int xsm_mmuext_op (xsm_default_t def, struct domain *d, struct domain *f) in xsm_mmuext_op()
657 static inline int xsm_update_va_mapping(xsm_default_t def, struct domain *d, struct domain *f, in xsm_update_va_mapping()
663 static inline int xsm_priv_mapping(xsm_default_t def, struct domain *d, struct domain *t) in xsm_priv_mapping()
668 static inline int xsm_ioport_permission (xsm_default_t def, struct domain *d, uint32_t s, uint32_t … in xsm_ioport_permission()
673 static inline int xsm_ioport_mapping (xsm_default_t def, struct domain *d, uint32_t s, uint32_t e, … in xsm_ioport_mapping()
678 static inline int xsm_pmu_op (xsm_default_t def, struct domain *d, unsigned int op) in xsm_pmu_op()
683 static inline int xsm_dm_op(xsm_default_t def, struct domain *d) in xsm_dm_op()