Home
last modified time | relevance | path

Searched refs:sched_setaffinity (Results 1 – 25 of 105) sorted by relevance

12345

/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_affinity.c43 #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/
Dtestpi-3.c107 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/
Dtaskset.c38 #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/
Dsnake.c252 sched_setaffinity(0, sizeof(cpu_set_t), in main()
272 sched_setaffinity(0, sizeof(cpu_set_t), in main()
/external/strace/tests/
Dsched_xetaffinity.test6 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
/external/strace/tests-m32/
Dsched_xetaffinity.test6 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
/external/strace/tests-mx32/
Dsched_xetaffinity.test6 run_strace_match_diff -a28 -e trace=sched_getaffinity,sched_setaffinity
/external/fio/os/
Dos-linux.h53 sched_setaffinity((pid), sizeof(cpumask), &(cpumask))
58 sched_setaffinity((pid), &(cpumask))
/external/linux-kselftest/tools/testing/selftests/x86/
Dsysret_ss_attrs.c66 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in main()
Diopl.c49 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in main()
Dldt_gdt.c382 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/
Dchecktsc.c183 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/
Daffinity.h39 return (sched_setaffinity(0, sizeof(cpu_set_t), &mask)); in set_affinity()
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_thread_test.c47 if (sched_setaffinity(0, sizeof(mask), &mask)) in check_cpu_dscr_thread()
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Dpitest-1.c102 rc = sched_setaffinity(0, sizeof(mask), &mask); in thread_fn()
141 rc = sched_setaffinity((pid_t) 0, sizeof(mask), &mask); in thread_tl()
Dpitest-6.c101 rc = sched_setaffinity(0, sizeof(mask), &mask); in thread_fn()
140 rc = sched_setaffinity((pid_t) 0, sizeof(mask), &mask); in thread_tl()
Dpitest-5.c104 rc = sched_setaffinity(0, sizeof(mask), &mask); in thread_fn()
144 rc = sched_setaffinity((pid_t) 0, sizeof(mask), &mask); in thread_tl()
Dpitest-2.c104 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/
Dcp_abort.c82 FAIL_IF(sched_setaffinity(0, sizeof(cpuset), &cpuset)); in test_cp_abort()
/external/ltp/tools/pounder21/build_scripts/
Dlame99 grep sched_setaffinity /usr/include/sched.h > /dev/null 2>&1
/external/strace/
Daffinity.c100 SYS_FUNC(sched_setaffinity) in SYS_FUNC() argument
/external/linux-kselftest/tools/testing/selftests/intel_pstate/
Daperf.c50 if (sched_setaffinity(0, sizeof(cpu_set_t), &cpuset)) { in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-tmspr.c49 sched_setaffinity(0, sizeof(cpuset), &cpuset); in tfiar_tfhar()
/external/autotest/client/tests/monotonic_time/src/
Dthreads.c38 if (sched_setaffinity(0, sizeof thread->cpus, &thread->cpus) < 0) in run_thread()
/external/ltp/testcases/realtime/func/measurement/
Dpreempt_timing.c122 err = sched_setaffinity(0, sizeof(mask), &mask); in main()

12345