Searched refs:setsize (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/include/ |
D | sched.h | 77 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set); 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set); 105 #define CPU_ZERO_S(setsize, set) __builtin_memset(set, 0, setsize) argument 107 #define CPU_SET_S(cpu, setsize, set) \ argument 110 if (__cpu < 8 * (setsize)) \ 114 #define CPU_CLR_S(cpu, setsize, set) \ argument 117 if (__cpu < 8 * (setsize)) \ 121 #define CPU_ISSET_S(cpu, setsize, set) \ argument 124 (__cpu < 8 * (setsize)) \ 129 #define CPU_EQUAL_S(setsize, set1, set2) (__builtin_memcmp(set1, set2, setsize) == 0) argument [all …]
|
/bionic/libc/bionic/ |
D | sched_cpucount.c | 31 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/ |
D | SYSCALLS.TXT | 275 int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set) all 278 int __sched_getaffinity:sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set) all
|