Home
last modified time | relevance | path

Searched refs:os_id (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp68 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 Dlsan_posix.cpp51 void ThreadStart(u32 tid, tid_t os_id, ThreadType thread_type) { in ThreadStart() argument
61 ThreadContextLsanBase::ThreadStart(tid, os_id, thread_type, &args); in ThreadStart()
64 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
68 GetLsanThreadRegistryLocked()->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked()
H A Dlsan_common.cpp408 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()
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()
718 if (i >= threads.size() || threads[i] != os_id) in ReportUnsuspendedThreads()
[all …]
H A Dlsan_posix.h44 void ThreadStart(u32 tid, tid_t os_id,
H A Dlsan_common.h105 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end,
110 void GetThreadExtraStackRangesLocked(tid_t os_id,
H A Dlsan_thread.h33 static void ThreadStart(u32 tid, tid_t os_id, ThreadType thread_type,
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp177 static __hwasan::Thread *GetThreadByOsIDLocked(tid_t os_id) { in GetThreadByOsIDLocked() argument
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() argument
197 auto *t = GetThreadByOsIDLocked(os_id); in GetThreadRangesLocked()
213 void GetThreadExtraStackRangesLocked(tid_t os_id, in GetThreadExtraStackRangesLocked() argument
H A Dhwasan_thread.h72 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 Dasan_thread.cpp282 void AsanThread::ThreadStart(tid_t os_id) { in ThreadStart() argument
284 asanThreadRegistry().StartThread(tid(), os_id, ThreadType::Regular, nullptr); in ThreadStart()
469 context->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
472 __asan::AsanThread *GetAsanThreadByOsIDLocked(tid_t os_id) { in GetAsanThreadByOsIDLocked() argument
474 __asan::asanThreadRegistry().FindThreadContextByOsIDLocked(os_id)); in GetAsanThreadByOsIDLocked()
500 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
503 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in GetThreadRangesLocked()
519 void GetThreadExtraStackRangesLocked(tid_t os_id, in GetThreadExtraStackRangesLocked() argument
521 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in GetThreadExtraStackRangesLocked()
540 tctx->os_id, reinterpret_cast<InternalMmapVector<Range> *>(arg)); in GetThreadExtraStackRangesLocked()
[all …]
H A Dasan_fuchsia.cpp212 static void ThreadStartHook(void *hook, uptr os_id) { in ThreadStartHook() argument
217 asanThreadRegistry().StartThread(thread->tid(), os_id, ThreadType::Regular, in ThreadStartHook()
224 static void ThreadExitHook(void *hook, uptr os_id) { in ThreadExitHook() argument
H A Dasan_thread.h83 void ThreadStart(tid_t os_id);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp21 : 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 Dsanitizer_thread_registry.h46 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 Dtsan_debugging.cpp168 int __tsan_get_report_thread(void *report, uptr idx, int *tid, tid_t *os_id, in __tsan_get_report_thread() argument
175 *os_id = thread->os_id; in __tsan_get_report_thread()
245 tid_t *os_id) { in __tsan_get_alloc_stack() argument
258 *os_id = tctx->os_id; in __tsan_get_alloc_stack()
H A Dtsan_report.h87 tid_t os_id; member
H A Dtsan_rtl_thread.cpp152 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 Dtsan_report.cpp241 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 Dtsan_interface.h178 int __tsan_get_report_thread(void *report, uptr idx, int *tid, tid_t *os_id,
195 tid_t *os_id);
H A Dtsan_rtl_report.cpp214 rt->os_id = tctx->os_id; in AddThread()
H A Dtsan_rtl.h559 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id,
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp137 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 Dmemprof_thread.h68 thread_return_t ThreadStart(tid_t os_id,
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_swinstalled_tbl.c254 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 Dkmp_affinity.cpp211 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()
1043 int os_id = hw_threads[i].os_id; in restrict_to_mask() local
2000 hw_thread.os_id = i; in __kmp_affinity_create_flat_map()
2048 hw_thread.os_id = i; in __kmp_affinity_create_proc_group_map()
2465 hw_thread.os_id = os; in __kmp_affinity_create_apicid_map()
2764 hw_thread.os_id = proc; in __kmp_affinity_create_x2apicid_map()
3557 hw_thread.os_id = os; in __kmp_affinity_create_cpuinfo_map()
4320 ids.os_id = cpu; in __kmp_affinity_get_mask_topology_info()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dtsan_interface.h291 int *tid, uint64_t *os_id,

12