Home
last modified time | relevance | path

Searched refs:cpu_set_t (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/bionic/
Dsched_cpualloc.c32 cpu_set_t* __sched_cpualloc(size_t count) in __sched_cpualloc()
34 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count)); in __sched_cpualloc()
37 void __sched_cpufree(cpu_set_t* set) in __sched_cpufree()
Dsched_getaffinity.cpp33 extern "C" int __sched_getaffinity(pid_t, size_t, cpu_set_t*);
35 int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) { in sched_getaffinity()
Dsched_cpucount.c31 int __sched_cpucount(size_t setsize, cpu_set_t* set) { in __sched_cpucount()
/bionic/libc/include/
Dsched.h73 } cpu_set_t; typedef
75 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set);
77 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
79 #define CPU_ZERO(set) CPU_ZERO_S(sizeof(cpu_set_t), set)
80 #define CPU_SET(cpu, set) CPU_SET_S(cpu, sizeof(cpu_set_t), set)
81 #define CPU_CLR(cpu, set) CPU_CLR_S(cpu, sizeof(cpu_set_t), set)
82 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set)
83 #define CPU_COUNT(set) CPU_COUNT_S(sizeof(cpu_set_t), set)
84 #define CPU_EQUAL(set1, set2) CPU_EQUAL_S(sizeof(cpu_set_t), set1, set2)
90 #define __CPU_OP(dst, set1, set2, op) __CPU_OP_S(sizeof(cpu_set_t), dst, set1, set2, op)
[all …]
/bionic/tests/
Dsched_test.cpp63 cpu_set_t set; in TEST()
78 cpu_set_t set; in TEST()
90 cpu_set_t set; in TEST()
100 cpu_set_t set; in TEST()
119 cpu_set_t set1; in TEST()
120 cpu_set_t set2; in TEST()
131 cpu_set_t set1; in TEST()
132 cpu_set_t set2; in TEST()
133 cpu_set_t set3; in TEST()
160 cpu_set_t* set = CPU_ALLOC(17); in TEST()
[all …]
/bionic/libc/
DSYSCALLS.TXT286 int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set) all
289 int __sched_getaffinity:sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set) all