/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | thread.h | 72 thread() : Thread(native_handle_type()) {} in thread() function 73 thread(thread &&Other) noexcept in thread() function 77 explicit thread(Function &&f, Args &&...args) in thread() function 125 thread::thread(std::optional<unsigned> StackSizeInBytes, Function &&f, in thread() function 218 struct thread { struct 219 thread() {} in thread() argument 220 thread(thread &&other) {} in thread() function 222 explicit thread(std::optional<unsigned> StackSizeInBytes, Function &&f, in thread() argument 227 explicit thread(Function &&f, Args &&...args) { in thread() argument 236 void join() {} in join() [all …]
|
/freebsd/sys/sys/ |
H A D | proc.h | 234 struct thread { struct 237 TAILQ_ENTRY(thread) td_plist; /* (*) All threads in this proc. */ argument 256 u_char td_allocdomain; /* (b) NUMA domain backing this struct thread. */ argument 265 int td_pflags; /* (k) Private thread (TDP_*) flags. */ argument 279 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */ argument 288 int td_slptick; /* (t) Time at sleep. */ 327 /* Copied during fork1(), thread_create(), or kthread_add(). */ argument 347 * Fields that must be manually set in fork1(), thread_create(), kthread_add(), argument 357 } td_state; /* (t) thread state */ argument 372 struct mdthread td_md; /* (k) Any machine-dependent fields. */ argument [all …]
|
/freebsd/lib/libthr/thread/ |
H A D | thr_list.c | 134 struct pthread *thread = NULL; in _thr_alloc() local 186 _thr_free(struct pthread *curthread, struct pthread *thread) in _thr_free() 233 _thr_link(struct pthread *curthread, struct pthread *thread) in _thr_link() 245 _thr_unlink(struct pthread *curthread, struct pthread *thread) in _thr_unlink() 254 _thr_hash_add(struct pthread *thread) in _thr_hash_add() 263 _thr_hash_remove(struct pthread *thread) in _thr_hash_remove() 269 _thr_hash_find(struct pthread *thread) in _thr_hash_find() 288 _thr_ref_add(struct pthread *curthread, struct pthread *thread, in _thr_ref_add() 308 _thr_ref_delete(struct pthread *curthread, struct pthread *thread) in _thr_ref_delete() 318 _thr_try_gc(struct pthread *curthread, struct pthread *thread) in _thr_try_gc() [all …]
|
H A D | thr_info.c | 47 thr_set_name_np(struct pthread *thread, char **tmp_name) in thr_set_name_np() 58 _pthread_setname_np(pthread_t thread, const char *name) in _pthread_setname_np() 101 _pthread_set_name_np(pthread_t thread, const char *name) in _pthread_set_name_np() 107 thr_get_name_np(struct pthread *thread, char *buf, size_t len) in thr_get_name_np() 119 _thr_getname_np(pthread_t thread, char *buf, size_t len) in _thr_getname_np() 148 _pthread_get_name_np(pthread_t thread, char *buf, size_t len) in _pthread_get_name_np()
|
H A D | thr_resume_np.c | 47 _pthread_resume_np(pthread_t thread) in _pthread_resume_np() 65 struct pthread *thread; in _pthread_resume_all_np() local 90 resume_common(struct pthread *thread) in resume_common()
|
H A D | thr_suspend_np.c | 48 _pthread_suspend_np(pthread_t thread) in _pthread_suspend_np() 107 struct pthread *thread; in _pthread_suspend_all_np() local 159 suspend_common(struct pthread *curthread, struct pthread *thread, in suspend_common()
|
/freebsd/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 …]
|
/freebsd/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() 40 static inline void __kmp_depnode_list_free(kmp_info_t *thread, in __kmp_depnode_list_free() 56 static inline void __kmp_dephash_free_entries(kmp_info_t *thread, in __kmp_dephash_free_entries() 83 static inline void __kmp_dephash_free(kmp_info_t *thread, kmp_dephash_t *h) { in __kmp_dephash_free() 112 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_release_deps() local
|
H A D | kmp_taskdeps.cpp | 69 static kmp_dephash_t *__kmp_dephash_extend(kmp_info_t *thread, in __kmp_dephash_extend() 125 static kmp_dephash_t *__kmp_dephash_create(kmp_info_t *thread, in __kmp_dephash_create() 157 static kmp_dephash_entry *__kmp_dephash_find(kmp_info_t *thread, in __kmp_dephash_find() 199 static kmp_depnode_list_t *__kmp_add_node(kmp_info_t *thread, in __kmp_add_node() 298 __kmp_depnode_link_successor(kmp_int32 gtid, kmp_info_t *thread, in __kmp_depnode_link_successor() 341 kmp_info_t *thread, in __kmp_depnode_link_successor() 399 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_dep_all() local 459 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_deps() local 687 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_task_with_deps() local 914 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_taskwait_deps_51() local
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | StopInfo.cpp | 33 StopInfo::StopInfo(Thread &thread, uint64_t value) in StopInfo() 89 StopInfoBreakpoint(Thread &thread, break_id_t break_id) in StopInfoBreakpoint() 138 bool IsValidForOperatingSystemThread(Thread &thread) override { in IsValidForOperatingSystemThread() 700 ThreadPlanStepOverWatchpoint(Thread &thread, in ThreadPlanStepOverWatchpoint() 1148 StopInfoException(Thread &thread, const char *description) in StopInfoException() 1338 StopInfoVForkDone(Thread &thread) : StopInfo(thread, 0) {} in StopInfoVForkDone() 1391 StopInfoSP StopInfo::CreateStopReasonToTrace(Thread &thread) { in CreateStopReasonToTrace() 1412 StopInfoSP StopInfo::CreateStopReasonWithExec(Thread &thread) { in CreateStopReasonWithExec() 1416 StopInfoSP StopInfo::CreateStopReasonFork(Thread &thread, in CreateStopReasonFork() 1423 StopInfoSP StopInfo::CreateStopReasonVFork(Thread &thread, in CreateStopReasonVFork() [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 | 35 Thread &thread, ABI *&abi, lldb::addr_t &start_load_addr, in ConstructorSetup() 98 Thread &thread, const Address &function, const CompilerType &return_type, in ThreadPlanCallFunction() 131 Thread &thread, const Address &function, in ThreadPlanCallFunction() 188 Thread &thread = GetThread(); in DoTakedown() local 379 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/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectThreadUtil.cpp | 43 Thread *thread = m_exe_ctx.GetThreadPtr(); in DoExecute() local 77 ThreadSP thread = in DoExecute() local 114 ThreadSP thread = process->GetThreadList().FindThreadByIndexID( in DoExecute() local 139 Thread *thread = process->GetThreadList().FindThreadByID(tid).get(); in BucketThread() local 184 Thread &thread = m_exe_ctx.GetThreadRef(); in DoExecute() local 196 ThreadSP thread = process.GetThreadList().FindThreadByIndexID(thread_idx); in DoExecute() local
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_thread_arg_retval.cpp | 20 void ThreadArgRetval::CreateLocked(uptr thread, bool detached, in CreateLocked() 42 void ThreadArgRetval::Finish(uptr thread, void* retval) { in Finish() 75 void ThreadArgRetval::AfterJoin(uptr thread, u32 gen) { in AfterJoin() 87 void ThreadArgRetval::DetachLocked(uptr thread) { in DetachLocked()
|
H A D | sanitizer_thread_arg_retval.h | 47 if (uptr thread = fn()) in Create() local 60 void Detach(uptr thread, const DetachFn& fn) { in Detach() 70 void Join(uptr thread, const JoinFn& fn) { in Join()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_fuchsia.cpp | 118 Thread *thread = static_cast<Thread *>(hook); in ThreadCreateHook() local 134 Thread *thread = static_cast<Thread *>(hook); in ThreadStartHook() local 143 static void FinishThreadInitialization(Thread *thread) { in FinishThreadInitialization() 153 Thread *thread = static_cast<Thread *>(hook); in ThreadExitHook() local 215 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 223 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
/freebsd/crypto/openssl/test/ |
H A D | threadstest.h | 27 static int wait_for_thread(thread_t thread) in wait_for_thread() 52 static int wait_for_thread(thread_t thread) in wait_for_thread() 76 static int wait_for_thread(thread_t thread) in wait_for_thread()
|
/freebsd/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/contrib/llvm-project/lldb/source/Plugins/ABI/Hexagon/ |
H A D | ABISysV_hexagon.cpp | 1011 bool ABISysV_hexagon::PrepareTrivialCall(Thread &thread, lldb::addr_t sp, in PrepareTrivialCall() 1051 Thread &thread, lldb::addr_t sp, lldb::addr_t pc, lldb::addr_t ra, in PrepareTrivialCall() 1172 bool ABISysV_hexagon::GetArgumentValues(Thread &thread, in GetArgumentValues() 1185 Thread &thread, CompilerType &return_compiler_type) const { in GetReturnValueObjectSimple() 1191 Thread &thread, CompilerType &return_compiler_type) const { in GetReturnValueObjectImpl() 1283 ABISysV_hexagon::GetReturnValueObjectImpl(lldb_private::Thread &thread, in GetReturnValueObjectImpl()
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBHostOS.cpp | 109 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { in ThreadCancel() 114 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { in ThreadDetach() 119 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, in ThreadJoin()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_fuchsia.cpp | 124 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() local 184 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); in BeforeThreadCreateHook() local 197 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 213 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 256 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 264 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
/freebsd/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/sys/fs/nfsserver/ |
H A D | nfs_fha_new.c | 418 fha_hash_entry_add_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) in fha_hash_entry_add_thread() 428 fha_hash_entry_remove_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) in fha_hash_entry_remove_thread() 460 SVCTHREAD *thread, *min_thread = NULL; in fha_hash_entry_choose_thread() local 550 SVCTHREAD *thread; in fhanew_assign() local 611 fhanew_nd_complete(SVCTHREAD *thread, struct svc_req *req) in fhanew_nd_complete() 649 SVCTHREAD *thread; in fhenew_stats_sysctl() local
|