Lines Matching refs:domctl
34 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_credit_domain_set()
35 domctl.domain = domid; in xc_sched_credit_domain_set()
36 domctl.u.scheduler_op.sched_id = XEN_SCHEDULER_CREDIT; in xc_sched_credit_domain_set()
37 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_putinfo; in xc_sched_credit_domain_set()
38 domctl.u.scheduler_op.u.credit = *sdom; in xc_sched_credit_domain_set()
40 if ( do_domctl(xch, &domctl) ) in xc_sched_credit_domain_set()
54 domctl.cmd = XEN_DOMCTL_scheduler_op; in xc_sched_credit_domain_get()
55 domctl.domain = domid; in xc_sched_credit_domain_get()
56 domctl.u.scheduler_op.sched_id = XEN_SCHEDULER_CREDIT; in xc_sched_credit_domain_get()
57 domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_getinfo; in xc_sched_credit_domain_get()
59 if ( do_domctl(xch, &domctl) ) in xc_sched_credit_domain_get()
62 *sdom = domctl.u.scheduler_op.u.credit; in xc_sched_credit_domain_get()