Lines Matching refs:cpuset
24 cpu_set_t cpuset; in affine() local
25 CPU_ZERO(&cpuset); in affine()
26 CPU_SET(cpu, &cpuset); in affine()
27 ERROR_CHECK(sched_setaffinity(0, sizeof(cpu_set_t), &cpuset)); in affine()
159 int find_cpus_with_capacity(int get_bigs, cpu_set_t *cpuset) in find_cpus_with_capacity() argument
164 CPU_ZERO(cpuset); in find_cpus_with_capacity()
172 CPU_ZERO(cpuset); in find_cpus_with_capacity()
173 CPU_SET(i, cpuset); in find_cpus_with_capacity()
175 CPU_SET(i, cpuset); in find_cpus_with_capacity()
183 if (CPU_ISSET(i, cpuset)) in find_cpus_with_capacity()
184 CPU_CLR(i, cpuset); in find_cpus_with_capacity()
186 CPU_SET(i, cpuset); in find_cpus_with_capacity()