Lines Matching refs:cpu
16 # define __CPUELT(cpu) ((cpu) / __NCPUBITS) argument
17 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) argument
33 # define __CPU_SET(cpu, cpusetp) \ argument
34 ((cpusetp)->__bits[__CPUELT (cpu)] |= __CPUMASK (cpu))
35 # define __CPU_CLR(cpu, cpusetp) \ argument
36 ((cpusetp)->__bits[__CPUELT (cpu)] &= ~__CPUMASK (cpu))
37 # define __CPU_ISSET(cpu, cpusetp) \ argument
38 (((cpusetp)->__bits[__CPUELT (cpu)] & __CPUMASK (cpu)) != 0)
42 #define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp) argument
43 #define CPU_CLR(cpu, cpusetp) __CPU_CLR (cpu, cpusetp) argument
44 #define CPU_ISSET(cpu, cpusetp) __CPU_ISSET (cpu, cpusetp) argument