/xen/xen/common/sched/ |
A D | credit.c | 648 struct csched_dom * const sdom = svc->sdom; in __csched_unit_check() local 652 if ( sdom ) in __csched_unit_check() 870 struct csched_dom * const sdom = svc->sdom; in __csched_unit_acct_start() local 900 struct csched_dom * const sdom = svc->sdom; in __csched_unit_acct_stop_locked() local 1050 struct csched_dom * const sdom = svc->sdom; in csched_unit_remove() local 1299 return sdom; in csched_alloc_domdata() 1415 weight_left -= ( sdom->weight * sdom->active_unit_count ); in csched_acct() 1490 BUG_ON( sdom != svc->sdom ); in csched_acct() 2003 struct csched_dom * const sdom = svc->sdom; in csched_dump_unit() local 2012 if ( sdom ) in csched_dump_unit() [all …]
|
A D | credit2.c | 1936 struct csched2_dom *sdom = svc->sdom; in unit_grab_budget() local 1983 struct csched2_dom *sdom = svc->sdom; in unit_return_budget() local 2072 sdom->budget += sdom->tot_budget; in do_replenish() 2125 sdom->budget = min(sdom->budget, sdom->tot_budget); in replenish_domain_budget() 2139 set_timer(&sdom->repl_timer, sdom->next_repl); in replenish_domain_budget() 2147 struct csched2_dom * const sdom = svc->sdom; in csched2_unit_check() local 2151 if ( sdom ) in csched2_unit_check() 3004 sdom->budget = sdom->tot_budget; in csched2_dom_cntl() 3006 set_timer(&sdom->repl_timer, sdom->next_repl); in csched2_dom_cntl() 3189 if ( sdom ) in csched2_free_domdata() [all …]
|
A D | rt.c | 213 struct rt_dom *sdom; member 315 if( svc->sdom == NULL ) in rt_dump_unit() 789 struct rt_dom *sdom; in rt_alloc_domdata() local 793 if ( sdom == NULL ) in rt_alloc_domdata() 797 sdom->dom = dom; in rt_alloc_domdata() 801 list_add_tail(&sdom->sdom_elem, &(prv->sdom)); in rt_alloc_domdata() 804 return sdom; in rt_alloc_domdata() 813 if ( sdom ) in rt_free_domdata() 821 xfree(sdom); in rt_free_domdata() 838 svc->sdom = dd; in rt_alloc_udata() [all …]
|
A D | core.c | 762 void *sdom; in sched_init_domain() local 776 sdom = sched_alloc_domdata(dom_scheduler(d), d); in sched_init_domain() 780 if ( IS_ERR(sdom) ) in sched_init_domain() 781 return PTR_ERR(sdom); in sched_init_domain() 783 d->sched_priv = sdom; in sched_init_domain()
|
/xen/tools/libxl/ |
A D | libxl_sched.c | 209 scinfo->weight = sdom.weight; in sched_credit_domain_get() 210 scinfo->cap = sdom.cap; in sched_credit_domain_get() 242 sdom.weight = scinfo->weight; in sched_credit_domain_set() 253 sdom.cap = scinfo->cap; in sched_credit_domain_set() 416 scinfo->weight = sdom.weight; in sched_credit2_domain_get() 417 scinfo->cap = sdom.cap; in sched_credit2_domain_get() 449 sdom.weight = scinfo->weight; in sched_credit2_domain_set() 460 sdom.cap = scinfo->cap; in sched_credit2_domain_set() 729 scinfo->period = sdom.period; in sched_rtds_domain_get() 730 scinfo->budget = sdom.budget; in sched_rtds_domain_get() [all …]
|
/xen/tools/libxc/ |
A D | xc_csched.c | 30 struct xen_domctl_sched_credit *sdom) in xc_sched_credit_domain_set() argument 38 domctl.u.scheduler_op.u.credit = *sdom; in xc_sched_credit_domain_set() 50 struct xen_domctl_sched_credit *sdom) in xc_sched_credit_domain_get() argument 62 *sdom = domctl.u.scheduler_op.u.credit; in xc_sched_credit_domain_get()
|
A D | xc_csched2.c | 30 struct xen_domctl_sched_credit2 *sdom) in xc_sched_credit2_domain_set() argument 38 domctl.u.scheduler_op.u.credit2 = *sdom; in xc_sched_credit2_domain_set() 50 struct xen_domctl_sched_credit2 *sdom) in xc_sched_credit2_domain_get() argument 62 *sdom = domctl.u.scheduler_op.u.credit2; in xc_sched_credit2_domain_get()
|
A D | xc_rt.c | 29 struct xen_domctl_sched_rtds *sdom) in xc_sched_rtds_domain_set() argument 38 domctl.u.scheduler_op.u.rtds.period = sdom->period; in xc_sched_rtds_domain_set() 39 domctl.u.scheduler_op.u.rtds.budget = sdom->budget; in xc_sched_rtds_domain_set() 48 struct xen_domctl_sched_rtds *sdom) in xc_sched_rtds_domain_get() argument 61 *sdom = domctl.u.scheduler_op.u.rtds; in xc_sched_rtds_domain_get()
|
/xen/xen/xsm/flask/ |
A D | avc.c | 566 if ( a && (a->sdom || a->tdom) ) in avc_audit() 568 if ( a->sdom && a->tdom && a->sdom != a->tdom ) in avc_audit() 569 avc_printk(&buf, "domid=%d target=%d ", a->sdom->domain_id, a->tdom->domain_id); in avc_audit() 570 else if ( a->sdom ) in avc_audit() 571 avc_printk(&buf, "domid=%d ", a->sdom->domain_id); in avc_audit()
|
A D | flask_op.c | 593 ad.sdom = current->domain; in flask_relabel_domain()
|
A D | hooks.c | 70 ad.sdom = dom1; in domain_has_perm() 239 ad.sdom = d1; in flask_evtchn_interdomain()
|
/xen/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1251 struct xen_domctl_sched_credit sdom; in pyxc_sched_credit_domain_set() local 1259 sdom.weight = weight; in pyxc_sched_credit_domain_set() 1260 sdom.cap = cap; in pyxc_sched_credit_domain_set() 1272 struct xen_domctl_sched_credit sdom; in pyxc_sched_credit_domain_get() local 1281 "weight", sdom.weight, in pyxc_sched_credit_domain_get() 1282 "cap", sdom.cap); in pyxc_sched_credit_domain_get() 1294 struct xen_domctl_sched_credit2 sdom = { }; in pyxc_sched_credit2_domain_set() local 1302 sdom.weight = weight; in pyxc_sched_credit2_domain_set() 1303 sdom.cap = cap; in pyxc_sched_credit2_domain_set() 1315 struct xen_domctl_sched_credit2 sdom = { }; in pyxc_sched_credit2_domain_get() local [all …]
|
/xen/tools/ocaml/libs/xc/ |
A D | xenctrl_stubs.c | 951 CAMLlocal1(sdom); in stub_sched_credit_domain_get() 961 sdom = caml_alloc_tuple(2); in stub_sched_credit_domain_get() 962 Store_field(sdom, 0, Val_int(c_sdom.weight)); in stub_sched_credit_domain_get() 963 Store_field(sdom, 1, Val_int(c_sdom.cap)); in stub_sched_credit_domain_get() 965 CAMLreturn(sdom); in stub_sched_credit_domain_get() 969 value sdom) in stub_sched_credit_domain_set() argument 971 CAMLparam3(xch, domid, sdom); in stub_sched_credit_domain_set() 975 c_sdom.weight = Int_val(Field(sdom, 0)); in stub_sched_credit_domain_set() 976 c_sdom.cap = Int_val(Field(sdom, 1)); in stub_sched_credit_domain_set()
|
/xen/xen/xsm/flask/include/ |
A D | avc.h | 44 const struct domain *sdom; member
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 959 struct xen_domctl_sched_credit *sdom); 963 struct xen_domctl_sched_credit *sdom); 979 struct xen_domctl_sched_credit2 *sdom); 982 struct xen_domctl_sched_credit2 *sdom); 986 struct xen_domctl_sched_rtds *sdom); 989 struct xen_domctl_sched_rtds *sdom);
|