Searched refs:sched_getaffinity (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/ |
| H A D | SingleStepCheck.cpp | 79 if (sched_getaffinity(child_pid, sizeof available_cpus, &available_cpus) == in WorkaroundNeeded() 156 if (sched_getaffinity(tid, sizeof original_set, &original_set) != 0) { in Get()
|
| /llvm-project-15.0.7/openmp/runtime/test/affinity/ |
| H A D | libomp_test_affinity.h | 62 if (sched_getaffinity(0, mask->setsize, mask->set) != 0) { in get_thread_affinity()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | linux.cpp | 141 if (sched_getaffinity(0, sizeof(cpu_set_t), &CPUs) != 0) in getNumberOfCPUs()
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Threading.inc | 47 #include <sched.h> // For sched_getaffinity 302 if (sched_getaffinity(0, sizeof(Set), &Set) == 0)
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/ |
| H A D | util.py | 119 n = len(os.sched_getaffinity(0))
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Host.cpp | 1549 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) != 0) in computeHostNumPhysicalCores() 1592 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) == 0) in computeHostNumPhysicalCores() 1601 if (sched_getaffinity(0, CPU_ALLOC_SIZE(2048), DynAffinity) == 0) { in computeHostNumPhysicalCores()
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | done_abilist.txt | 290 fun:sched_getaffinity=custom
|
| H A D | dfsan_custom.cpp | 1505 int ret = sched_getaffinity(pid, cpusetsize, mask); in __dfsw_sched_getaffinity()
|
| H A D | libc_ubuntu1404_abilist.txt | 2791 fun:sched_getaffinity=uninstrumented
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cpp | 826 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 | 3926 INTERCEPTOR(int, sched_getaffinity, int pid, SIZE_T cpusetsize, void *mask) { 3928 COMMON_INTERCEPTOR_ENTER(ctx, sched_getaffinity, pid, cpusetsize, mask); 3932 int res = REAL(sched_getaffinity)(pid, cpusetsize, mask); 3936 #define INIT_SCHED_GETAFFINITY COMMON_INTERCEPT_FUNCTION(sched_getaffinity);
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/tests/ |
| H A D | msan_test.cpp | 3228 TEST(MemorySanitizer, sched_getaffinity) { in TEST() argument 3230 if (sched_getaffinity(getpid(), sizeof(mask), &mask) == 0) in TEST() 3239 int res = sched_getaffinity(getpid(), CPU_ALLOC_SIZE(2048), DynAffinity); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/test/dfsan/ |
| H A D | custom.cpp | 1314 int ret = sched_getaffinity(0, sizeof(mask), &mask); in test_sched_getaffinity()
|