Searched refs:sched_getaffinity (Results 1 – 14 of 14) sorted by relevance
| /freebsd-14.2/include/ |
| H A D | sched.h | 43 int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset);
|
| /freebsd-14.2/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 | 452 sched_getaffinity;
|
| H A D | Makefile.inc | 131 sched_getaffinity.c \
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Threading.inc | 53 #include <sched.h> // For sched_getaffinity 307 if (sched_getaffinity(0, sizeof(Set), &Set) == 0) 334 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) != 0) 381 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) == 0) 384 // The call to sched_getaffinity() may have failed because the Affinity 390 if (sched_getaffinity(0, CPU_ALLOC_SIZE(2048), DynAffinity) == 0) {
|
| /freebsd-14.2/contrib/xz/src/common/ |
| H A D | tuklib_cpucores.c | 58 if (sched_getaffinity(0, sizeof(cpu_mask), &cpu_mask) == 0) in tuklib_cpucores()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | linux.cpp | 165 if (sched_getaffinity(0, sizeof(cpu_set_t), &CPUs) != 0) in getNumberOfCPUs()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cpp | 830 CHECK_EQ(sched_getaffinity(0, sizeof(cpu_set_t), &CPUs), 0); in GetNumberOfCPUs()
|
| H A D | sanitizer_common_syscalls.inc | 612 PRE_SYSCALL(sched_getaffinity)(long pid, long len, void *user_mask_ptr) {} 614 POST_SYSCALL(sched_getaffinity)
|
| H A D | sanitizer_common_interceptors.inc | 3873 INTERCEPTOR(int, sched_getaffinity, int pid, SIZE_T cpusetsize, void *mask) { 3875 COMMON_INTERCEPTOR_ENTER(ctx, sched_getaffinity, pid, cpusetsize, mask); 3879 int res = REAL(sched_getaffinity)(pid, cpusetsize, mask); 3883 #define INIT_SCHED_GETAFFINITY COMMON_INTERCEPT_FUNCTION(sched_getaffinity);
|
| /freebsd-14.2/contrib/xz/ |
| H A D | ChangeLog | 10699 tuklib_cpucores: Add support for sched_getaffinity(). 10702 than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity()
|