Home
last modified time | relevance | path

Searched refs:cpu_valid (Results 1 – 4 of 4) sorted by relevance

/xen-4.10.0-shim-comet/xen/common/
A Dcpupool.c45 if ( !c || !zalloc_cpumask_var(&c->cpu_valid) ) in alloc_cpupool_struct()
52 free_cpumask_var(c->cpu_valid); in alloc_cpupool_struct()
65 free_cpumask_var(c->cpu_valid); in free_cpupool_struct()
282 cpumask_set_cpu(cpu, c->cpu_valid); in cpupool_assign_cpu_locked()
404 cpumask_clear_cpu(cpu, c->cpu_valid); in cpupool_unassign_cpu()
410 work_cpu = cpumask_first(cpupool0->cpu_valid); in cpupool_unassign_cpu()
441 else if ( !cpumask_weight(c->cpu_valid) ) in cpupool_add_domain()
515 cpumask_test_cpu(cpu, (*c)->cpu_valid)); in cpupool_cpu_add()
578 cpumask_clear_cpu(cpu, cpupool0->cpu_valid); in cpupool_cpu_remove()
678 cpu = cpumask_last(c->cpu_valid); in cpupool_do_sysctl()
[all …]
A Dschedule.c358 new_p = cpumask_first(c->cpu_valid); in sched_move_domain()
385 new_p = cpumask_cycle(new_p, c->cpu_valid); in sched_move_domain()
600 cpumask_test_cpu(new_cpu, v->domain->cpupool->cpu_valid) ) in vcpu_migrate()
606 cpumask_test_cpu(new_cpu, v->domain->cpupool->cpu_valid) ) in vcpu_migrate()
743 cpumask_and(&online_affinity, v->cpu_hard_affinity, c->cpu_valid); in cpu_disable_scheduler()
1765 ASSERT((c == NULL && !cpumask_test_cpu(cpu, old_pool->cpu_valid)) || in schedule_cpu_switch()
1766 (c != NULL && !cpumask_test_cpu(cpu, c->cpu_valid))); in schedule_cpu_switch()
1880 cpus = c->cpu_valid; in schedule_dump()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dsched-if.h190 cpumask_var_t cpu_valid; /* all cpus assigned to pool */ member
199 (((_pool) == NULL) ? &cpu_online_map : (_pool)->cpu_valid)
208 return d->cpupool->cpu_valid; in cpupool_domain_cpumask()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Ddom0_build.c188 cpumask_and(&dom0_cpus, &dom0_cpus, cpupool0->cpu_valid); in dom0_max_vcpus()
190 cpumask_copy(&dom0_cpus, cpupool0->cpu_valid); in dom0_max_vcpus()

Completed in 9 milliseconds