/xen-4.10.0-shim-comet/xen/common/ |
A D | sched_credit.c | 654 struct csched_dom * const sdom = svc->sdom; in __csched_vcpu_check() local 658 if ( sdom ) in __csched_vcpu_check() 887 struct csched_dom * const sdom = svc->sdom; in __csched_vcpu_acct_start() local 917 struct csched_dom * const sdom = svc->sdom; in __csched_vcpu_acct_stop_locked() local 1016 svc->sdom = dd; in csched_alloc_vdata() 1065 struct csched_dom * const sdom = svc->sdom; in csched_vcpu_remove() local 1432 weight_left -= ( sdom->weight * sdom->active_vcpu_count ); in csched_acct() 1507 BUG_ON( sdom != svc->sdom ); in csched_acct() 2012 struct csched_dom * const sdom = svc->sdom; in csched_dump_vcpu() local 2021 if ( sdom ) in csched_dump_vcpu() [all …]
|
A D | sched_credit2.c | 1774 struct csched2_dom *sdom = svc->sdom; in vcpu_grab_budget() local 1821 struct csched2_dom *sdom = svc->sdom; in vcpu_return_budget() local 1910 sdom->budget += sdom->tot_budget; in do_replenish() 1963 sdom->budget = min(sdom->budget, sdom->tot_budget); in replenish_domain_budget() 1977 set_timer(sdom->repl_timer, sdom->next_repl); in replenish_domain_budget() 1985 struct csched2_dom * const sdom = svc->sdom; in csched2_vcpu_check() local 1989 if ( sdom ) in csched2_vcpu_check() 2875 sdom->budget = sdom->tot_budget; in csched2_dom_cntl() 2877 set_timer(sdom->repl_timer, sdom->next_repl); in csched2_dom_cntl() 3038 list_add_tail(&sdom->sdom_elem, &csched2_priv(ops)->sdom); in csched2_alloc_domdata() [all …]
|
A D | sched_rt.c | 212 struct rt_dom *sdom; member 381 struct rt_dom *sdom; in rt_dump() local 828 struct rt_dom *sdom; in rt_alloc_domdata() local 832 if ( sdom == NULL ) in rt_alloc_domdata() 836 sdom->dom = dom; in rt_alloc_domdata() 840 list_add_tail(&sdom->sdom_elem, &(prv->sdom)); in rt_alloc_domdata() 843 return sdom; in rt_alloc_domdata() 862 struct rt_dom *sdom; in rt_dom_init() local 869 if ( sdom == NULL ) in rt_dom_init() 896 svc->sdom = dd; in rt_alloc_vdata() [all …]
|
/xen-4.10.0-shim-comet/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() 407 scinfo->weight = sdom.weight; in sched_credit2_domain_get() 408 scinfo->cap = sdom.cap; in sched_credit2_domain_get() 440 sdom.weight = scinfo->weight; in sched_credit2_domain_set() 451 sdom.cap = scinfo->cap; in sched_credit2_domain_set() 720 scinfo->period = sdom.period; in sched_rtds_domain_get() 721 scinfo->budget = sdom.budget; in sched_rtds_domain_get() [all …]
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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 | 592 ad.sdom = current->domain; in flask_relabel_domain()
|
A D | hooks.c | 67 ad.sdom = dom1; in domain_has_perm() 236 ad.sdom = d1; in flask_evtchn_interdomain()
|
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1311 struct xen_domctl_sched_credit sdom; in pyxc_sched_credit_domain_set() local 1319 sdom.weight = weight; in pyxc_sched_credit_domain_set() 1320 sdom.cap = cap; in pyxc_sched_credit_domain_set() 1332 struct xen_domctl_sched_credit sdom; in pyxc_sched_credit_domain_get() local 1341 "weight", sdom.weight, in pyxc_sched_credit_domain_get() 1342 "cap", sdom.cap); in pyxc_sched_credit_domain_get() 1354 struct xen_domctl_sched_credit2 sdom = { }; in pyxc_sched_credit2_domain_set() local 1362 sdom.weight = weight; in pyxc_sched_credit2_domain_set() 1363 sdom.cap = cap; in pyxc_sched_credit2_domain_set() 1375 struct xen_domctl_sched_credit2 sdom = { }; in pyxc_sched_credit2_domain_get() local [all …]
|
/xen-4.10.0-shim-comet/xen/xsm/flask/include/ |
A D | avc.h | 43 struct domain *sdom; member
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xc/ |
A D | xenctrl_stubs.c | 974 CAMLlocal1(sdom); in stub_sched_credit_domain_get() 984 sdom = caml_alloc_tuple(2); in stub_sched_credit_domain_get() 985 Store_field(sdom, 0, Val_int(c_sdom.weight)); in stub_sched_credit_domain_get() 986 Store_field(sdom, 1, Val_int(c_sdom.cap)); in stub_sched_credit_domain_get() 988 CAMLreturn(sdom); in stub_sched_credit_domain_get() 992 value sdom) in stub_sched_credit_domain_set() argument 994 CAMLparam3(xch, domid, sdom); in stub_sched_credit_domain_set() 998 c_sdom.weight = Int_val(Field(sdom, 0)); in stub_sched_credit_domain_set() 999 c_sdom.cap = Int_val(Field(sdom, 1)); in stub_sched_credit_domain_set()
|
/xen-4.10.0-shim-comet/tools/libxc/include/ |
A D | xenctrl.h | 952 struct xen_domctl_sched_credit *sdom); 956 struct xen_domctl_sched_credit *sdom); 972 struct xen_domctl_sched_credit2 *sdom); 975 struct xen_domctl_sched_credit2 *sdom); 979 struct xen_domctl_sched_rtds *sdom); 982 struct xen_domctl_sched_rtds *sdom);
|