Lines Matching refs:mop
31 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()
85 return arch_monitor_domctl_event(d, mop); in monitor_domctl()