Home
last modified time | relevance | path

Searched refs:num_vcpus (Results 1 – 9 of 9) sorted by relevance

/xen/tools/libxc/
A Dxc_rt.c69 uint32_t num_vcpus) in xc_sched_rtds_vcpu_set() argument
74 DECLARE_HYPERCALL_BOUNCE(vcpus, sizeof(*vcpus) * num_vcpus, in xc_sched_rtds_vcpu_set()
85 while ( processed < num_vcpus ) in xc_sched_rtds_vcpu_set()
87 domctl.u.scheduler_op.u.v.nr_vcpus = num_vcpus - processed; in xc_sched_rtds_vcpu_set()
103 uint32_t num_vcpus) in xc_sched_rtds_vcpu_get() argument
108 DECLARE_HYPERCALL_BOUNCE(vcpus, sizeof(*vcpus) * num_vcpus, in xc_sched_rtds_vcpu_get()
119 while ( processed < num_vcpus ) in xc_sched_rtds_vcpu_get()
121 domctl.u.scheduler_op.u.v.nr_vcpus = num_vcpus - processed; in xc_sched_rtds_vcpu_get()
/xen/tools/libxl/
A Dlibxl_sched.c503 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()
557 uint32_t num_vcpus; in sched_rtds_vcpu_get_all() local
569 if (scinfo->num_vcpus > 0) { in sched_rtds_vcpu_get_all()
586 scinfo->num_vcpus = num_vcpus; in sched_rtds_vcpu_get_all()
620 if (scinfo->num_vcpus <= 0) { 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()
[all …]
A Dlibxl_types.idl442 ("vcpus", Array(libxl_sched_params, "num_vcpus")),
/xen/tools/xenstat/libxenstat/src/
A Dxenstat.c218 domain->num_vcpus = (domaininfo[i].max_vcpu_id+1); in xenstat_get_node()
356 return domain->num_vcpus; in xenstat_domain_num_vcpus()
361 if (vcpu < domain->num_vcpus) in xenstat_domain_vcpu()
461 node->domains[i].vcpus = malloc(node->domains[i].num_vcpus in xenstat_collect_vcpus()
466 for (vcpu = 0; vcpu < node->domains[i].num_vcpus; vcpu++) { in xenstat_collect_vcpus()
A Dxenstat_priv.h60 unsigned int num_vcpus; /* No. vcpus configured for domain */ member
/xen/tools/xl/
A Dxl_sched.c295 for ( i = 0; i < scinfo->num_vcpus; i++ ) { in sched_rtds_vcpu_output()
321 scinfo->num_vcpus = 0; in sched_rtds_vcpu_output_all()
327 for ( i = 0; i < scinfo->num_vcpus; i++ ) { in sched_rtds_vcpu_output_all()
869 scinfo.num_vcpus = v_index; in main_sched_rtds()
889 scinfo.num_vcpus = v_index; in main_sched_rtds()
900 scinfo.num_vcpus = 1; in main_sched_rtds()
/xen/tools/xenstat/xentop/
A Dxentop.c1062 unsigned num_vcpus = 0; in do_vcpu() local
1067 num_vcpus = xenstat_domain_num_vcpus(domain); in do_vcpu()
1070 for (i=0; i< num_vcpus; i++) { in do_vcpu()
/xen/tools/libxc/include/
A Dxenctrl.h993 uint32_t num_vcpus);
997 uint32_t num_vcpus);
/xen/tools/golang/xenlight/
A Dhelpers.gen.go783 if n := int(xc.num_vcpus); n > 0 {
802 xc.num_vcpus = C.int(numVcpus)

Completed in 23 milliseconds