Home
last modified time | relevance | path

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

/freebsd-src/include/
H A Dsched.h42 int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset);
/freebsd-src/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.inc124 sched_getaffinity.c \
/freebsd-src/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-src/contrib/xz/src/common/
H A Dtuklib_cpucores.c57 if (sched_getaffinity(0, sizeof(cpu_mask), &cpu_mask) == 0) in tuklib_cpucores()
/freebsd-src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp165 if (sched_getaffinity(0, sizeof(cpu_set_t), &CPUs) != 0) in getNumberOfCPUs()
/freebsd-src/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-src/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);
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);