/external/strace/tests/ |
sched_xetaffinity.test | 3 # Check sched_getaffinity and sched_setaffinity syscalls decoding. 6 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
|
/external/strace/tests-m32/ |
sched_xetaffinity.test | 3 # Check sched_getaffinity and sched_setaffinity syscalls decoding. 6 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
|
/external/strace/tests-mx32/ |
sched_xetaffinity.test | 3 # Check sched_getaffinity and sched_setaffinity syscalls decoding. 6 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 */ 114 TEST(sched_getaffinity(0, len, mask)); 140 tst_resm(TPASS, "sched_getaffinity() succeed, " 152 QUICK_TEST(sched_getaffinity(0, len, (cpu_set_t *) - 1)); 153 QUICK_TEST(sched_getaffinity(0, 0, mask)); 156 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/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/linux-kselftest/tools/testing/selftests/powerpc/ |
utils.c | 70 if (sched_getaffinity(0, sizeof(mask), &mask)) { 71 perror("sched_getaffinity");
|
/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/linux-kselftest/tools/testing/selftests/breakpoints/ |
step_after_suspend_test.c | 189 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); 191 perror("sched_getaffinity() failed");
|
/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/fio/os/ |
os-linux.h | 55 sched_getaffinity((pid), sizeof(cpu_set_t), (ptr)) 60 sched_getaffinity((pid), (ptr))
|
/bionic/libc/include/ |
sched.h | 77 int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set) __INTRODUCED_IN(12);
|
/development/ndk/platforms/android-21/include/ |
sched.h | 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
cpuset_syscall_test.c | 144 ret = sched_getaffinity(0, sizeof(tmask), &tmask);
|
/external/ltp/testcases/kernel/syscalls/getcpu/ |
getcpu01.c | 210 if (sched_getaffinity(0, size, set) < 0) { 223 tst_resm(TFAIL, "sched_getaffinity:errno:%d", errno);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
sched.h | 114 extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
sched.h | 122 extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/ |
sched.h | 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm64/usr/include/ |
sched.h | 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips/usr/include/ |
sched.h | 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips64/usr/include/ |
sched.h | 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
|
/prebuilts/ndk/r10/platforms/android-21/arch-x86/usr/include/ |
sched.h | 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
|