Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/lsan/
Dlsan_thread.cpp51 void ThreadContextLsanBase::ThreadStart(u32 tid, tid_t os_id, in ThreadStart() argument
53 thread_registry->StartThread(tid, os_id, thread_type, arg); in ThreadStart()
95 CurrentThreadContext()->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
100 void ForEachExtraStackRange(tid_t os_id, RangeIteratorCallback callback, in ForEachExtraStackRange() argument
Dlsan_posix.cpp47 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 GetThreadRegistryLocked()->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked()
Dlsan_common.cpp282 tid_t os_id = static_cast<tid_t>(suspended_threads.GetThreadID(i)); in ProcessThreads() local
283 LOG_THREADS("Processing thread %d.\n", os_id); in ProcessThreads()
286 bool thread_found = GetThreadRangesLocked(os_id, &stack_begin, &stack_end, in ProcessThreads()
292 LOG_THREADS("Thread %d not found in registry.\n", os_id); in ProcessThreads()
299 Report("Unable to get registers from thread %d.\n", os_id); in ProcessThreads()
336 ForEachExtraStackRange(os_id, ForEachExtraStackRangeCb, frontier); in ProcessThreads()
368 __libc_iterate_dynamic_tls(os_id, cb, frontier); in ProcessThreads()
383 LOG_THREADS("Thread %d has DTLS under destruction.\n", os_id); in ProcessThreads()
636 uptr i = InternalLowerBound(suspended_threads, tctx->os_id); in ReportIfNotSuspended()
637 if (i >= suspended_threads.size() || suspended_threads[i] != tctx->os_id) in ReportIfNotSuspended()
[all …]
Dlsan_common.h227 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end,
231 void ForEachExtraStackRange(tid_t os_id, RangeIteratorCallback callback,
Dlsan_posix.h44 void ThreadStart(u32 tid, tid_t os_id,
Dlsan_thread.h31 static void ThreadStart(u32 tid, tid_t os_id, ThreadType thread_type,
Dlsan_common_fuchsia.cpp143 ForEachExtraStackRange(tctx->os_id, ForEachExtraStackRangeCb, in LockStuffAndStopTheWorld()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cpp19 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase()
76 os_id = _os_id; in SetStarted()
204 return (tctx->os_id == (uptr)arg && tctx->status != ThreadStatusInvalid && in FindThreadContextByOsIdCallback()
208 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) { in FindThreadContextByOsIDLocked() argument
210 (void *)os_id); in FindThreadContextByOsIDLocked()
302 void ThreadRegistry::StartThread(u32 tid, tid_t os_id, ThreadType thread_type, in StartThread() argument
309 tctx->SetStarted(os_id, thread_type, arg); in StartThread()
Dsanitizer_thread_registry.h45 tid_t os_id; // PID (used for reporting). variable
121 ThreadContextBase *FindThreadContextByOsIDLocked(tid_t os_id);
129 void StartThread(u32 tid, tid_t os_id, ThreadType thread_type, void *arg);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/
Dasan_thread.cpp264 thread_return_t AsanThread::ThreadStart(tid_t os_id) { in ThreadStart() argument
266 asanThreadRegistry().StartThread(tid(), os_id, ThreadType::Regular, nullptr); in ThreadStart()
471 context->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
474 __asan::AsanThread *GetAsanThreadByOsIDLocked(tid_t os_id) { in GetAsanThreadByOsIDLocked() argument
476 __asan::asanThreadRegistry().FindThreadContextByOsIDLocked(os_id)); in GetAsanThreadByOsIDLocked()
484 bool GetThreadRangesLocked(tid_t os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
487 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in GetThreadRangesLocked()
502 void ForEachExtraStackRange(tid_t os_id, RangeIteratorCallback callback, in ForEachExtraStackRange() argument
504 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in ForEachExtraStackRange()
Dasan_fuchsia.cpp185 static void ThreadStartHook(void *hook, uptr os_id) { in ThreadStartHook() argument
190 asanThreadRegistry().StartThread(thread->tid(), os_id, ThreadType::Regular, in ThreadStartHook()
197 static void ThreadExitHook(void *hook, uptr os_id) { in ThreadExitHook() argument
Dasan_thread.h69 thread_return_t ThreadStart(tid_t os_id);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_debugging.cpp166 int __tsan_get_report_thread(void *report, uptr idx, int *tid, tid_t *os_id, in __tsan_get_report_thread() argument
173 *os_id = thread->os_id; in __tsan_get_report_thread()
243 tid_t *os_id) { in __tsan_get_alloc_stack() argument
256 *os_id = tctx->os_id; in __tsan_get_alloc_stack()
Dtsan_report.h93 tid_t os_id; member
Dtsan_report.cpp262 Printf(" (tid=%zu, %s) is a GCD worker thread\n", rt->os_id, thread_status); in PrintThread()
267 Printf(" (tid=%zu, %s) created by %s", rt->os_id, thread_status, in PrintThread()
Dtsan_rtl_thread.cpp237 void ThreadStart(ThreadState *thr, int tid, tid_t os_id, in ThreadStart() argument
258 tr->StartThread(tid, os_id, thread_type, &args); in ThreadStart()
Dtsan_interface.h166 int __tsan_get_report_thread(void *report, uptr idx, int *tid, tid_t *os_id,
183 tid_t *os_id);
Dtsan_rtl_report.cpp212 rt->os_id = tctx->os_id; in AddThread()
Dtsan_rtl.h749 void ThreadStart(ThreadState *thr, int tid, tid_t os_id,
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/memprof/
Dmemprof_thread.cpp138 MemprofThread::ThreadStart(tid_t os_id, in ThreadStart() argument
141 memprofThreadRegistry().StartThread(tid(), os_id, ThreadType::Regular, in ThreadStart()
218 context->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
Dmemprof_thread.h68 thread_return_t ThreadStart(tid_t os_id,
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
Dhostres_swinstalled_tbl.c256 struct utsname os_id; in swins_get_OS_ident() local
263 if (uname(&os_id) == -1) { in swins_get_OS_ident()
269 os_id.sysname, os_id.version); in swins_get_OS_ident()
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
Dkmp_affinity.cpp138 if (ahwthread->os_id < bhwthread->os_id) in compare_ids()
140 else if (ahwthread->os_id > bhwthread->os_id) in compare_ids()
173 printf("%4d ", os_id); in print()
588 KMP_INFORM(OSProcMapToPack, env_var, hw_threads[i].os_id, buf.str); in print()
770 KMP_CPU_CLR(hw_thread.os_id, __kmp_affin_fullMask); in filter_hw_subset()
1217 hw_thread.os_id = pu->os_index; in __kmp_affinity_create_hwloc_map()
1306 hw_thread.os_id = i; in __kmp_affinity_create_flat_map()
1354 hw_thread.os_id = i; in __kmp_affinity_create_proc_group_map()
1771 hw_thread.os_id = os; in __kmp_affinity_create_apicid_map()
2046 hw_thread.os_id = proc; in __kmp_affinity_create_x2apicid_map()
[all …]
Dkmp_affinity.h609 int os_id; variable
/freebsd-12-stable/contrib/binutils/bfd/
Dppcboot.c64 bfd_byte os_id; /* OS_ID */ member
419 if (tdata->header.os_id)
420 fprintf (f, "OS_ID = 0x%.2x\n", tdata->header.os_id);