Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h72 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() function
220 thread(thread &&other) {} in thread() argument
222 explicit thread(std::optional<unsigned> StackSizeInBytes, Function &&f, in thread() argument
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-src/sys/sys/
H A Dproc.h234 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 td_allocdomainthread global() argument
257 td_base_ithread_prithread global() argument
265 td_pflagsthread global() argument
266 td_pflags2thread global() argument
279 td_blockedthread global() argument
280 td_locknamethread global() argument
282 td_sleeplocksthread global() argument
283 td_intr_nesting_levelthread global() argument
284 td_pinnedthread global() argument
285 td_realucredthread global() argument
286 td_ucredthread global() argument
287 td_limitthread global() argument
288 td_slptickthread global() argument
289 td_blktickthread global() argument
290 td_swvoltickthread global() argument
291 td_swinvoltickthread global() argument
292 td_cowthread global() argument
293 td_ruthread global() argument
294 td_ruxthread global() argument
295 td_incruntimethread global() argument
296 td_runtimethread global() argument
297 td_pticksthread global() argument
298 td_sticksthread global() argument
299 td_iticksthread global() argument
300 td_uticksthread global() argument
301 td_intrvalthread global() argument
302 td_oldsigmaskthread global() argument
303 td_generationthread global() argument
327 td_ucredrefthread global() argument
347 td_pri_classthread global() argument
357 td_statethread global() argument
372 td_mdthread global() argument
375 td_dtracethread global() argument
396 td_ktr_io_limthread global() argument
[all...]
/freebsd-src/lib/libthr/thread/
H A Dthr_list.c134 struct pthread *thread = NULL; in _thr_alloc() local
186 _thr_free(struct pthread * curthread,struct pthread * thread) _thr_free() argument
219 thr_destroy(struct pthread * curthread __unused,struct pthread * thread) thr_destroy() argument
233 _thr_link(struct pthread * curthread,struct pthread * thread) _thr_link() argument
245 _thr_unlink(struct pthread * curthread,struct pthread * thread) _thr_unlink() argument
254 _thr_hash_add(struct pthread * thread) _thr_hash_add() argument
263 _thr_hash_remove(struct pthread * thread) _thr_hash_remove() argument
269 _thr_hash_find(struct pthread * thread) _thr_hash_find() argument
288 _thr_ref_add(struct pthread * curthread,struct pthread * thread,int include_dead) _thr_ref_add() argument
308 _thr_ref_delete(struct pthread * curthread,struct pthread * thread) _thr_ref_delete() argument
318 _thr_try_gc(struct pthread * curthread,struct pthread * thread) _thr_try_gc() argument
339 _thr_find_thread(struct pthread * curthread,struct pthread * thread,int include_dead) _thr_find_thread() argument
[all...]
H A Dthr_info.c47 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 Dthr_resume_np.c47 _pthread_resume_np(pthread_t thread) _pthread_resume_np() argument
65 struct pthread *thread; _pthread_resume_all_np() local
90 resume_common(struct pthread * thread) resume_common() argument
[all...]
H A Dthr_suspend_np.c48 _pthread_suspend_np(pthread_t thread) _pthread_suspend_np() argument
107 struct pthread *thread; _pthread_suspend_all_np() local
159 suspend_common(struct pthread * curthread,struct pthread * thread,int waitok) suspend_common() argument
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Symbol/
H A DFuncUnwinders.cpp61 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-src/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_taskdeps.h21 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 Dkmp_taskdeps.cpp69 static kmp_dephash_t *__kmp_dephash_extend(kmp_info_t *thread, in __kmp_dephash_extend() argument
125 static kmp_dephash_t *__kmp_dephash_create(kmp_info_t *thread, in __kmp_dephash_create() argument
157 static kmp_dephash_entry *__kmp_dephash_find(kmp_info_t *thread, in __kmp_dephash_find() argument
199 __kmp_add_node(kmp_info_t * thread,kmp_depnode_list_t * list,kmp_depnode_t * node) __kmp_add_node() argument
298 __kmp_depnode_link_successor(kmp_int32 gtid,kmp_info_t * thread,kmp_task_t * task,kmp_depnode_t * node,kmp_depnode_list_t * plist) __kmp_depnode_link_successor() argument
341 __kmp_depnode_link_successor(kmp_int32 gtid,kmp_info_t * thread,kmp_task_t * task,kmp_depnode_t * source,kmp_depnode_t * sink) __kmp_depnode_link_successor() argument
399 kmp_info_t *thread = __kmp_threads[gtid]; __kmp_process_dep_all() local
459 kmp_info_t *thread = __kmp_threads[gtid]; __kmp_process_deps() local
687 kmp_info_t *thread = __kmp_threads[gtid]; __kmpc_omp_task_with_deps() local
914 kmp_info_t *thread = __kmp_threads[gtid]; __kmpc_omp_taskwait_deps_51() local
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Target/
H A DStopInfo.cpp33 StopInfo::StopInfo(Thread &thread, uint64_t value) in StopInfo() argument
89 StopInfoBreakpoint(Thread &thread, break_id_t break_id) in StopInfoBreakpoint() argument
97 StopInfoBreakpoint(Thread &thread, break_id_t break_id, bool should_stop) in StopInfoBreakpoint() argument
138 bool IsValidForOperatingSystemThread(Thread &thread) override { in IsValidForOperatingSystemThread() argument
674 StopInfoWatchpoint(Thread & thread,break_id_t watch_id,bool silently_skip_wp) StopInfoWatchpoint() argument
700 ThreadPlanStepOverWatchpoint(Thread & thread,StopInfoWatchpointSP stop_info_sp,WatchpointSP watch_sp) ThreadPlanStepOverWatchpoint() argument
1047 StopInfoUnixSignal(Thread & thread,int signo,const char * description,std::optional<int> code) StopInfoUnixSignal() argument
1130 StopInfoTrace(Thread & thread) StopInfoTrace() argument
1148 StopInfoException(Thread & thread,const char * description) StopInfoException() argument
1170 StopInfoProcessorTrace(Thread & thread,const char * description) StopInfoProcessorTrace() argument
1237 StopInfoExec(Thread & thread) StopInfoExec() argument
1270 StopInfoFork(Thread & thread,lldb::pid_t child_pid,lldb::tid_t child_tid) StopInfoFork() argument
1304 StopInfoVFork(Thread & thread,lldb::pid_t child_pid,lldb::tid_t child_tid) StopInfoVFork() argument
1338 StopInfoVForkDone(Thread & thread) StopInfoVForkDone() argument
1364 CreateStopReasonWithBreakpointSiteID(Thread & thread,break_id_t break_id) CreateStopReasonWithBreakpointSiteID() argument
1369 CreateStopReasonWithBreakpointSiteID(Thread & thread,break_id_t break_id,bool should_stop) CreateStopReasonWithBreakpointSiteID() argument
1377 CreateStopReasonWithWatchpointID(Thread & thread,break_id_t watch_id,bool silently_continue) CreateStopReasonWithWatchpointID() argument
1384 CreateStopReasonWithSignal(Thread & thread,int signo,const char * description,std::optional<int> code) CreateStopReasonWithSignal() argument
1391 CreateStopReasonToTrace(Thread & thread) CreateStopReasonToTrace() argument
1402 CreateStopReasonWithException(Thread & thread,const char * description) CreateStopReasonWithException() argument
1407 CreateStopReasonProcessorTrace(Thread & thread,const char * description) CreateStopReasonProcessorTrace() argument
1412 CreateStopReasonWithExec(Thread & thread) CreateStopReasonWithExec() argument
1416 CreateStopReasonFork(Thread & thread,lldb::pid_t child_pid,lldb::tid_t child_tid) CreateStopReasonFork() argument
1423 CreateStopReasonVFork(Thread & thread,lldb::pid_t child_pid,lldb::tid_t child_tid) CreateStopReasonVFork() argument
1429 CreateStopReasonVForkDone(Thread & thread) CreateStopReasonVForkDone() argument
[all...]
H A DThreadPlanStepInstruction.cpp23 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 DInstrumentationRuntimeStopInfo.cpp19 Thread &thread, std::string description, in InstrumentationRuntimeStopInfo()
32 Thread &thread, std::string description, in CreateStopReasonWithInstrumentationData()
H A DThreadPlanCallFunction.cpp35 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 DThreadPlanTracer.cpp36 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-src/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp43 HandleOneThread(thread->GetID(), result); in DoExecute() local
77 ThreadSP thread = DoExecute() local
114 ThreadSP thread = process->GetThreadList().FindThreadByIndexID( DoExecute() local
139 Thread *thread = process->GetThreadList().FindThreadByID(tid).get(); BucketThread() local
184 Thread &thread = m_exe_ctx.GetThreadRef(); DoExecute() local
196 ThreadSP thread = process.GetThreadList().FindThreadByIndexID(thread_idx); DoExecute() local
[all...]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_arg_retval.cpp20 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 Dsanitizer_thread_arg_retval.h47 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-src/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp118 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-src/crypto/openssl/test/
H A Dthreadstest.h27 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-src/sys/contrib/zstd/lib/common/
H A Dthreading.c40 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-src/contrib/llvm-project/lldb/source/Plugins/ABI/Hexagon/
H A DABISysV_hexagon.cpp1011 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-src/contrib/llvm-project/lldb/source/API/
H A DSBHostOS.cpp109 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-src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp124 AsanThreadContext::CreateThreadContextArgs args = {thread, stack}; in CreateAsanThread() local
184 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); BeforeThreadCreateHook() local
197 AsanThread *thread = static_cast<AsanThread *>(hook); ThreadCreateHook() local
213 AsanThread *thread = static_cast<AsanThread *>(hook); ThreadStartHook() local
256 __sanitizer_before_thread_create_hook(thrd_t thread,bool detached,const char * name,void * stack_base,size_t stack_size) __sanitizer_before_thread_create_hook() argument
264 __sanitizer_thread_create_hook(void * hook,thrd_t thread,int error) __sanitizer_thread_create_hook() argument
[all...]
/freebsd-src/contrib/netbsd-tests/lib/libpthread_dbg/
H A Dt_threads.c67 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-src/sys/fs/nfsserver/
H A Dnfs_fha_new.c418 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

12345678910>>...12