/third_party/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()
|
/third_party/rust/crates/nix/test/ |
D | test_sched.rs | 1 use nix::sched::{sched_getaffinity, sched_getcpu, sched_setaffinity, CpuSet}; 21 sched_setaffinity(Pid::from_raw(0), &new_affinity).unwrap(); in test_sched_affinity() 38 sched_setaffinity(Pid::from_raw(0), &initial_affinity).unwrap(); in test_sched_affinity()
|
/third_party/musl/libc-test/src/functionalext/supplement/sched/ |
D | sched_setaffinity.c | 40 int result = sched_setaffinity(0, set_size, set); in sched_setaffinity_0100() 63 int result = sched_setaffinity(0, sizeof(mask), &mask); in sched_setaffinity_0200()
|
D | sched_getaffinity.c | 34 int result = sched_setaffinity(0, sizeof(mask), &mask); in sched_getaffinity_0100()
|
D | test_src_functionalext_supplement_sched.gni | 19 "sched_setaffinity",
|
/third_party/rust/crates/rustix/src/process/ |
D | sched.rs | 91 pub fn sched_setaffinity(pid: Option<Pid>, cpuset: &CpuSet) -> io::Result<()> { in sched_setaffinity() function 92 backend::process::syscalls::sched_setaffinity(pid, &cpuset.cpu_set) in sched_setaffinity()
|
D | mod.rs | 76 pub use sched::{sched_getaffinity, sched_setaffinity, CpuSet};
|
/third_party/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()
|
/third_party/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()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/ |
D | sched.h | 44 int sched_setaffinity(pid_t, size_t, const cpu_set_t *);
|
/third_party/rust/crates/nix/src/ |
D | sched.rs | 262 pub fn sched_setaffinity(pid: Pid, cpuset: &CpuSet) -> Result<()> { in sched_setaffinity() function 264 libc::sched_setaffinity( in sched_setaffinity()
|
/third_party/ltp/testcases/open_posix_testsuite/include/ |
D | affinity.h | 38 return (sched_setaffinity(0, sizeof(cpu_set_t), &mask)); in set_affinity()
|
/third_party/musl/src/sched/ |
D | affinity.c | 7 int sched_setaffinity(pid_t tid, size_t size, const cpu_set_t *set) in sched_setaffinity() function
|
/third_party/musl/libc-test/src/regression/ |
D | malloc-free-performance.c | 165 if (sched_setaffinity(0, sizeof(mask), &mask) < 0) { in main()
|
D | malloc-multi-thread-performance.c | 35 if (sched_setaffinity(0, sizeof(mask), &mask) < 0) { in func()
|
/third_party/musl/porting/liteos_a/user/src/sched/ |
D | affinity.c | 7 int sched_setaffinity(pid_t tid, size_t size, const cpu_set_t *set) in sched_setaffinity() function
|
/third_party/ltp/testcases/kernel/syscalls/ |
D | Makefile | 29 sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
|
/third_party/lzma/CPP/Windows/ |
D | System.h | 86 return sched_setaffinity(0, sizeof(cpu_set), &cpu_set) == 0;
|
/third_party/ltp/testcases/realtime/func/measurement/ |
D | preempt_timing.c | 123 err = sched_setaffinity(0, sizeof(mask), &mask); in main()
|
/third_party/skia/third_party/externals/oboe/samples/shared/ |
D | DefaultAudioStreamCallback.h | 130 int result = sched_setaffinity(current_thread_id, sizeof(cpu_set_t), &cpu_set); in setThreadAffinity()
|
/third_party/ltp/testcases/kernel/syscalls/getcpu/ |
D | getcpu01.c | 73 if (sched_setaffinity(0, size, set) < 0) { in set_cpu_affinity()
|
/third_party/ltp/testcases/realtime/func/pi-tests/ |
D | testpi-1.c | 187 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
|
D | testpi-2.c | 188 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
|
D | testpi-4.c | 188 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
D | cpuset_syscall_test.c | 130 ret = sched_setaffinity(0, sizeof(tmask), &tmask); in test_setaffinity()
|