Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc53 #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 Dsched.h42 int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset);
/freebsd/lib/libc/gen/
H A Dsched_getaffinity.c38 sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset) in sched_getaffinity() function
H A DSymbol.map450 sched_getaffinity;
H A DMakefile.inc126 sched_getaffinity.c \
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp163 // 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 Ddone_abilist.txt305 fun:sched_getaffinity=custom
H A Ddfsan_custom.cpp1533 int ret = sched_getaffinity(pid, cpusetsize, mask); in __dfsw_sched_getaffinity()
H A Dlibc_ubuntu1404_abilist.txt2796 fun:sched_getaffinity=uninstrumented
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp855 CHECK_EQ(sched_getaffinity(0, sizeof(cpu_set_t), &CPUs), 0); in GetNumberOfCPUs()
H A Dsanitizer_common_syscalls.inc626 PRE_SYSCALL(sched_getaffinity)(long pid, long len, void *user_mask_ptr) {}
628 POST_SYSCALL(sched_getaffinity)
H A Dsanitizer_common_interceptors.inc3884 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);