Lines Matching refs:cpuset
80 cpu_set_t *cpuset = tail_alloc(cpuset_size); in main() local
81 getaffinity(pid, cpuset_size, cpuset + 1); in main()
83 pid, cpuset_size, cpuset + 1, errstr); in main()
85 int ret_size = getaffinity(pid, cpuset_size, cpuset); in main()
88 pid, (unsigned) cpuset_size, cpuset, errstr); in main()
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
103 CPU_ZERO_S(cpuset_size, cpuset); in main()
104 CPU_SET_S(cpu, cpuset_size, cpuset); in main()
105 if (setaffinity(pid, cpuset_size, cpuset)) in main()
111 cpuset = tail_alloc(big_size); in main()
112 ret_size = getaffinity(pid, big_size, cpuset); in main()
115 pid, big_size, cpuset, errstr); in main()
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()