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.cpp69 void ThreadContextLsanBase::ThreadStart(u32 tid, tid_t os_id, in ThreadStart() argument
71 thread_registry->StartThread(tid, os_id, thread_type, arg); in ThreadStart()
78 GetCurrentThread()->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
83 void GetThreadExtraStackRangesLocked(tid_t os_id, in GetThreadExtraStackRangesLocked() argument
107 tctx->os_id); in GetRunningThreadsLocked()
H A Dlsan_common.cpp448 static void ProcessThread(tid_t os_id, uptr sp, in ProcessThread() argument
455 LOG_THREADS("Processing thread %llu.\n", os_id); in ProcessThread()
459 GetThreadRangesLocked(os_id, &stack_begin, &stack_end, &tls_begin, in ProcessThread()
464 LOG_THREADS("Thread %llu not found in registry.\n", os_id); in ProcessThread()
502 GetThreadExtraStackRangesLocked(os_id, &extra_ranges); in ProcessThread()
536 __libc_iterate_dynamic_tls(os_id, cb, frontier); in ProcessThread()
552 LOG_THREADS("Thread %llu has DTLS under destruction.\n", os_id); in ProcessThread()
568 const tid_t os_id = suspended_threads.GetThreadID(i); in ProcessThreads() local
573 VReport(1, "Unable to get registers from thread %llu.\n", os_id); in ProcessThreads()
581 if (os_id == caller_tid) in ProcessThreads()
[all …]
H A Dlsan_posix.cpp51 void ThreadStart(u32 tid, tid_t os_id, ThreadType thread_type) { in ThreadStart() argument
57 ThreadContextLsanBase::ThreadStart(tid, os_id, thread_type, &args); in ThreadStart()
60 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
64 GetLsanThreadRegistryLocked()->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked()
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.cpp285 void AsanThread::ThreadStart(tid_t os_id) { in ThreadStart() argument
287 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.cpp214 static void ThreadStartHook(void *hook, uptr os_id) { in ThreadStartHook() argument
219 asanThreadRegistry().StartThread(thread->tid(), os_id, ThreadType::Regular, in ThreadStartHook()
226 static void ThreadExitHook(void *hook, uptr os_id) { in ThreadExitHook() argument
H A Dasan_thread.h78 void ThreadStart(tid_t os_id);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp24 os_id(0), in ThreadContextBase()
86 os_id = _os_id; in SetStarted()
227 return (tctx->os_id == (uptr)arg && tctx->status != ThreadStatusInvalid && in FindThreadContextByOsIdCallback()
231 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) { in FindThreadContextByOsIDLocked() argument
233 (void *)os_id); in FindThreadContextByOsIDLocked()
325 void ThreadRegistry::StartThread(u32 tid, tid_t os_id, ThreadType thread_type, in StartThread() argument
332 tctx->SetStarted(os_id, thread_type, arg); in StartThread()
H A Dsanitizer_thread_registry.h46 tid_t os_id; // PID (used for reporting). variable
129 ThreadContextBase *FindThreadContextByOsIDLocked(tid_t os_id);
137 void StartThread(u32 tid, tid_t os_id, ThreadType thread_type, void *arg);
H A Dsanitizer_thread_history.cpp40 out.AppendF("T%llu/%llu", context->unique_id, context->os_id); in PrintThreadHistory()
/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()
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 Dtsan_report.h87 tid_t os_id;
86 tid_t os_id; global() 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.h562 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id,
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp134 MemprofThread::ThreadStart(tid_t os_id, in ThreadStart() argument
137 memprofThreadRegistry().StartThread(tid(), os_id, ThreadType::Regular, in ThreadStart()
210 context->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
H A Dmemprof_thread.h62 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.cpp230 if (ahwthread->os_id < bhwthread->os_id) in compare_ids()
232 else if (ahwthread->os_id > bhwthread->os_id) in compare_ids()
266 printf("%4d ", os_id); in print()
343 KMP_CPU_SET(hw_threads[i].os_id, mask); in _insert_windows_proc_groups()
868 KMP_INFORM(OSProcMapToPack, env_var, hw_threads[i].os_id, buf.str); in print()
1035 int os_id = hw_threads[i].os_id; in restrict_to_mask() local
1036 if (KMP_CPU_ISSET(os_id, mask)) { in restrict_to_mask()
1041 KMP_CPU_CLR(os_id, __kmp_affin_fullMask); in restrict_to_mask()
1391 KMP_CPU_CLR(hw_thread.os_id, filtered_mask); in filter_hw_subset()
1936 hw_thread.os_id = pu->os_index; in __kmp_affinity_create_hwloc_map()
[all …]

12