Home
last modified time | relevance | path

Searched refs:sched_getaffinity (Results 1 – 25 of 59) sorted by relevance

123

/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_affinity.c44 #define sched_getaffinity(pid, cpusetsize, mask) syscall(__NR_sched_getaffinity, pid, cpusetsize, m… macro
162 sched_getaffinity(pid, sizeof(mask), mask1); in HT_GetAffinity()
170 sched_getaffinity(pid, sizeof(mask), mask1); in HT_GetAffinity()
194 sched_getaffinity(pid, sizeof(mask), mask); in HT_InheritAffinity()
/third_party/toybox/toys/other/
Dtaskset.c40 #define sched_getaffinity(pid, size, cpuset) \ macro
56 if (-1 == sched_getaffinity(pid, sizeof(toybuf), (void *)mask)) in do_taskset()
124 if (!toys.optflags && -1!=sched_getaffinity(getpid(), 4096, toybuf)) { in nproc_main()
/third_party/ltp/testcases/kernel/syscalls/sched_getaffinity/
Dsched_getaffinity01.c23 TEST(sched_getaffinity(pid, cpusize, mask)); in errno_test()
56 TEST(sched_getaffinity(0, len, mask)); in do_test()
/third_party/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c113 rc = sched_getaffinity(0, sizeof(mask), &mask); in func_nonrt()
162 rc = sched_getaffinity(0, sizeof(mask), &mask); in func_rt()
218 rc = sched_getaffinity(0, sizeof(mask), &mask); in func_noise()
339 retc = sched_getaffinity(0, sizeof(mask), &mask); in main()
/third_party/musl/porting/liteos_a_newlib/kernel/include/
Dsched.h43 int sched_getaffinity (pid_t, size_t, cpu_set_t *);
/third_party/musl/libc-test/src/functionalext/supplement/sched/
Dsched_getaffinity.c40 result = sched_getaffinity(0, sizeof(get), &get); in sched_getaffinity_0100()
Dsched_setaffinity.c69 result = sched_getaffinity(0, sizeof(get), &get); in sched_setaffinity_0200()
Dtest_src_functionalext_supplement_sched.gni17 "sched_getaffinity",
/third_party/musl/src/sched/
Daffinity.c25 int sched_getaffinity(pid_t tid, size_t size, cpu_set_t *set) in sched_getaffinity() function
/third_party/ltp/lib/
Dtst_cpu.c87 if (sched_getaffinity(0, cpusz, cpus)) { in tst_ncpus_available()
/third_party/boost/tools/build/src/engine/
Dsysinfo.cpp65 if (::sched_getaffinity(0, sizeof(cpu_set_t), &cpu_set) == 0) in sched_affinity_cpu_count()
/third_party/musl/porting/liteos_a/user/src/sched/
Daffinity.c38 int sched_getaffinity(pid_t tid, size_t size, cpu_set_t *set) in sched_getaffinity() function
/third_party/ltp/testcases/kernel/syscalls/
DMakefile29 sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreading.cpp98 if (sched_getaffinity(0, sizeof(Set), &Set)) in hardware_concurrency()
/third_party/ltp/testcases/kernel/syscalls/sched_setaffinity/
Dsched_setaffinity01.c102 if (sched_getaffinity(0, mask_size, mask) < 0) in setup()
/third_party/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c62 if (sched_getaffinity(0, size, set) < 0) { in set_cpu_affinity()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c138 ret = sched_getaffinity(0, sizeof(tmask), &tmask); in test_getaffinity()
/third_party/musl/porting/liteos_m/user/include/
Dsched.h89 int sched_getaffinity(pid_t, size_t, cpu_set_t *);
/third_party/musl/porting/liteos_m/kernel/include/
Dsched.h76 int sched_getaffinity(pid_t, size_t, cpu_set_t *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dsched.h76 int sched_getaffinity(pid_t, size_t, cpu_set_t *);
/third_party/musl/include/
Dsched.h89 int sched_getaffinity(pid_t, size_t, cpu_set_t *);
/third_party/musl/ndk_musl_include/
Dsched.h91 int sched_getaffinity(pid_t, size_t, cpu_set_t *);
/third_party/musl/porting/linux/user/include/
Dsched.h91 int sched_getaffinity(pid_t, size_t, cpu_set_t *);
/third_party/ltp/include/lapi/syscalls/
Daarch64.in125 sched_getaffinity 123
/third_party/musl/porting/liteos_a/kernel/include/
Dsched.h77 int sched_getaffinity(pid_t, size_t, cpu_set_t *);

123