Searched refs:cpuset_size (Results 1 – 9 of 9) sorted by relevance
/external/strace/tests-m32/ |
D | sched_xetaffinity.c | 63 unsigned int cpuset_size = 1; in main() local 66 while (cpuset_size) { in main() 67 assert(getaffinity(pid, cpuset_size, NULL) == -1); in main() 73 pid, cpuset_size, errstr); in main() 74 cpuset_size <<= 1; in main() 76 assert(cpuset_size); in main() 78 pid, cpuset_size, errstr); in main() 80 cpu_set_t *cpuset = tail_alloc(cpuset_size); in main() 81 getaffinity(pid, cpuset_size, cpuset + 1); in main() 83 pid, cpuset_size, cpuset + 1, errstr); in main() [all …]
|
/external/strace/tests/ |
D | sched_xetaffinity.c | 63 unsigned int cpuset_size = 1; in main() local 66 while (cpuset_size) { in main() 67 assert(getaffinity(pid, cpuset_size, NULL) == -1); in main() 73 pid, cpuset_size, errstr); in main() 74 cpuset_size <<= 1; in main() 76 assert(cpuset_size); in main() 78 pid, cpuset_size, errstr); in main() 80 cpu_set_t *cpuset = tail_alloc(cpuset_size); in main() 81 getaffinity(pid, cpuset_size, cpuset + 1); in main() 83 pid, cpuset_size, cpuset + 1, errstr); in main() [all …]
|
/external/strace/tests-mx32/ |
D | sched_xetaffinity.c | 63 unsigned int cpuset_size = 1; in main() local 66 while (cpuset_size) { in main() 67 assert(getaffinity(pid, cpuset_size, NULL) == -1); in main() 73 pid, cpuset_size, errstr); in main() 74 cpuset_size <<= 1; in main() 76 assert(cpuset_size); in main() 78 pid, cpuset_size, errstr); in main() 80 cpu_set_t *cpuset = tail_alloc(cpuset_size); in main() 81 getaffinity(pid, cpuset_size, cpuset + 1); in main() 83 pid, cpuset_size, cpuset + 1, errstr); in main() [all …]
|
/external/strace/ |
D | affinity.c | 35 static unsigned int cpuset_size; in get_cpuset_size() local 37 if (!cpuset_size) { in get_cpuset_size() 50 cpuset_size = 128; in get_cpuset_size() 51 while (cpuset_size && in get_cpuset_size() 52 sched_getaffinity(0, cpuset_size, NULL) == -1 && in get_cpuset_size() 54 cpuset_size <<= 1; in get_cpuset_size() 56 if (!cpuset_size) in get_cpuset_size() 57 cpuset_size = 128; in get_cpuset_size() 60 return cpuset_size; in get_cpuset_size()
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | cpuset.h | 174 int cpuset_size(void);
|
D | libcpuset.c | 3674 int cpuset_size(void) in cpuset_size() function 3831 "cpuset_size", cpuset_size}, { 3854 return cpuset_size(); in cpuset_size_()
|
/external/AFLplusplus/src/ |
D | afl-gotcpu.c | 196 if (pthread_setaffinity_np(pthread_self(), cpuset_size(c), c)) in main()
|
D | afl-fuzz-init.c | 74 if (pthread_setaffinity_np(pthread_self(), cpuset_size(c), c)) { in bind_cpu()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/ |
D | mod.rs | 3893 let cpuset_size = ::mem::size_of::<cpuset_t>(); localVariable 3896 for i in cpuset.__bits[..(cpuset_size / bitset_size)].iter() {
|