Lines Matching refs:dom0_cpus
130 static cpumask_t __initdata dom0_cpus; variable
136 unsigned int cpu = cpumask_cycle(prev_cpu, &dom0_cpus); in dom0_setup_vcpu()
150 cpumask_copy(v->cpu_hard_affinity, &dom0_cpus); in dom0_setup_vcpu()
151 cpumask_copy(v->cpu_soft_affinity, &dom0_cpus); in dom0_setup_vcpu()
173 cpumask_set_cpu(0, &dom0_cpus); in dom0_max_vcpus()
187 cpumask_or(&dom0_cpus, &dom0_cpus, &node_to_cpumask(node)); in dom0_max_vcpus()
188 cpumask_and(&dom0_cpus, &dom0_cpus, cpupool0->cpu_valid); in dom0_max_vcpus()
189 if ( cpumask_empty(&dom0_cpus) ) in dom0_max_vcpus()
190 cpumask_copy(&dom0_cpus, cpupool0->cpu_valid); in dom0_max_vcpus()
192 max_vcpus = cpumask_weight(&dom0_cpus); in dom0_max_vcpus()
217 cpumask_last(&dom0_cpus) /* so it wraps around to first pcpu */); in alloc_dom0_vcpu0()