| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | thread.h | 77 thread() : Thread(native_handle_type()) {} in thread() function 78 thread(thread &&Other) noexcept in thread() function 82 explicit thread(Function &&f, Args &&...args) in thread() function 130 thread::thread(llvm::Optional<unsigned> StackSizeInBytes, Function &&f, in thread() function 225 struct thread { struct 226 thread() {} in thread() argument 227 thread(thread &&other) {} in thread() argument 229 explicit thread(llvm::Optional<unsigned> StackSizeInBytes, Function &&f, in thread() argument 234 explicit thread(Function &&f, Args &&...args) { in thread() argument 243 void join() {} in join() [all …]
|
| /freebsd-13.1/sys/sys/ |
| H A D | proc.h | 230 struct thread { struct 233 TAILQ_ENTRY(thread) td_plist; /* (*) All threads in this proc. */ argument 252 u_char td_allocdomain; /* (b) NUMA domain backing this struct thread. */ argument 258 int td_pflags; /* (k) Private thread (TDP_*) flags. */ argument 271 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */ argument 280 int td_slptick; /* (t) Time at sleep. */ 319 /* Copied during fork1() or create_thread(). */ argument 340 * Fields that must be manually set in fork1() or create_thread() argument 350 } td_state; /* (t) thread state */ argument 363 struct mdthread td_md; /* (k) Any machine-dependent fields. */ argument [all …]
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_list.c | 137 struct pthread *thread = NULL; in _thr_alloc() local 189 _thr_free(struct pthread *curthread, struct pthread *thread) in _thr_free() 236 _thr_link(struct pthread *curthread, struct pthread *thread) in _thr_link() 248 _thr_unlink(struct pthread *curthread, struct pthread *thread) in _thr_unlink() 257 _thr_hash_add(struct pthread *thread) in _thr_hash_add() 266 _thr_hash_remove(struct pthread *thread) in _thr_hash_remove() 272 _thr_hash_find(struct pthread *thread) in _thr_hash_find() 291 _thr_ref_add(struct pthread *curthread, struct pthread *thread, in _thr_ref_add() 311 _thr_ref_delete(struct pthread *curthread, struct pthread *thread) in _thr_ref_delete() 321 _thr_try_gc(struct pthread *curthread, struct pthread *thread) in _thr_try_gc() [all …]
|
| H A D | thr_info.c | 50 thr_set_name_np(struct pthread *thread, char **tmp_name) in thr_set_name_np() 61 _pthread_setname_np(pthread_t thread, const char *name) in _pthread_setname_np() 104 _pthread_set_name_np(pthread_t thread, const char *name) in _pthread_set_name_np() 110 thr_get_name_np(struct pthread *thread, char *buf, size_t len) in thr_get_name_np() 121 _pthread_getname_np(pthread_t thread, char *buf, size_t len) in _pthread_getname_np() 150 _pthread_get_name_np(pthread_t thread, char *buf, size_t len) in _pthread_get_name_np()
|
| H A D | thr_resume_np.c | 50 _pthread_resume_np(pthread_t thread) in _pthread_resume_np() 68 struct pthread *thread; in _pthread_resume_all_np() local 93 resume_common(struct pthread *thread) in resume_common()
|
| H A D | thr_suspend_np.c | 51 _pthread_suspend_np(pthread_t thread) in _pthread_suspend_np() 110 struct pthread *thread; in _pthread_suspend_all_np() local 162 suspend_common(struct pthread *curthread, struct pthread *thread, in suspend_common()
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_taskdeps.h | 21 static inline void __kmp_node_deref(kmp_info_t *thread, kmp_depnode_t *node) { in __kmp_node_deref() 37 static inline void __kmp_depnode_list_free(kmp_info_t *thread, in __kmp_depnode_list_free() 53 static inline void __kmp_dephash_free_entries(kmp_info_t *thread, in __kmp_dephash_free_entries() 78 static inline void __kmp_dephash_free(kmp_info_t *thread, kmp_dephash_t *h) { in __kmp_dephash_free() 90 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_release_deps() local
|
| H A D | kmp_taskdeps.cpp | 66 static kmp_dephash_t *__kmp_dephash_extend(kmp_info_t *thread, in __kmp_dephash_extend() 121 static kmp_dephash_t *__kmp_dephash_create(kmp_info_t *thread, in __kmp_dephash_create() 152 static kmp_dephash_entry *__kmp_dephash_find(kmp_info_t *thread, in __kmp_dephash_find() 191 static kmp_depnode_list_t *__kmp_add_node(kmp_info_t *thread, in __kmp_add_node() 242 __kmp_depnode_link_successor(kmp_int32 gtid, kmp_info_t *thread, in __kmp_depnode_link_successor() 269 kmp_info_t *thread, in __kmp_depnode_link_successor() 302 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_deps() local 518 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_task_with_deps() local 679 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_wait_deps() local
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | FuncUnwinders.cpp | 61 Thread &thread) { in GetUnwindPlanAtCallSite() 199 UnwindPlanSP FuncUnwinders::GetSymbolFileUnwindPlan(Thread &thread) { in GetSymbolFileUnwindPlan() 215 Thread &thread) { in GetObjectFileAugmentedUnwindPlan() 246 Thread &thread) { in GetEHFrameAugmentedUnwindPlan() 287 Thread &thread) { in GetDebugFrameAugmentedUnwindPlan() 328 Thread &thread) { in GetAssemblyUnwindPlan() 353 Thread &thread, const UnwindPlanSP &a, const UnwindPlanSP &b) { in CompareUnwindPlansForIdenticalInitialPCLocation() 384 Thread &thread) { in GetUnwindPlanAtNonCallSite() 435 Thread &thread) { in GetUnwindPlanFastUnwind() 454 UnwindPlanSP FuncUnwinders::GetUnwindPlanArchitectureDefault(Thread &thread) { in GetUnwindPlanArchitectureDefault() [all …]
|
| H A D | UnwindPlan.cpp | 71 GetByteOrderAndAddrSize(Thread *thread) { in GetByteOrderAndAddrSize() 81 static void DumpDWARFExpr(Stream &s, llvm::ArrayRef<uint8_t> expr, Thread *thread) { in DumpDWARFExpr() 94 Thread *thread, in Dump() 158 Thread *thread, uint32_t reg_num) { in DumpRegisterName() 225 Thread *thread, addr_t base_addr) const { in Dump() 492 void UnwindPlan::Dump(Stream &s, Thread *thread, lldb::addr_t base_addr) const { in Dump() 569 const RegisterInfo *UnwindPlan::GetRegisterInfo(Thread *thread, in GetRegisterInfo()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectThreadUtil.cpp | 30 Thread *thread = m_exe_ctx.GetThreadPtr(); in DoExecute() local 64 ThreadSP thread = in DoExecute() local 101 ThreadSP thread = process->GetThreadList().FindThreadByIndexID( in DoExecute() local 127 Thread *thread = process->GetThreadList().FindThreadByID(tid).get(); in BucketThread() local 172 Thread &thread = m_exe_ctx.GetThreadRef(); in DoExecute() local 184 ThreadSP thread = process.GetThreadList().FindThreadByIndexID(thread_idx); in DoExecute() local
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | StopInfo.cpp | 30 StopInfo::StopInfo(Thread &thread, uint64_t value) in StopInfo() 86 StopInfoBreakpoint(Thread &thread, break_id_t break_id) in StopInfoBreakpoint() 122 bool IsValidForOperatingSystemThread(Thread &thread) override { in IsValidForOperatingSystemThread() 658 StopInfoWatchpoint(Thread &thread, break_id_t watch_id, in StopInfoWatchpoint() 1038 StopInfoException(Thread &thread, const char *description) in StopInfoException() 1060 StopInfoProcessorTrace(Thread &thread, const char *description) in StopInfoProcessorTrace() 1127 StopInfoExec(Thread &thread) in StopInfoExec() 1181 StopInfoSP StopInfo::CreateStopReasonToTrace(Thread &thread) { in CreateStopReasonToTrace() 1192 StopInfoSP StopInfo::CreateStopReasonWithException(Thread &thread, in CreateStopReasonWithException() 1197 StopInfoSP StopInfo::CreateStopReasonProcessorTrace(Thread &thread, in CreateStopReasonProcessorTrace() [all …]
|
| H A D | ThreadPlanStepInstruction.cpp | 23 ThreadPlanStepInstruction::ThreadPlanStepInstruction(Thread &thread, in ThreadPlanStepInstruction() 40 Thread &thread = GetThread(); in SetUpState() local 100 Thread &thread = GetThread(); in IsPlanStale() local 129 Thread &thread = GetThread(); in ShouldStop() local
|
| H A D | InstrumentationRuntimeStopInfo.cpp | 19 Thread &thread, std::string description, in InstrumentationRuntimeStopInfo() 32 Thread &thread, std::string description, in CreateStopReasonWithInstrumentationData()
|
| H A D | ThreadPlanCallFunction.cpp | 34 Thread &thread, ABI *&abi, lldb::addr_t &start_load_addr, in ConstructorSetup() 97 Thread &thread, const Address &function, const CompilerType &return_type, in ThreadPlanCallFunction() 127 Thread &thread, const Address &function, in ThreadPlanCallFunction() 181 Thread &thread = GetThread(); in DoTakedown() local 373 Thread &thread = GetThread(); in DidPush() local
|
| H A D | ThreadPlanTracer.cpp | 36 ThreadPlanTracer::ThreadPlanTracer(Thread &thread, lldb::StreamSP &stream_sp) in ThreadPlanTracer() 40 ThreadPlanTracer::ThreadPlanTracer(Thread &thread) in ThreadPlanTracer() 87 ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer(Thread &thread, in ThreadPlanAssemblyTracer() 92 ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer(Thread &thread) in ThreadPlanAssemblyTracer()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPT.cpp | 87 for (const ThreadPostMortemTraceSP &thread : traced_threads) in TraceIntelPT() local 92 DecodedThreadSP TraceIntelPT::Decode(Thread &thread) { in Decode() 107 lldb::TraceCursorUP TraceIntelPT::GetCursor(Thread &thread) { in GetCursor() 111 void TraceIntelPT::DumpTraceInfo(Thread &thread, Stream &s, bool verbose) { in DumpTraceInfo() 122 Optional<size_t> TraceIntelPT::GetRawTraceSize(Thread &thread) { in GetRawTraceSize() 201 Thread &thread = in DoRefreshLiveProcessState() local 208 bool TraceIntelPT::IsTraced(const Thread &thread) { in IsTraced()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 115 Thread *thread = static_cast<Thread *>(hook); in ThreadCreateHook() local 131 Thread *thread = static_cast<Thread *>(hook); in ThreadStartHook() local 140 static void FinishThreadInitialization(Thread *thread) { in FinishThreadInitialization() 150 Thread *thread = static_cast<Thread *>(hook); in ThreadExitHook() local 191 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 199 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/API/ |
| H A D | SBHostOS.cpp | 110 llvm::Expected<HostThread> thread = in ThreadCreate() local 128 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { in ThreadCancel() 142 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { in ThreadDetach() 161 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, in ThreadJoin()
|
| /freebsd-13.1/sys/contrib/zstd/lib/common/ |
| H A D | threading.c | 40 ZSTD_pthread_t* const thread = (ZSTD_pthread_t*) arg; in worker() local 45 int ZSTD_pthread_create(ZSTD_pthread_t* thread, const void* unused, in ZSTD_pthread_create() 59 int ZSTD_pthread_join(ZSTD_pthread_t thread, void **value_ptr) in ZSTD_pthread_join()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_fuchsia.cpp | 96 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() local 156 AsanThread *thread = in BeforeThreadCreateHook() local 170 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 186 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 217 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 225 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/Hexagon/ |
| H A D | ABISysV_hexagon.cpp | 1010 bool ABISysV_hexagon::PrepareTrivialCall(Thread &thread, lldb::addr_t sp, in PrepareTrivialCall() 1050 Thread &thread, lldb::addr_t sp, lldb::addr_t pc, lldb::addr_t ra, in PrepareTrivialCall() 1171 bool ABISysV_hexagon::GetArgumentValues(Thread &thread, in GetArgumentValues() 1184 Thread &thread, CompilerType &return_compiler_type) const { in GetReturnValueObjectSimple() 1190 Thread &thread, CompilerType &return_compiler_type) const { in GetReturnValueObjectImpl() 1295 ABISysV_hexagon::GetReturnValueObjectImpl(lldb_private::Thread &thread, in GetReturnValueObjectImpl()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libpthread_dbg/ |
| H A D | t_threads.c | 67 iterateThreads1(td_thread_t *thread, void *arg) in iterateThreads1() 125 iterateThreads2(td_thread_t *thread, void *arg) in iterateThreads2() 192 iterateThreads3(td_thread_t *thread, void *arg) in iterateThreads3() 263 iterateThreads4(td_thread_t *thread, void *arg) in iterateThreads4() 340 iterateThreads5(td_thread_t *thread, void *arg) in iterateThreads5() 422 iterateThreads6(td_thread_t *thread, void *arg) in iterateThreads6() 496 iterateThreads7(td_thread_t *thread, void *arg) in iterateThreads7() 570 iterateThreads8(td_thread_t *thread, void *arg) in iterateThreads8() 651 iterateThreads9(td_thread_t *thread, void *arg) in iterateThreads9()
|
| /freebsd-13.1/sys/fs/nfsserver/ |
| H A D | nfs_fha_new.c | 431 fha_hash_entry_add_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) in fha_hash_entry_add_thread() 441 fha_hash_entry_remove_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) in fha_hash_entry_remove_thread() 473 SVCTHREAD *thread, *min_thread = NULL; in fha_hash_entry_choose_thread() local 563 SVCTHREAD *thread; in fhanew_assign() local 620 fhanew_nd_complete(SVCTHREAD *thread, struct svc_req *req) in fhanew_nd_complete() 654 SVCTHREAD *thread; in fhenew_stats_sysctl() local
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 105 for (const auto &thread : process_up->m_threads) in Launch() local 199 for (const auto &thread : m_threads) { in MonitorSIGSTOP() local 223 NativeThreadNetBSD *thread = nullptr; in MonitorSIGTRAP() local 261 for (const auto &thread : m_threads) in MonitorSIGTRAP() local 372 NativeThreadNetBSD &thread = static_cast<NativeThreadNetBSD &>(*abs_thread); in MonitorSignal() local 419 for (const auto &thread : threads) { in ComputeSignalInfo() local 473 NativeThreadNetBSD &thread = static_cast<NativeThreadNetBSD &>(*abs_thread); in Resume() local 806 for (const auto &thread : m_threads) { in HasThreadNoLock() local 870 for (const auto &thread : m_threads) in Attach() local 1055 for (const auto &thread : child_process->m_threads) in MonitorClone() local
|