Searched refs:cpusetp (Results 1 – 3 of 3) sorted by relevance
/external/autotest/client/tests/tsc/src/ |
D | sched.h | 26 # define __CPU_ZERO(cpusetp) \ argument 29 cpu_set_t *__arr = (cpusetp); \ 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 [all …]
|
/external/autotest/client/tests/netperf2/ |
D | fix_netperf_build.patch | 8 +#define NETPERF_CPU_SET(cpu, cpusetp) __CPU_SET_S(cpu, sizeof (cpu_set_t), cpusetp) 9 +#define NETPERF_CPU_ZERO(cpusetp) __CPU_ZERO_S (sizeof (cpu_set_t), cpusetp) 11 #define NETPERF_CPU_SET(cpu, cpusetp) __CPU_SET(cpu, cpusetp) 12 #define NETPERF_CPU_ZERO(cpusetp) __CPU_ZERO (cpusetp)
|
/external/netperf/src/ |
D | netlib.c | 2323 #define NETPERF_CPU_SET(cpu, cpusetp) __CPU_SET_S(cpu, sizeof (cpu_set_t), cpusetp) in bind_to_specific_processor() argument 2324 #define NETPERF_CPU_ZERO(cpusetp) __CPU_ZERO_S (sizeof (cpu_set_t), cpusetp) in bind_to_specific_processor() argument 2326 #define NETPERF_CPU_SET(cpu, cpusetp) __CPU_SET(cpu, cpusetp) in bind_to_specific_processor() argument 2327 #define NETPERF_CPU_ZERO(cpusetp) __CPU_ZERO (cpusetp) in bind_to_specific_processor() argument 2332 #define NETPERF_CPU_SET(cpu, cpusetp) *cpusetp = 1 << cpu in bind_to_specific_processor() argument 2333 #define NETPERF_CPU_ZERO(cpusetp) *cpusetp = (unsigned long)0 in bind_to_specific_processor() argument
|