/xen-4.10.0-shim-comet/xen/common/ |
A D | sched_credit.c | 198 uint16_t weight; member 220 uint32_t weight; member 900 prv->weight += sdom->weight; in __csched_vcpu_acct_start() 924 BUG_ON( prv->weight < sdom->weight ); in __csched_vcpu_acct_stop_locked() 927 prv->weight -= sdom->weight; in __csched_vcpu_acct_stop_locked() 1199 op->u.credit.weight = sdom->weight; in csched_dom_cntl() 1207 prv->weight -= sdom->weight * sdom->active_vcpu_count; in csched_dom_cntl() 1208 prv->weight += op->u.credit.weight * sdom->active_vcpu_count; in csched_dom_cntl() 1210 sdom->weight = op->u.credit.weight; in csched_dom_cntl() 1398 weight_total = prv->weight; in csched_acct() [all …]
|
A D | tmem_control.c | 108 c->cli_id, c->info.weight, c->info.flags.u.compress, c->info.flags.u.frozen, in tmemc_list_client() 282 if ( info.weight != client->info.weight ) in __tmemc_set_client_info() 284 old_weight = client->info.weight; in __tmemc_set_client_info() 285 client->info.weight = info.weight; in __tmemc_set_client_info() 287 info.weight, tmem_cli_id_str, cli_id); in __tmemc_set_client_info() 289 atomic_add(client->info.weight,&tmem_global.client_weight_total); in __tmemc_set_client_info()
|
A D | sched_credit2.c | 916 if ( svc->weight > max_weight ) in update_max_weight() 917 max_weight = svc->weight; in update_max_weight() 985 update_max_weight(rqd, 0, svc->weight); in _runq_deassign() 2026 svc->weight = svc->sdom->weight; in csched2_alloc_vdata() 2035 svc->weight = 0; in csched2_alloc_vdata() 2795 op->u.credit2.weight = sdom->weight; in csched2_dom_cntl() 2802 if ( op->u.credit2.weight != 0 ) in csched2_dom_cntl() 2806 old_weight = sdom->weight; in csched2_dom_cntl() 2808 sdom->weight = op->u.credit2.weight; in csched2_dom_cntl() 2818 svc->weight = sdom->weight; in csched2_dom_cntl() [all …]
|
A D | tmem.c | 892 if ( (total == 0) || (client->info.weight == 0) || in client_over_quota() 897 ((total * 100L) / client->info.weight)); in client_over_quota()
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_sched.c | 209 scinfo->weight = sdom.weight; in sched_credit_domain_get() 236 if (scinfo->weight != LIBXL_DOMAIN_SCHED_PARAM_WEIGHT_DEFAULT) { in sched_credit_domain_set() 237 if (scinfo->weight < 1 || scinfo->weight > 65535) { in sched_credit_domain_set() 242 sdom.weight = scinfo->weight; in sched_credit_domain_set() 407 scinfo->weight = sdom.weight; in sched_credit2_domain_get() 434 if (scinfo->weight != LIBXL_DOMAIN_SCHED_PARAM_WEIGHT_DEFAULT) { in sched_credit2_domain_set() 435 if (scinfo->weight < 1 || scinfo->weight > 65535) { in sched_credit2_domain_set() 440 sdom.weight = scinfo->weight; in sched_credit2_domain_set()
|
A D | libxl_tmem.c | 79 info->weight = val; in tmem_setop_from_string()
|
A D | libxl_types.idl | 406 ("weight", integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_WEIGHT_DEFAULT'}), 420 ("weight", integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_WEIGHT_DEFAULT'}),
|
/xen-4.10.0-shim-comet/tools/xl/ |
A D | xl_sched.c | 158 scinfo.weight, in sched_credit_domain_output() 225 scinfo.weight, in sched_credit2_domain_output() 471 int weight = 256, cap = 0; in main_sched_credit() local 493 weight = strtol(optarg, NULL, 10); in main_sched_credit() 578 scinfo.weight = weight; in main_sched_credit() 596 int weight = 256, cap = 0; in main_sched_credit2() local 617 weight = strtol(optarg, NULL, 10); in main_sched_credit2() 685 scinfo.weight = weight; in main_sched_credit2()
|
A D | xl_tmem.c | 128 uint32_t weight = 0, cap = 0, compress = 0; in main_tmem_set() local 139 weight = strtol(optarg, NULL, 10); in main_tmem_set() 171 rc = libxl_tmem_set(ctx, domid, "weight", weight); in main_tmem_set()
|
A D | xl_parse.c | 987 b_info->sched_params.weight = l; in parse_config_data()
|
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1307 uint16_t weight; in pyxc_sched_credit_domain_set() local 1313 weight = 0; in pyxc_sched_credit_domain_set() 1316 &domid, &weight, &cap) ) in pyxc_sched_credit_domain_set() 1319 sdom.weight = weight; in pyxc_sched_credit_domain_set() 1341 "weight", sdom.weight, in pyxc_sched_credit_domain_get() 1350 uint16_t weight; in pyxc_sched_credit2_domain_set() local 1356 weight = 0; in pyxc_sched_credit2_domain_set() 1359 &domid, &weight, &cap) ) in pyxc_sched_credit2_domain_set() 1362 sdom.weight = weight; in pyxc_sched_credit2_domain_set() 1384 "weight", "cap", sdom.weight, sdom.cap); in pyxc_sched_credit2_domain_get()
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xen-tmem-list-parse.c | 193 unsigned long weight = parse(s,"ww"); in parse_client() local 213 cli_id, weight, cap, compress?1:0, frozen?1:0, in parse_client()
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | domctl.h | 334 uint16_t weight; member 339 uint16_t weight; member
|
A D | sysctl.h | 763 uint32_t weight; member
|
/xen-4.10.0-shim-comet/docs/features/ |
A D | sched_credit.pandoc | 52 a weight and some credits... and all these things interact in a rather
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xc/ |
A D | xenctrl.mli | 71 type sched_control = { weight : int; cap : int; } RecordField
|
A D | xenctrl.ml | 82 weight : int; RecordField
|
A D | xenctrl_stubs.c | 985 Store_field(sdom, 0, Val_int(c_sdom.weight)); in stub_sched_credit_domain_get() 998 c_sdom.weight = Int_val(Field(sdom, 0)); in stub_sched_credit_domain_set()
|
/xen-4.10.0-shim-comet/docs/man/ |
A D | xl.pod.1.in | 988 Each domain (including Domain0) is assigned a weight and a cap. 999 =item B<-w WEIGHT>, B<--weight=WEIGHT> 1001 A domain with a weight of 512 will get twice as much CPU as a domain 1002 with a weight of 256 on a contended host. Legal weights range from 1 1083 Each domain (including Domain0) is assigned a weight. 1094 =item B<-w WEIGHT>, B<--weight=WEIGHT> 1096 A domain with a weight of 512 will get twice as much CPU as a domain 1097 with a weight of 256 on a contended host. Legal weights range from 1
|
A D | xl.cfg.pod.5.in | 226 A domain with a weight of 512 will get twice as much CPU as a domain 227 with a weight of 256 on a contended host.
|