Lines Matching refs:num_vcpus

503     uint32_t num_vcpus;  in sched_rtds_vcpu_get()  local
515 if (scinfo->num_vcpus <= 0) { in sched_rtds_vcpu_get()
519 num_vcpus = scinfo->num_vcpus; in sched_rtds_vcpu_get()
520 GCNEW_ARRAY(vcpus, num_vcpus); in sched_rtds_vcpu_get()
521 for (i = 0; i < num_vcpus; i++) { in sched_rtds_vcpu_get()
534 r = xc_sched_rtds_vcpu_get(CTX->xch, domid, vcpus, num_vcpus); in sched_rtds_vcpu_get()
541 for (i = 0; i < num_vcpus; i++) { in sched_rtds_vcpu_get()
557 uint32_t num_vcpus; in sched_rtds_vcpu_get_all() local
569 if (scinfo->num_vcpus > 0) { in sched_rtds_vcpu_get_all()
573 num_vcpus = info.max_vcpu_id + 1; in sched_rtds_vcpu_get_all()
574 GCNEW_ARRAY(vcpus, num_vcpus); in sched_rtds_vcpu_get_all()
575 for (i = 0; i < num_vcpus; i++) in sched_rtds_vcpu_get_all()
579 r = xc_sched_rtds_vcpu_get(CTX->xch, domid, vcpus, num_vcpus); in sched_rtds_vcpu_get_all()
586 scinfo->num_vcpus = num_vcpus; in sched_rtds_vcpu_get_all()
587 scinfo->vcpus = libxl__calloc(NOGC, num_vcpus, in sched_rtds_vcpu_get_all()
590 for (i = 0; i < num_vcpus; i++) { in sched_rtds_vcpu_get_all()
620 if (scinfo->num_vcpus <= 0) { in sched_rtds_vcpu_set()
624 for (i = 0; i < scinfo->num_vcpus; i++) { in sched_rtds_vcpu_set()
639 GCNEW_ARRAY(vcpus, scinfo->num_vcpus); in sched_rtds_vcpu_set()
640 for (i = 0; i < scinfo->num_vcpus; i++) { in sched_rtds_vcpu_set()
651 vcpus, scinfo->num_vcpus); in sched_rtds_vcpu_set()
671 uint32_t num_vcpus; in sched_rtds_vcpu_set_all() local
681 if (scinfo->num_vcpus != 1) { in sched_rtds_vcpu_set_all()
690 num_vcpus = max_vcpuid + 1; in sched_rtds_vcpu_set_all()
691 GCNEW_ARRAY(vcpus, num_vcpus); in sched_rtds_vcpu_set_all()
692 for (i = 0; i < num_vcpus; i++) { in sched_rtds_vcpu_set_all()
703 vcpus, num_vcpus); in sched_rtds_vcpu_set_all()