D | sched.h | 166 #define __CPU_op_S(i, size, set, op) ( (i)/8U >= (size) ? 0 : \ argument 167 (((unsigned long *)(set))[(i)/8/sizeof(long)] op (1UL<<((i)%(8*sizeof(long))))) ) 169 #define CPU_SET_S(i, size, set) __CPU_op_S(i, size, set, |=) argument 170 #define CPU_CLR_S(i, size, set) __CPU_op_S(i, size, set, &=~) argument 171 #define CPU_ISSET_S(i, size, set) __CPU_op_S(i, size, set, &) argument 191 #define CPU_COUNT_S(size,set) __sched_cpucount(size,set) argument 192 #define CPU_ZERO_S(size,set) memset(set,0,size) argument 198 #define CPU_FREE(set) free(set) argument 202 #define CPU_SET(i, set) CPU_SET_S(i,sizeof(cpu_set_t),set) argument 203 #define CPU_CLR(i, set) CPU_CLR_S(i,sizeof(cpu_set_t),set) argument [all …]
|