Lines Matching refs:sparam

281     struct xen_sysctl_credit_schedule sparam;  in libxl_sched_credit_params_get()  local
285 r = xc_sched_credit_params_get(ctx->xch, poolid, &sparam); in libxl_sched_credit_params_get()
292 scinfo->tslice_ms = sparam.tslice_ms; in libxl_sched_credit_params_get()
293 scinfo->ratelimit_us = sparam.ratelimit_us; in libxl_sched_credit_params_get()
294 scinfo->vcpu_migr_delay_us = sparam.vcpu_migr_delay_us; in libxl_sched_credit_params_get()
305 struct xen_sysctl_credit_schedule sparam; in libxl_sched_credit_params_set() local
332 sparam.tslice_ms = scinfo->tslice_ms; in libxl_sched_credit_params_set()
333 sparam.ratelimit_us = scinfo->ratelimit_us; in libxl_sched_credit_params_set()
334 sparam.vcpu_migr_delay_us = scinfo->vcpu_migr_delay_us; in libxl_sched_credit_params_set()
336 r = xc_sched_credit_params_set(ctx->xch, poolid, &sparam); in libxl_sched_credit_params_set()
343 scinfo->tslice_ms = sparam.tslice_ms; in libxl_sched_credit_params_set()
344 scinfo->ratelimit_us = sparam.ratelimit_us; in libxl_sched_credit_params_set()
345 scinfo->vcpu_migr_delay_us = sparam.vcpu_migr_delay_us; in libxl_sched_credit_params_set()
356 struct xen_sysctl_credit2_schedule sparam; in libxl_sched_credit2_params_get() local
360 r = xc_sched_credit2_params_get(ctx->xch, poolid, &sparam); in libxl_sched_credit2_params_get()
367 scinfo->ratelimit_us = sparam.ratelimit_us; in libxl_sched_credit2_params_get()
378 struct xen_sysctl_credit2_schedule sparam; in libxl_sched_credit2_params_set() local
385 sparam.ratelimit_us = scinfo->ratelimit_us; in libxl_sched_credit2_params_set()
387 r = xc_sched_credit2_params_set(ctx->xch, poolid, &sparam); in libxl_sched_credit2_params_set()
394 scinfo->ratelimit_us = sparam.ratelimit_us; in libxl_sched_credit2_params_set()