/external/strace/tests/ |
sched_xetaffinity.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity); do not edit. 4 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
|
/external/strace/tests-m32/ |
sched_xetaffinity.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity); do not edit. 4 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
|
/external/strace/tests-mx32/ |
sched_xetaffinity.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity); do not edit. 4 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
|
/bionic/libc/bionic/ |
sched_getaffinity.cpp | 35 int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) { function
|
/external/ltp/testcases/kernel/syscalls/sched_getaffinity/ |
sched_getaffinity01.c | 23 /* Description: This tests the sched_getaffinity() syscall */ 115 TEST(sched_getaffinity(0, len, mask)); 141 tst_resm(TPASS, "sched_getaffinity() succeed, " 153 QUICK_TEST(sched_getaffinity(0, len, (cpu_set_t *) - 1)); 154 QUICK_TEST(sched_getaffinity(0, 0, mask)); 157 QUICK_TEST(sched_getaffinity(unused_pid, len, mask));
|
/external/strace/ |
affinity.c | 39 * If the cpuset size passed to sched_getaffinity is less 52 sched_getaffinity(0, cpuset_size, NULL) == -1 && 111 SYS_FUNC(sched_getaffinity)
|
/external/toybox/toys/other/ |
taskset.c | 40 #define sched_getaffinity(pid, size, cpuset) \ macro 56 if (-1 == sched_getaffinity(pid, sizeof(toybuf), (void *)mask)) 124 if (!toys.optflags && -1!=sched_getaffinity(getpid(), 4096, toybuf)) {
|
/external/linux-kselftest/tools/testing/selftests/rseq/ |
basic_test.c | 21 sched_getaffinity(0, sizeof(affinity), &affinity);
|
basic_percpu_ops_test.c | 248 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus);
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
ht_affinity.c | 40 //Any application program can invoke these system call using sched_setaffinity() and sched_getaffinity(), 44 #define sched_getaffinity(pid, cpusetsize, mask) syscall(__NR_sched_getaffinity, pid, cpusetsize, mask) macro 162 sched_getaffinity(pid, sizeof(mask), mask1); 170 sched_getaffinity(pid, sizeof(mask), mask1); 194 sched_getaffinity(pid, sizeof(mask), mask);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
Threading.cpp | 79 if (sched_getaffinity(0, sizeof(Set), &Set))
|
/external/ltp/testcases/kernel/syscalls/ |
Makefile | 43 sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
|
/bionic/tests/ |
pty_test.cpp | 85 ASSERT_EQ(0, sched_getaffinity(0, sizeof(cpu_set_t), &cpus)); 110 ASSERT_EQ(0, sched_getaffinity(0, sizeof(cpu_set_t), &cpus));
|
/external/ltp/testcases/realtime/stress/pi-tests/ |
testpi-3.c | 113 rc = sched_getaffinity(0, sizeof(mask), &mask); 162 rc = sched_getaffinity(0, sizeof(mask), &mask); 218 rc = sched_getaffinity(0, sizeof(mask), &mask); 339 retc = sched_getaffinity(0, sizeof(mask), &mask);
|
/external/iperf3/src/ |
main.c | 82 sched_getaffinity(0, sizeof(cpu_set_t), &cpu_set);
|
/external/ltp/testcases/kernel/syscalls/getcpu/ |
getcpu01.c | 61 if (sched_getaffinity(0, size, set) < 0) { 67 tst_brk(TBROK | TERRNO, "sched_getaffinity()");
|
/external/ltp/testcases/kernel/syscalls/sched_setaffinity/ |
sched_setaffinity01.c | 106 if (sched_getaffinity(0, mask_size, mask) < 0) 107 tst_brkm(TBROK | TERRNO, cleanup, "sched_getaffinity() failed");
|
/external/libchrome/ipc/ |
ipc_perftest_util.cc | 81 auto get_result = sched_getaffinity(0, sizeof(old_cpuset_), &old_cpuset_);
|
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
step_after_suspend_test.c | 197 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); 199 ksft_exit_fail_msg("sched_getaffinity() failed\n");
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
cpuset_syscall_test.c | 138 ret = sched_getaffinity(0, sizeof(tmask), &tmask);
|
/bionic/libc/include/ |
sched.h | 78 int sched_getaffinity(pid_t __pid, size_t __set_size, cpu_set_t* __set) __INTRODUCED_IN(12);
|
/external/autotest/client/tests/monotonic_time/src/ |
time_test.c | 382 if (sched_getaffinity(0, sizeof cpus, &cpus) < 0) { 383 ERROR(errno, "sched_getaffinity() failed");
|
/external/autotest/client/tests/tsc/src/ |
checktsc.c | 373 if (sched_getaffinity(0, sizeof cpus, &cpus) < 0) { 374 error(errno, "sched_getaffinity() failed");
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
utils.c | 96 if (sched_getaffinity(0, sizeof(mask), &mask)) { 97 perror("sched_getaffinity");
|
/external/tensorflow/tensorflow/core/platform/posix/ |
port.cc | 67 if (sched_getaffinity(0, sizeof(cpu_set_t), &cpuset) == 0) { 70 perror("sched_getaffinity");
|