| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | thread.h | 27 typedef std::thread thread; typedef 36 struct thread { struct 37 thread() {} in thread() argument 38 thread(thread &&other) {} in thread() function 40 explicit thread(Function &&f, Args &&... args) { in thread() argument 45 void join() {} in join() 46 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency()
|
| /freebsd-12.1/sys/sys/ |
| H A D | proc.h | 223 struct thread { struct 226 TAILQ_ENTRY(thread) td_plist; /* (*) All threads in this proc. */ argument 248 int td_pflags; /* (k) Private thread (TDP_*) flags. */ argument 260 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */ argument 268 int td_slptick; /* (t) Time at sleep. */ 269 int td_blktick; /* (t) Time spent blocked. */ 304 /* Copied during fork1() or create_thread(). */ argument 322 * Fields that must be manually set in fork1() or create_thread() argument 332 } td_state; /* (t) thread state */ argument 349 struct mdthread td_md; /* (k) Any machine-dependent fields. */ argument [all …]
|
| /freebsd-12.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 | 51 thr_set_name_np(struct pthread *thread, const char *name) in thr_set_name_np() 60 _pthread_set_name_np(pthread_t thread, const char *name) in _pthread_set_name_np() 82 thr_get_name_np(struct pthread *thread, char *buf, size_t len) in thr_get_name_np() 94 _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-12.1/contrib/openmp/runtime/src/ |
| H A D | kmp_taskdeps.h | 26 static inline void __kmp_node_deref(kmp_info_t *thread, kmp_depnode_t *node) { in __kmp_node_deref() 41 static inline void __kmp_depnode_list_free(kmp_info_t *thread, in __kmp_depnode_list_free() 57 static inline void __kmp_dephash_free_entries(kmp_info_t *thread, in __kmp_dephash_free_entries() 82 static inline void __kmp_dephash_free(kmp_info_t *thread, kmp_dephash_t *h) { in __kmp_dephash_free() 92 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_create(kmp_info_t *thread, in __kmp_dephash_create() 103 __kmp_dephash_find(kmp_info_t *thread, kmp_dephash_t *h, kmp_intptr_t addr) { in __kmp_dephash_find() 137 static kmp_depnode_list_t *__kmp_add_node(kmp_info_t *thread, in __kmp_add_node() 185 __kmp_depnode_link_successor(kmp_int32 gtid, kmp_info_t *thread, in __kmp_depnode_link_successor() 212 kmp_info_t *thread, in __kmp_depnode_link_successor() 245 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_deps() local 463 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_task_with_deps() local 618 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_wait_deps() local
|
| H A D | kmp_tasking.cpp | 329 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_push_task() local 499 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_start() local 817 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_finish() local 1166 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_task_alloc() local 1432 kmp_info_t *thread; in __kmp_invoke_task() local 1831 kmp_info_t *thread; in __kmpc_omp_taskwait_template() local 1958 kmp_info_t *thread; in __kmpc_omp_taskyield() local 2061 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_task_reduction_init() local 2123 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_task_reduction_get_th_data() local 3193 kmp_info_t *thread; in __kmp_wait_to_unref_task_teams() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | POSIXStopInfo.h | 24 POSIXStopInfo(lldb_private::Thread &thread, uint32_t status) in POSIXStopInfo() 34 POSIXLimboStopInfo(FreeBSDThread &thread) : POSIXStopInfo(thread, 0) {} in POSIXLimboStopInfo() 54 POSIXNewThreadStopInfo(FreeBSDThread &thread) : POSIXStopInfo(thread, 0) {} in POSIXNewThreadStopInfo()
|
| /freebsd-12.1/sys/contrib/zstd/lib/common/ |
| H A D | threading.c | 38 ZSTD_pthread_t* const thread = (ZSTD_pthread_t*) arg; in worker() local 43 int ZSTD_pthread_create(ZSTD_pthread_t* thread, const void* unused, in ZSTD_pthread_create() 57 int ZSTD_pthread_join(ZSTD_pthread_t thread, void **value_ptr) in ZSTD_pthread_join()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 220 for (const auto &thread : m_threads) { in MonitorSIGTRAP() local 227 for (const auto &thread : m_threads) in MonitorSIGTRAP() local 241 for (const auto &thread : m_threads) in MonitorSIGTRAP() local 258 for (const auto &thread : m_threads) in MonitorSIGTRAP() local 277 for (const auto &thread : m_threads) in MonitorSIGTRAP() local 291 for (const auto &thread : m_threads) { in MonitorSignal() local 325 const auto &thread = m_threads[0]; in Resume() local 344 for (const auto &thread : m_threads) in Resume() local 355 for (const auto &thread : m_threads) in Resume() local 631 for (const auto &thread : m_threads) { in HasThreadNoLock() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBHostOS.cpp | 112 HostThread thread(ThreadLauncher::LaunchThread( in ThreadCreate() local 119 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { in ThreadCancel() 129 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { in ThreadDetach() 144 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, in ThreadJoin()
|
| /freebsd-12.1/sys/nfs/ |
| H A D | nfs_fha.c | 247 fha_hash_entry_add_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) in fha_hash_entry_add_thread() 257 fha_hash_entry_remove_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) in fha_hash_entry_remove_thread() 289 SVCTHREAD *thread, *min_thread = NULL; in fha_hash_entry_choose_thread() local 379 SVCTHREAD *thread; in fha_assign() local 439 fha_nd_complete(SVCTHREAD *thread, struct svc_req *req) in fha_nd_complete() 472 SVCTHREAD *thread; in fhe_stats_sysctl() local
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Target/ |
| H A D | StopInfo.cpp | 31 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() 125 bool IsValidForOperatingSystemThread(Thread &thread) override { in IsValidForOperatingSystemThread() 629 StopInfoWatchpoint(Thread &thread, break_id_t watch_id, in StopInfoWatchpoint() 999 StopInfoTrace(Thread &thread) : StopInfo(thread, LLDB_INVALID_UID) {} in StopInfoTrace() 1019 StopInfoException(Thread &thread, const char *description) in StopInfoException() 1088 StopInfoExec(Thread &thread) in StopInfoExec() 1142 StopInfoSP StopInfo::CreateStopReasonToTrace(Thread &thread) { in CreateStopReasonToTrace() 1153 StopInfoSP StopInfo::CreateStopReasonWithException(Thread &thread, in CreateStopReasonWithException() [all …]
|
| H A D | InstrumentationRuntimeStopInfo.cpp | 20 Thread &thread, std::string description, in InstrumentationRuntimeStopInfo() 33 Thread &thread, std::string description, in CreateStopReasonWithInstrumentationData()
|
| H A D | ABI.cpp | 83 ValueObjectSP ABI::GetReturnValueObject(Thread &thread, CompilerType &ast_type, in GetReturnValueObject() 164 ValueObjectSP ABI::GetReturnValueObject(Thread &thread, llvm::Type &ast_type, in GetReturnValueObject() 175 lldb::ValueObjectSP ABI::GetReturnValueObjectImpl(Thread &thread, in GetReturnValueObjectImpl() 184 bool ABI::PrepareTrivialCall(Thread &thread, lldb::addr_t sp, in PrepareTrivialCall()
|
| H A D | ThreadPlanTracer.cpp | 37 ThreadPlanTracer::ThreadPlanTracer(Thread &thread, lldb::StreamSP &stream_sp) in ThreadPlanTracer() 41 ThreadPlanTracer::ThreadPlanTracer(Thread &thread) in ThreadPlanTracer() 79 ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer(Thread &thread, in ThreadPlanAssemblyTracer() 84 ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer(Thread &thread) in ThreadPlanAssemblyTracer()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | i386gnu-nat.c | 65 fetch_fpregs (struct proc *thread) in fetch_fpregs() 117 struct proc *thread; in gnu_fetch_registers() local 171 store_fpregs (struct proc *thread, int regno) in store_fpregs() 204 struct proc *thread; in gnu_store_registers() local
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | FuncUnwinders.cpp | 170 Thread &thread, in GetEHFrameAugmentedUnwindPlan() 211 FuncUnwinders::GetDebugFrameAugmentedUnwindPlan(Target &target, Thread &thread, in GetDebugFrameAugmentedUnwindPlan() 254 Thread &thread, in GetAssemblyUnwindPlan() 279 Thread &thread, const UnwindPlanSP &a, const UnwindPlanSP &b) { in CompareUnwindPlansForIdenticalInitialPCLocation() 310 Thread &thread, in GetUnwindPlanAtNonCallSite() 359 Thread &thread) { in GetUnwindPlanFastUnwind() 377 UnwindPlanSP FuncUnwinders::GetUnwindPlanArchitectureDefault(Thread &thread) { in GetUnwindPlanArchitectureDefault() 401 FuncUnwinders::GetUnwindPlanArchitectureDefaultAtFunctionEntry(Thread &thread) { in GetUnwindPlanArchitectureDefaultAtFunctionEntry()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-hexagon/ |
| H A D | ABISysV_hexagon.cpp | 1025 bool ABISysV_hexagon::PrepareTrivialCall(Thread &thread, lldb::addr_t sp, in PrepareTrivialCall() 1065 Thread &thread, lldb::addr_t sp, lldb::addr_t pc, lldb::addr_t ra, in PrepareTrivialCall() 1186 bool ABISysV_hexagon::GetArgumentValues(Thread &thread, in GetArgumentValues() 1199 Thread &thread, CompilerType &return_compiler_type) const { in GetReturnValueObjectSimple() 1205 Thread &thread, CompilerType &return_compiler_type) const { in GetReturnValueObjectImpl() 1310 ABISysV_hexagon::GetReturnValueObjectImpl(lldb_private::Thread &thread, in GetReturnValueObjectImpl()
|
| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_rtems.cc | 105 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__); in CreateAsanThread() local 159 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 178 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 201 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadExitHook() local 232 void *__sanitizer_before_thread_create_hook(uptr thread, bool detached, in __sanitizer_before_thread_create_hook() 242 void __sanitizer_thread_create_hook(void *handle, uptr thread, int status) { in __sanitizer_thread_create_hook()
|
| H A D | asan_fuchsia.cc | 96 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() local 162 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 178 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 205 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 213 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
| /freebsd-12.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-12.1/sys/contrib/zstd/contrib/pzstd/utils/test/ |
| H A D | WorkQueueTest.cpp | 72 std::thread thread([ &queue, max ] { in TEST() local 106 for (auto& thread : threads) { in TEST() local 136 for (auto& thread : pusherThreads) { in TEST() local 141 for (auto& thread : popperThreads) { in TEST() local 225 for (auto& thread : pusherThreads) { in TEST() local 232 for (auto& thread : popperThreads) { in TEST() local
|