Searched refs:sched_getaffinity (Results 1 – 15 of 15) sorted by relevance
| /freebsd/include/ |
| H A D | sched.h | 42 int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset);
|
| /freebsd/lib/libc/gen/ |
| H A D | sched_getaffinity.c | 38 sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset) in sched_getaffinity() function
|
| H A D | Symbol.map | 449 sched_getaffinity;
|
| H A D | Makefile.inc | 128 sched_getaffinity.c \
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Threading.inc | 60 #include <sched.h> // For sched_getaffinity 328 if (sched_getaffinity(0, sizeof(Set), &Set) == 0) 356 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) != 0) 403 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) == 0) 406 // The call to sched_getaffinity() may have failed because the Affinity 412 if (sched_getaffinity(0, CPU_ALLOC_SIZE(2048), DynAffinity) == 0) {
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | linux.cpp | 168 if (sched_getaffinity(0, sizeof(cpu_set_t), &CPUs) != 0) in getNumberOfCPUs()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/ |
| H A D | rtsan_interceptors_posix.cpp | 830 INTERCEPTOR(int, sched_getaffinity, pid_t pid, size_t len, cpu_set_t *set) { argument 832 return REAL(sched_getaffinity)(pid, len, set); 841 INTERCEPT_FUNCTION(sched_getaffinity)
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | done_abilist.txt | 305 fun:sched_getaffinity=custom
|
| H A D | dfsan_custom.cpp | 1536 int ret = sched_getaffinity(pid, cpusetsize, mask); in __dfsw_sched_getaffinity()
|
| H A D | libc_ubuntu1404_abilist.txt | 2796 fun:sched_getaffinity=uninstrumented
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cpp | 853 CHECK_EQ(sched_getaffinity(0, sizeof(cpu_set_t), &CPUs), 0); in GetNumberOfCPUs()
|
| H A D | sanitizer_common_syscalls.inc | 627 PRE_SYSCALL(sched_getaffinity)(long pid, long len, void *user_mask_ptr) {} 629 POST_SYSCALL(sched_getaffinity)
|
| H A D | sanitizer_common_interceptors.inc | 4045 INTERCEPTOR(int, sched_getaffinity, int pid, SIZE_T cpusetsize, void *mask) { 4047 COMMON_INTERCEPTOR_ENTER(ctx, sched_getaffinity, pid, cpusetsize, mask); 4051 int res = REAL(sched_getaffinity)(pid, cpusetsize, mask); 4055 #define INIT_SCHED_GETAFFINITY COMMON_INTERCEPT_FUNCTION(sched_getaffinity);
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/ |
| H A D | rtsan_test_interceptors_posix.cpp | 400 auto Func = [&set]() { sched_getaffinity(0, sizeof(set), &set); }; in TEST()
|
| /freebsd/contrib/jemalloc/src/ |
| H A D | jemalloc.c | 746 sched_getaffinity(0, sizeof(set), &set); in malloc_ncpus() 783 sched_getaffinity(0, sizeof(set), &set); in malloc_cpu_count_is_deterministic()
|