/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() argument 222 explicit thread(std::optional<unsigned> StackSizeInBytes, Function &&f, in thread() function 227 explicit thread(Function &&f, Args &&...args) { in thread() function 233 report_fatal_error("Detaching from a thread does not make sense with no " in detach() argument [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 240 TAILQ_ENTRY(thread) td_slpq; /* (t) Sleep queue. */ argument 256 u_char td_allocdomain; /* (b) NUMA domain backing this struct thread. */ argument 257 u_char td_base_ithread_pri; /* (t) Base ithread pri */ argument 265 int td_pflags; /* (k) Private thread (TDP_*) flags. */ argument 266 int td_pflags2; /* (k) Private thread (TDP2_*) flags. */ argument 279 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */ argument 280 const char *td_lockname; /* (t) Name of lock blocked on. */ 282 struct lock_list_entry *td_sleeplocks; /* (k) Held sleep locks. */ [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() 219 thr_destroy(struct pthread *curthread __unused, struct pthread *thread) in thr_destroy() 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() [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 | 48 _pthread_resume_np(pthread_t thread) in _pthread_resume_np() 66 struct pthread *thread; in _thr_resume_all_np() local 91 resume_common(struct pthread *thread) in resume_common()
|
H A D | thr_suspend_np.c | 49 _pthread_suspend_np(pthread_t thread) in _pthread_suspend_np() 108 struct pthread *thread; in _thr_suspend_all_np() local 160 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
|
H A D | kmp_tasking.cpp | 158 static void __kmp_push_task_stack(kmp_int32 gtid, kmp_info_t *thread, in __kmp_push_task_stack() 217 static void __kmp_pop_task_stack(kmp_int32 gtid, kmp_info_t *thread, in __kmp_pop_task_stack() 312 static void __kmp_realloc_task_deque(kmp_info_t *thread, 402 static kmp_int32 __kmp_push_priority_task(kmp_int32 gtid, kmp_info_t *thread, 478 kmp_info_t *thread = __kmp_threads[gtid]; local 673 kmp_info_t *thread = __kmp_threads[gtid]; local 888 kmp_info_t *thread) { 945 kmp_info_t *thread) { 1040 kmp_info_t *thread = __kmp_threads[gtid]; local 1396 void __kmp_finish_implicit_task(kmp_info_t *thread) { [all …]
|
/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() 97 StopInfoBreakpoint(Thread &thread, break_id_t break_id, bool should_stop) in StopInfoBreakpoint() 138 bool IsValidForOperatingSystemThread(Thread &thread) override { in IsValidForOperatingSystemThread() 674 StopInfoWatchpoint(Thread &thread, break_id_t watch_id, bool silently_skip_wp) in StopInfoWatchpoint() 700 ThreadPlanStepOverWatchpoint(Thread &thread, in ThreadPlanStepOverWatchpoint() 1049 StopInfoUnixSignal(Thread &thread, int signo, const char *description, in StopInfoUnixSignal() 1132 StopInfoTrace(Thread &thread) : StopInfo(thread, LLDB_INVALID_UID) {} in StopInfoTrace() 1150 StopInfoException(Thread &thread, const char *description) in StopInfoException() 1172 StopInfoProcessorTrace(Thread &thread, const char *description) in StopInfoProcessorTrace() [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() argument 98 Thread &thread, const Address &function, const CompilerType &return_type, in ThreadPlanCallFunction() argument 131 ThreadPlanCallFunction(Thread & thread,const Address & function,const EvaluateExpressionOptions & options) ThreadPlanCallFunction() argument 188 Thread &thread = GetThread(); DoTakedown() local 379 Thread &thread = GetThread(); DidPush() local [all...] |
H A D | ThreadPlanTracer.cpp | 37 : m_process(*thread.GetProcess().get()), m_tid(thread.GetID()), in ThreadPlanTracer() argument 41 : m_process(*thread.GetProcess().get()), m_tid(thread.GetID()), in ThreadPlanTracer() argument 93 : ThreadPlanTracer(thread), m_disassembler_s argument 88 ThreadPlanAssemblyTracer(Thread & thread,lldb::StreamSP & stream_sp) ThreadPlanAssemblyTracer() argument [all...] |
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectThreadUtil.cpp | 41 Thread *thread = m_exe_ctx.GetThreadPtr(); in DoExecute() local 75 ThreadSP thread = in DoExecute() local 112 ThreadSP thread = process->GetThreadList().FindThreadByIndexID( in DoExecute() local 137 Thread *thread = process->GetThreadList().FindThreadByID(tid).get(); in BucketThread() local 182 Thread &thread = m_exe_ctx.GetThreadRef(); in DoExecute() local 194 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() argument 39 Finish(uptr thread,void * retval) Finish() argument 61 AfterJoin(uptr thread,u32 gen) AfterJoin() argument 72 DetachLocked(uptr thread) DetachLocked() argument [all...] |
H A D | sanitizer_thread_arg_retval.h | 47 if (uptr thread = fn()) in Create() local 60 Detach(uptr thread,const DetachFn & fn) Detach() argument 70 Join(uptr thread,const JoinFn & fn) Join() argument [all...] |
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBHostOS.cpp | 121 LLDB_INSTRUMENT_VA(thread, result, error_ptr); in ThreadCancel() argument 104 llvm::Expected<HostThread> thread = ThreadCreate() local 133 ThreadDetach(lldb::thread_t thread,SBError * error_ptr) ThreadDetach() argument 150 ThreadJoin(lldb::thread_t thread,lldb::thread_result_t * result,SBError * error_ptr) ThreadJoin() argument
|
/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/compiler-rt/lib/asan/ |
H A D | asan_fuchsia.cpp | 122 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() local 182 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); in BeforeThreadCreateHook() local 195 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 211 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 254 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 262 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()
|