Home
last modified time | relevance | path

Searched refs:mop (Results 1 – 5 of 5) sorted by relevance

/xen-4.10.0-shim-comet/xen/common/
A Dmonitor.c31 int monitor_domctl(struct domain *d, struct xen_domctl_monitor_op *mop) in monitor_domctl() argument
39 rc = xsm_vm_event_control(XSM_PRIV, d, mop->op, mop->event); in monitor_domctl()
43 switch ( mop->op ) in monitor_domctl()
50 if ( unlikely(mop->event > 31) ) in monitor_domctl()
53 if ( unlikely(!(arch_monitor_get_capabilities(d) & (1U << mop->event))) ) in monitor_domctl()
58 mop->event = arch_monitor_get_capabilities(d); in monitor_domctl()
63 return arch_monitor_domctl_op(d, mop); in monitor_domctl()
66 switch ( mop->event ) in monitor_domctl()
76 d->monitor.guest_request_sync = mop->u.guest_request.sync; in monitor_domctl()
78 arch_monitor_allow_userspace(d, mop->u.guest_request.allow_userspace); in monitor_domctl()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dmonitor.c123 struct xen_domctl_monitor_op *mop) in arch_monitor_domctl_event() argument
126 bool requested_status = (XEN_DOMCTL_MONITOR_OP_ENABLE == mop->op); in arch_monitor_domctl_event()
128 switch ( mop->event ) in arch_monitor_domctl_event()
135 if ( unlikely(mop->u.mov_to_cr.index >= in arch_monitor_domctl_event()
139 if ( unlikely(mop->u.mov_to_cr.pad1 || mop->u.mov_to_cr.pad2) ) in arch_monitor_domctl_event()
150 if ( mop->u.mov_to_cr.sync ) in arch_monitor_domctl_event()
155 if ( mop->u.mov_to_cr.onchangeonly ) in arch_monitor_domctl_event()
162 ad->monitor.write_ctrlreg_mask[mop->u.mov_to_cr.index] = mop->u.mov_to_cr.bitmask; in arch_monitor_domctl_event()
167 ad->monitor.write_ctrlreg_mask[mop->u.mov_to_cr.index] = 0; in arch_monitor_domctl_event()
171 if ( VM_EVENT_X86_CR3 == mop->u.mov_to_cr.index ) in arch_monitor_domctl_event()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dmonitor.h42 int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) in arch_monitor_domctl_op() argument
46 switch ( mop->op ) in arch_monitor_domctl_op()
55 d->arch.mem_access_emulate_each_rep = !!mop->event; in arch_monitor_domctl_op()
100 struct xen_domctl_monitor_op *mop);
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dmonitor.c28 struct xen_domctl_monitor_op *mop) in arch_monitor_domctl_event() argument
31 bool requested_status = (XEN_DOMCTL_MONITOR_OP_ENABLE == mop->op); in arch_monitor_domctl_event()
33 switch ( mop->event ) in arch_monitor_domctl_event()
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dmonitor.h34 int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op *mop) in arch_monitor_domctl_op() argument
41 struct xen_domctl_monitor_op *mop);

Completed in 11 milliseconds