Lines Matching full:cpu_set_t
99 } cpu_set_t;
101 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set);
103 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
105 /* Provide optimized implementation for 32-bit cpu_set_t */
147 # define CPU_ZERO(set_) CPU_ZERO_S(sizeof(cpu_set_t), set_)
148 # define CPU_SET(cpu_,set_) CPU_SET_S(cpu_,sizeof(cpu_set_t),set_)
149 # define CPU_CLR(cpu_,set_) CPU_CLR_S(cpu_,sizeof(cpu_set_t),set_)
150 # define CPU_ISSET(cpu_,set_) CPU_ISSET_S(cpu_,sizeof(cpu_set_t),set_)
151 # define CPU_COUNT(set_) CPU_COUNT_S(sizeof(cpu_set_t),set_)
152 # define CPU_EQUAL(set1_,set2_) CPU_EQUAL_S(sizeof(cpu_set_t),set1_,set2_)
154 # define __CPU_OP(dst_,set1_,set2_,op_) __CPU_OP_S(sizeof(cpu_set_t),dst_,set1_,set2_,op_)
162 /* Support for dynamically-allocated cpu_set_t */
170 extern cpu_set_t* __sched_cpualloc(size_t count);
171 extern void __sched_cpufree(cpu_set_t* set);
217 cpu_set_t* __dst = (dstset); \
228 extern int __sched_cpucount(size_t setsize, cpu_set_t* set);