Searched refs:sched_getaffinity (Results 1 – 12 of 12) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Threading.inc | 53 #include <sched.h> // For sched_getaffinity 310 if (sched_getaffinity(0, sizeof(Set), &Set) == 0) 337 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) != 0) 384 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) == 0) 387 // The call to sched_getaffinity() may have failed because the Affinity 393 if (sched_getaffinity(0, CPU_ALLOC_SIZE(2048), DynAffinity) == 0) {
|
/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 | 450 sched_getaffinity;
|
H A D | Makefile.inc | 126 sched_getaffinity.c \
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | linux.cpp | 163 // sched_getaffinity can fail for a variety of legitimate reasons (lack of in getThreadID() 165 if (sched_getaffinity(0, sizeof(cpu_set_t), &CPUs) != 0) in getThreadID()
|
/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 | 1533 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 | 855 CHECK_EQ(sched_getaffinity(0, sizeof(cpu_set_t), &CPUs), 0); in GetNumberOfCPUs()
|
H A D | sanitizer_common_syscalls.inc | 626 PRE_SYSCALL(sched_getaffinity)(long pid, long len, void *user_mask_ptr) {} 628 POST_SYSCALL(sched_getaffinity)
|
H A D | sanitizer_common_interceptors.inc | 3884 INTERCEPTOR(int, sched_getaffinity, int pid, SIZE_T cpusetsize, void *mask) { 3886 COMMON_INTERCEPTOR_ENTER(ctx, sched_getaffinity, pid, cpusetsize, mask); 3890 int res = REAL(sched_getaffinity)(pid, cpusetsize, mask); 3894 #define INIT_SCHED_GETAFFINITY COMMON_INTERCEPT_FUNCTION(sched_getaffinity);
|