Lines Matching refs:sysctl
75 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit_params_set()
76 sysctl.u.scheduler_op.cpupool_id = cpupool_id; in xc_sched_credit_params_set()
77 sysctl.u.scheduler_op.sched_id = XEN_SCHEDULER_CREDIT; in xc_sched_credit_params_set()
78 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_putinfo; in xc_sched_credit_params_set()
80 sysctl.u.scheduler_op.u.sched_credit = *schedule; in xc_sched_credit_params_set()
82 if ( do_sysctl(xch, &sysctl) ) in xc_sched_credit_params_set()
85 *schedule = sysctl.u.scheduler_op.u.sched_credit; in xc_sched_credit_params_set()
98 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit_params_get()
99 sysctl.u.scheduler_op.cpupool_id = cpupool_id; in xc_sched_credit_params_get()
100 sysctl.u.scheduler_op.sched_id = XEN_SCHEDULER_CREDIT; in xc_sched_credit_params_get()
101 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_getinfo; in xc_sched_credit_params_get()
103 if ( do_sysctl(xch, &sysctl) ) in xc_sched_credit_params_get()
106 *schedule = sysctl.u.scheduler_op.u.sched_credit; in xc_sched_credit_params_get()