Lines Matching defs:xsm_operations

46 struct xsm_operations {  struct
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);
52 int (*sysctl_scheduler_op) (int op);
53 int (*set_target) (struct domain *d, struct domain *e);
54 int (*domctl) (struct domain *d, int cmd);
55 int (*sysctl) (int cmd);
56 int (*readconsole) (uint32_t clear);
58 int (*evtchn_unbound) (struct domain *d, struct evtchn *chn, domid_t id2);
59 int (*evtchn_interdomain) (struct domain *d1, struct evtchn *chn1,
61 void (*evtchn_close_post) (struct evtchn *chn);
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);
75 int (*alloc_security_evtchn) (struct evtchn *chn);
76 void (*free_security_evtchn) (struct evtchn *chn);
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);
95 int (*kexec) (void);
96 int (*schedop_shutdown) (struct domain *d1, struct domain *d2);
98 char *(*show_irq_sid) (int irq);
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 …permission) (struct domain *d, uint32_t machine_bdf, uint16_t start, uint16_t end, uint8_t access);
111 int (*get_device_group) (uint32_t machine_bdf);
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);
121 int (*resource_plug_core) (void);
122 int (*resource_unplug_core) (void);
123 int (*resource_plug_pci) (uint32_t machine_bdf);
124 int (*resource_unplug_pci) (uint32_t machine_bdf);
125 int (*resource_setup_pci) (uint32_t machine_bdf);
126 int (*resource_setup_gsi) (int gsi);
127 int (*resource_setup_misc) (void);
129 int (*page_offline)(uint32_t cmd);
130 int (*tmem_op)(void);
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);
158 int (*platform_op) (uint32_t cmd);
161 int (*do_mca) (void);
162 int (*shadow_control) (struct domain *d, uint32_t op);
163 int (*mem_sharing_op) (struct domain *d, struct domain *cd, int op);
187 extern struct xsm_operations *xsm_ops; argument