Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_debugging.cpp49 uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument
58 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack()
62 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack()
131 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument
132 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack()
136 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument
137 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
H A Dasan_interface_internal.h153 u32 *thread_id);
157 u32 *thread_id);
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadSpec.h63 bool TIDMatches(lldb::tid_t thread_id) const { in TIDMatches() argument
64 if (m_tid == LLDB_INVALID_THREAD_ID || thread_id == LLDB_INVALID_THREAD_ID) in TIDMatches()
67 return thread_id == m_tid; in TIDMatches()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp272 uint64_t thread_id = in GetRenumberedThreadIds() local
291 thread_id_map[thread_id] = lldb_user_id; in GetRenumberedThreadIds()
948 int thread_id = in GenerateThreadName() local
966 is_write ? "mutating" : "read-only", thread_id); in GenerateThreadName()
969 result = Sprintf("modifying access by thread %d", thread_id); in GenerateThreadName()
973 size, addr_string.c_str(), thread_id); in GenerateThreadName()
978 int thread_id = in GenerateThreadName() local
980 result = Sprintf("Thread %d created", thread_id); in GenerateThreadName()
986 int thread_id = in GenerateThreadName() local
1006 int thread_id = in GenerateThreadName() local
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.h102 bool HasThreadNoLock(lldb::tid_t thread_id);
104 NativeThreadNetBSD &AddThread(lldb::tid_t thread_id);
105 void RemoveThread(lldb::tid_t thread_id);
H A DNativeProcessNetBSD.cpp805 bool NativeProcessNetBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
808 if (thread->GetID() == thread_id) { in HasThreadNoLock()
818 NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
820 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
822 assert(thread_id > 0); in AddThread()
823 assert(!HasThreadNoLock(thread_id) && in AddThread()
828 SetCurrentThreadID(thread_id); in AddThread()
834 void NativeProcessNetBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
838 assert(thread_id > 0); in RemoveThread()
839 assert(HasThreadNoLock(thread_id) && in RemoveThread()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.h109 bool HasThreadNoLock(lldb::tid_t thread_id);
111 NativeThreadFreeBSD &AddThread(lldb::tid_t thread_id);
112 void RemoveThread(lldb::tid_t thread_id);
H A DNativeProcessFreeBSD.cpp765 bool NativeProcessFreeBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
768 if (thread->GetID() == thread_id) { in HasThreadNoLock()
780 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
782 assert(thread_id > 0); in AddThread()
783 assert(!HasThreadNoLock(thread_id) && in AddThread()
788 SetCurrentThreadID(thread_id); in AddThread()
794 void NativeProcessFreeBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
796 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
798 assert(thread_id > 0); in RemoveThread()
799 assert(HasThreadNoLock(thread_id) && in RemoveThread()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dasan_interface.h211 int *thread_id);
226 int *thread_id);
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DWatchpointOptions.h46 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
151 void SetThreadID(lldb::tid_t thread_id);
H A DBreakpointLocation.h142 void SetThreadID(lldb::tid_t thread_id);
/freebsd-13.1/contrib/googletest/googletest/src/
H A Dgtest-port.cc386 DWORD thread_id; in CreateThread() local
394 &thread_id); // Need a valid pointer for the call to work under Win98. in CreateThread()
510 static void OnThreadExit(DWORD thread_id) { in OnThreadExit() argument
511 GTEST_CHECK_(thread_id != 0) << ::GetLastError(); in OnThreadExit()
520 thread_to_thread_locals->find(thread_id); in OnThreadExit()
548 static void StartWatcherThreadFor(DWORD thread_id) { in StartWatcherThreadFor() argument
553 thread_id); in StartWatcherThreadFor()
562 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)), in StartWatcherThreadFor()
/freebsd-13.1/usr.bin/top/
H A Dtop.c291 ps.thread_id = false; in main()
438 ps.thread_id = !ps.thread_id; in main()
1006 ps.thread_id = !ps.thread_id; in main()
1009 ps.thread_id ? "tid" : "pid"); in main()
H A Dmachine.h69 bool thread_id; /* show thread ids */ member
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DThreadSpec.cpp80 lldb::tid_t thread_id = thread.GetID(); in TIDMatches() local
81 return TIDMatches(thread_id); in TIDMatches()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp57 bool ContainsTid(tid_t thread_id) const;
325 bool SuspendedThreadsListNetBSD::ContainsTid(tid_t thread_id) const { in ContainsTid()
327 if (thread_ids_[i] == thread_id) in ContainsTid()
H A Dsanitizer_stoptheworld_linux_libcdep.cpp94 bool ContainsTid(tid_t thread_id) const;
135 bool SuspendThread(tid_t thread_id);
544 bool SuspendedThreadsListLinux::ContainsTid(tid_t thread_id) const { in ContainsTid()
546 if (thread_ids_[i] == thread_id) return true; in ContainsTid()
/freebsd-13.1/contrib/subversion/subversion/svnserve/
H A Dwinservice.c327 DWORD thread_id; in winservice_start() local
351 NULL, 0, &thread_id); in winservice_start()
/freebsd-13.1/contrib/llvm-project/lldb/source/Breakpoint/
H A DWatchpointOptions.cpp116 void WatchpointOptions::SetThreadID(lldb::tid_t thread_id) { in SetThreadID() argument
117 GetThreadSpec()->SetTID(thread_id); in SetThreadID()
H A DBreakpointLocation.cpp102 void BreakpointLocation::SetThreadID(lldb::tid_t thread_id) { in SetThreadID() argument
103 if (thread_id != LLDB_INVALID_THREAD_ID) in SetThreadID()
104 GetLocationOptions().SetThreadID(thread_id); in SetThreadID()
109 m_options_up->SetThreadID(thread_id); in SetThreadID()
/freebsd-13.1/sys/contrib/octeon-sdk/cvmx-malloc/
H A Dthread-m.h37 typedef int thread_id; typedef
/freebsd-13.1/contrib/apr/include/
H A Dapr_portable.h103 typedef thread_id apr_os_thread_t;
104 typedef thread_id apr_os_proc_t;
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBBreakpointLocation.cpp304 void SBBreakpointLocation::SetThreadID(tid_t thread_id) { in SetThreadID() argument
306 thread_id); in SetThreadID()
312 loc_sp->SetThreadID(thread_id); in SetThreadID()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_debugging.cpp242 int __tsan_get_alloc_stack(uptr addr, uptr *trace, uptr size, int *thread_id, in __tsan_get_alloc_stack() argument
252 *thread_id = b->tid; in __tsan_get_alloc_stack()
/freebsd-13.1/contrib/wpa/src/l2_packet/
H A Dl2_packet_winpcap.c205 DWORD thread_id; in l2_packet_init() local
248 &thread_id); in l2_packet_init()

12