Home
last modified time | relevance | path

Searched refs:setsize (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/include/
Dsched.h75 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);
103 #define CPU_ZERO_S(setsize, set) __builtin_memset(set, 0, setsize) argument
105 #define CPU_SET_S(cpu, setsize, set) \ argument
108 if (__cpu < 8 * (setsize)) \
112 #define CPU_CLR_S(cpu, setsize, set) \ argument
115 if (__cpu < 8 * (setsize)) \
119 #define CPU_ISSET_S(cpu, setsize, set) \ argument
122 (__cpu < 8 * (setsize)) \
127 #define CPU_EQUAL_S(setsize, set1, set2) (__builtin_memcmp(set1, set2, setsize) == 0) argument
[all …]
/bionic/libc/bionic/
Dsched_cpucount.c31 int __sched_cpucount(size_t setsize, cpu_set_t* set) { in __sched_cpucount() argument
33 int nn_max = setsize / sizeof(__CPU_BITTYPE); in __sched_cpucount()
/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