/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | ht_affinity.c | 43 #define sched_setaffinity(pid, cpusetsize, mask) syscall(__NR_sched_setaffinity, pid, cpusetsize, m… macro 70 sched_setaffinity(pid, sizeof(unsigned long), &mask); in HT_SetAffinity() 98 sched_setaffinity(pid, sizeof(unsigned long), &mask); in HT_SetAffinity() 158 sched_setaffinity(pid, sizeof(mask), mask); in HT_GetAffinity() 166 sched_setaffinity(pid, sizeof(mask), mask); in HT_GetAffinity() 188 sched_setaffinity(pid, sizeof(mask), mask); in HT_InheritAffinity()
|
/external/ltp/testcases/realtime/stress/pi-tests/ |
D | testpi-3.c | 107 rc = sched_setaffinity(0, sizeof(mask), &mask); in func_nonrt() 156 rc = sched_setaffinity(0, sizeof(mask), &mask); in func_rt() 212 rc = sched_setaffinity(0, sizeof(mask), &mask); in func_noise() 333 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
|
/external/toybox/toys/other/ |
D | taskset.c | 38 #define sched_setaffinity(pid, size, cpuset) \ macro 86 if (-1 == sched_setaffinity(pid, sizeof(toybuf), (void *)mask)) in do_taskset()
|
/external/ltp/tools/pounder21/src/ramsnake/ |
D | snake.c | 252 sched_setaffinity(0, sizeof(cpu_set_t), in main() 272 sched_setaffinity(0, sizeof(cpu_set_t), in main()
|
/external/strace/tests/ |
D | sched_xetaffinity.test | 6 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
|
/external/strace/tests-m32/ |
D | sched_xetaffinity.test | 6 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
|
/external/strace/tests-mx32/ |
D | sched_xetaffinity.test | 6 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
|
/external/fio/os/ |
D | os-linux.h | 53 sched_setaffinity((pid), sizeof(cpumask), &(cpumask)) 58 sched_setaffinity((pid), &(cpumask))
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | sysret_ss_attrs.c | 66 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in main()
|
D | iopl.c | 49 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in main()
|
D | ldt_gdt.c | 382 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in threadproc() 435 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in do_multicpu_tests() 442 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in do_multicpu_tests()
|
/external/autotest/client/tests/tsc/src/ |
D | checktsc.c | 183 if (sched_setaffinity(0, sizeof cpus, &cpus) < 0) { in set_cpu_affinity() 372 sched_setaffinity(0, sizeof cpus, &cpus); in main()
|
/external/ltp/testcases/open_posix_testsuite/include/ |
D | affinity.h | 39 return (sched_setaffinity(0, sizeof(cpu_set_t), &mask)); in set_affinity()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
D | dscr_sysfs_thread_test.c | 47 if (sched_setaffinity(0, sizeof(mask), &mask)) in check_cpu_dscr_thread()
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/ |
D | pitest-1.c | 102 rc = sched_setaffinity(0, sizeof(mask), &mask); in thread_fn() 141 rc = sched_setaffinity((pid_t) 0, sizeof(mask), &mask); in thread_tl()
|
D | pitest-6.c | 101 rc = sched_setaffinity(0, sizeof(mask), &mask); in thread_fn() 140 rc = sched_setaffinity((pid_t) 0, sizeof(mask), &mask); in thread_tl()
|
D | pitest-5.c | 104 rc = sched_setaffinity(0, sizeof(mask), &mask); in thread_fn() 144 rc = sched_setaffinity((pid_t) 0, sizeof(mask), &mask); in thread_tl()
|
D | pitest-2.c | 104 rc = sched_setaffinity(0, sizeof(mask), &mask); in thread_fn() 141 rc = sched_setaffinity((pid_t) 0, sizeof(mask), &mask); in thread_tl()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/context_switch/ |
D | cp_abort.c | 82 FAIL_IF(sched_setaffinity(0, sizeof(cpuset), &cpuset)); in test_cp_abort()
|
/external/ltp/tools/pounder21/build_scripts/ |
D | lame | 99 grep sched_setaffinity /usr/include/sched.h > /dev/null 2>&1
|
/external/strace/ |
D | affinity.c | 100 SYS_FUNC(sched_setaffinity) in SYS_FUNC() argument
|
/external/linux-kselftest/tools/testing/selftests/intel_pstate/ |
D | aperf.c | 50 if (sched_setaffinity(0, sizeof(cpu_set_t), &cpuset)) { in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
D | tm-tmspr.c | 49 sched_setaffinity(0, sizeof(cpuset), &cpuset); in tfiar_tfhar()
|
/external/autotest/client/tests/monotonic_time/src/ |
D | threads.c | 38 if (sched_setaffinity(0, sizeof thread->cpus, &thread->cpus) < 0) in run_thread()
|
/external/ltp/testcases/realtime/func/measurement/ |
D | preempt_timing.c | 122 err = sched_setaffinity(0, sizeof(mask), &mask); in main()
|