/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_thread.cpp | 68 void ThreadContextLsanBase::ThreadStart(u32 tid, tid_t os_id, in ThreadStart() argument 70 thread_registry->StartThread(tid, os_id, thread_type, arg); in ThreadStart() 77 GetCurrentThread()->os_id = GetTid(); in EnsureMainThreadIDIsCorrect() 82 void GetThreadExtraStackRangesLocked(tid_t os_id, in GetThreadExtraStackRangesLocked() argument 106 tctx->os_id); in GetRunningThreadsLocked()
|
H A D | lsan_posix.cpp | 51 void ThreadStart(u32 tid, tid_t os_id, ThreadType thread_type) { in ThreadStart() 61 ThreadContextLsanBase::ThreadStart(tid, os_id, thread_type, &args); 64 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() 68 GetLsanThreadRegistryLocked()->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked() 49 ThreadStart(u32 tid,tid_t os_id,ThreadType thread_type) ThreadStart() argument 62 GetThreadRangesLocked(tid_t os_id,uptr * stack_begin,uptr * stack_end,uptr * tls_begin,uptr * tls_end,uptr * cache_begin,uptr * cache_end,DTLS ** dtls) GetThreadRangesLocked() argument
|
H A D | lsan_common.cpp | 408 tid_t os_id = static_cast<tid_t>(suspended_threads.GetThreadID(i)); in ProcessThreads() local 409 LOG_THREADS("Processing thread %llu.\n", os_id); in ProcessThreads() 413 GetThreadRangesLocked(os_id, &stack_begin, &stack_end, &tls_begin, in ProcessThreads() 418 LOG_THREADS("Thread %llu not found in registry.\n", os_id); in ProcessThreads() 425 Report("Unable to get registers from thread %llu.\n", os_id); in ProcessThreads() 468 GetThreadExtraStackRangesLocked(os_id, &extra_ranges); in ProcessThreads() 501 __libc_iterate_dynamic_tls(os_id, cb, frontier); in ProcessThreads() 517 LOG_THREADS("Thread %llu has DTLS under destruction.\n", os_id); in ProcessThreads() 716 for (auto os_id : unsuspended) { in ReportUnsuspendedThreads() local 717 uptr i = InternalLowerBound(threads, os_id); in ReportUnsuspendedThreads() [all …]
|
H A D | lsan_posix.h | 44 void ThreadStart(u32 tid, tid_t os_id,
|
H A D | lsan_common.h | 105 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end, 110 void GetThreadExtraStackRangesLocked(tid_t os_id,
|
H A D | lsan_thread.h | 33 static void ThreadStart(u32 tid, tid_t os_id, ThreadType thread_type,
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_thread.cpp | 177 static __hwasan::Thread *GetThreadByOsIDLocked(tid_t os_id) { in GetThreadByOsIDLocked() 179 [os_id](__hwasan::Thread *t) { return t->os_id() == os_id; }); in GetThreadByOsIDLocked() 194 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() 197 auto *t = GetThreadByOsIDLocked(os_id); in GetThreadRangesLocked() 213 void GetThreadExtraStackRangesLocked(tid_t os_id, in GetThreadExtraStackRangesLocked() 176 GetThreadByOsIDLocked(tid_t os_id) GetThreadByOsIDLocked() argument 193 GetThreadRangesLocked(tid_t os_id,uptr * stack_begin,uptr * stack_end,uptr * tls_begin,uptr * tls_end,uptr * cache_begin,uptr * cache_end,DTLS ** dtls) GetThreadRangesLocked() argument 212 GetThreadExtraStackRangesLocked(tid_t os_id,InternalMmapVector<Range> * ranges) GetThreadExtraStackRangesLocked() argument
|
H A D | hwasan_thread.h | 72 tid_t os_id() const { return os_id_; } in os_id() function 73 void set_os_id(tid_t os_id) { os_id_ = os_id; } in set_os_id() argument
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_thread.cpp | 287 void AsanThread::ThreadStart(tid_t os_id) { in ThreadStart() argument 289 asanThreadRegistry().StartThread(tid(), os_id, ThreadType::Regular, nullptr); in ThreadStart() 474 context->os_id = GetTid(); in EnsureMainThreadIDIsCorrect() 477 __asan::AsanThread *GetAsanThreadByOsIDLocked(tid_t os_id) { in GetAsanThreadByOsIDLocked() argument 479 __asan::asanThreadRegistry().FindThreadContextByOsIDLocked(os_id)); in GetAsanThreadByOsIDLocked() 505 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument 508 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in GetThreadRangesLocked() 524 void GetThreadExtraStackRangesLocked(tid_t os_id, in GetThreadExtraStackRangesLocked() argument 526 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in GetThreadExtraStackRangesLocked() 545 tctx->os_id, reinterpret_cast<InternalMmapVector<Range> *>(arg)); in GetThreadExtraStackRangesLocked() [all …]
|
H A D | asan_fuchsia.cpp | 210 static void ThreadStartHook(void *hook, uptr os_id) { in ThreadStartHook() argument 215 asanThreadRegistry().StartThread(thread->tid(), os_id, ThreadType::Regular, in ThreadStartHook() 222 static void ThreadExitHook(void *hook, uptr os_id) { in ThreadExitHook() argument
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cpp | 21 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 78 os_id = _os_id; in SetStarted() 212 return (tctx->os_id == (uptr)arg && tctx->status != ThreadStatusInvalid && in FindThreadContextByOsIdCallback() 216 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) { in FindThreadContextByOsIDLocked() argument 218 (void *)os_id); in FindThreadContextByOsIDLocked() 310 void ThreadRegistry::StartThread(u32 tid, tid_t os_id, ThreadType thread_type, in StartThread() argument 317 tctx->SetStarted(os_id, thread_type, arg); in StartThread()
|
H A D | sanitizer_thread_registry.h | 46 tid_t os_id; // PID (used for reporting). variable 124 ThreadContextBase *FindThreadContextByOsIDLocked(tid_t os_id); 132 void StartThread(u32 tid, tid_t os_id, ThreadType thread_type, void *arg);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_debugging.cpp | 168 int __tsan_get_report_thread(void *report, uptr idx, int *tid, tid_t *os_id, in __tsan_get_report_thread() 175 *os_id = thread->os_id; in __tsan_get_report_thread() 245 tid_t *os_id) { in __tsan_get_alloc_stack() 258 *os_id = tctx->os_id; in __tsan_get_alloc_stack() 166 __tsan_get_report_thread(void * report,uptr idx,int * tid,tid_t * os_id,int * running,const char ** name,int * parent_tid,void ** trace,uptr trace_size) __tsan_get_report_thread() argument 243 __tsan_get_alloc_stack(uptr addr,uptr * trace,uptr size,int * thread_id,tid_t * os_id) __tsan_get_alloc_stack() argument
|
H A D | tsan_report.h | 87 tid_t os_id; 86 tid_t os_id; global() member
|
H A D | tsan_rtl_thread.cpp | 152 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id, in ThreadStart() argument 154 ctx->thread_registry.StartThread(tid, os_id, thread_type, thr); in ThreadStart()
|
H A D | tsan_report.cpp | 241 Printf(" (tid=%llu, %s) is a GCD worker thread\n", rt->os_id, in PrintThread() 247 Printf(" (tid=%llu, %s) created by %s", rt->os_id, thread_status, in PrintThread()
|
H A D | tsan_interface.h | 178 int __tsan_get_report_thread(void *report, uptr idx, int *tid, tid_t *os_id, 195 tid_t *os_id);
|
H A D | tsan_rtl_report.cpp | 214 rt->os_id = tctx->os_id; in AddThread()
|
H A D | tsan_rtl.h | 559 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id,
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_thread.cpp | 137 MemprofThread::ThreadStart(tid_t os_id, in ThreadStart() argument 140 memprofThreadRegistry().StartThread(tid(), os_id, ThreadType::Regular, in ThreadStart() 217 context->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
|
H A D | memprof_thread.h | 68 thread_return_t ThreadStart(tid_t os_id,
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_swinstalled_tbl.c | 254 struct utsname os_id; in swins_get_OS_ident() local 261 if (uname(&os_id) == -1) { in swins_get_OS_ident() 267 os_id.sysname, os_id.version); in swins_get_OS_ident()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_affinity.cpp | 211 if (ahwthread->os_id < bhwthread->os_id) in compare_ids() 213 else if (ahwthread->os_id > bhwthread->os_id) in compare_ids() 247 printf("%4d ", os_id); in print() 324 KMP_CPU_SET(hw_threads[i].os_id, mask); in _insert_windows_proc_groups() 844 KMP_INFORM(OSProcMapToPack, env_var, hw_threads[i].os_id, buf.str); in print() 1011 int os_id = hw_threads[i].os_id; in restrict_to_mask() local 1012 if (KMP_CPU_ISSET(os_id, mask)) { in restrict_to_mask() 1017 KMP_CPU_CLR(os_id, __kmp_affin_fullMask); in restrict_to_mask() 1366 KMP_CPU_CLR(hw_thread.os_id, filtered_mask); in filter_hw_subset() 1906 hw_thread.os_id = pu->os_index; in __kmp_affinity_create_hwloc_map() [all …]
|
H A D | kmp_affinity.h | 848 int os_id; variable
|
H A D | kmp_dispatch.cpp | 474 int id = team->t.t_threads[i]->th.th_topology_ids.os_id; in __kmp_dispatch_init_algorithm()
|