Home
last modified time | relevance | path

Searched defs:curthread (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-11-stable/lib/libthr/thread/
HDthr_cancel.c42 testcancel(struct pthread *curthread) in testcancel()
50 _thr_testcancel(struct pthread *curthread) in _thr_testcancel()
58 struct pthread *curthread = _get_curthread(); in _pthread_cancel() local
80 struct pthread *curthread = _get_curthread(); in _pthread_setcancelstate() local
107 struct pthread *curthread = _get_curthread(); in _pthread_setcanceltype() local
133 struct pthread *curthread; in _pthread_testcancel() local
141 _thr_cancel_enter(struct pthread *curthread) in _thr_cancel_enter()
148 _thr_cancel_enter2(struct pthread *curthread, int maycancel) in _thr_cancel_enter2()
161 _thr_cancel_leave(struct pthread *curthread, int maycancel) in _thr_cancel_leave()
HDthr_syscalls.c101 struct pthread *curthread; in __thr_accept() local
119 struct pthread *curthread; in __thr_accept4() local
134 struct pthread *curthread; in __thr_aio_suspend() local
155 struct pthread *curthread; in __thr_close() local
173 struct pthread *curthread; in __thr_connect() local
194 struct pthread *curthread; in __thr_fcntl() local
219 struct pthread *curthread; in __thr_fsync() local
233 struct pthread *curthread; in __thr_fdatasync() local
251 struct pthread *curthread; in __thr_msync() local
266 struct pthread *curthread; in __thr_clock_nanosleep() local
[all …]
HDthr_suspend_np.c51 struct pthread *curthread = _get_curthread(); in _pthread_suspend_np() local
74 _thr_suspend_all_lock(struct pthread *curthread) in _thr_suspend_all_lock()
92 _thr_suspend_all_unlock(struct pthread *curthread) in _thr_suspend_all_unlock()
107 struct pthread *curthread = _get_curthread(); in _pthread_suspend_all_np() local
160 suspend_common(struct pthread *curthread, struct pthread *thread, in suspend_common()
HDthr_list.c97 _thr_gc(struct pthread *curthread) in _thr_gc()
133 _thr_alloc(struct pthread *curthread) in _thr_alloc()
187 _thr_free(struct pthread *curthread, struct pthread *thread) in _thr_free()
234 _thr_link(struct pthread *curthread, struct pthread *thread) in _thr_link()
246 _thr_unlink(struct pthread *curthread, struct pthread *thread) in _thr_unlink()
289 _thr_ref_add(struct pthread *curthread, struct pthread *thread, in _thr_ref_add()
309 _thr_ref_delete(struct pthread *curthread, struct pthread *thread) in _thr_ref_delete()
319 _thr_try_gc(struct pthread *curthread, struct pthread *thread) in _thr_try_gc()
340 _thr_find_thread(struct pthread *curthread, struct pthread *thread, in _thr_find_thread()
380 struct pthread *curthread, *thrd; in __pthread_distribute_static_tls() local
HDthr_mutex.c181 _mutex_enter_robust(struct pthread *curthread, struct pthread_mutex *m) in _mutex_enter_robust()
197 _mutex_leave_robust(struct pthread *curthread, struct pthread_mutex *m __unused) in _mutex_leave_robust()
221 mutex_init_robust(struct pthread *curthread) in mutex_init_robust()
319 set_inherited_priority(struct pthread *curthread, struct pthread_mutex *m) in set_inherited_priority()
434 queue_fork(struct pthread *curthread, struct mutex_queue *q, in queue_fork()
447 _mutex_fork(struct pthread *curthread) in _mutex_fork()
520 enqueue_mutex(struct pthread *curthread, struct pthread_mutex *m, in enqueue_mutex()
552 dequeue_mutex(struct pthread *curthread, struct pthread_mutex *m) in dequeue_mutex()
615 struct pthread *curthread; in __pthread_mutex_trylock() local
645 mutex_lock_sleep(struct pthread *curthread, struct pthread_mutex *m, in mutex_lock_sleep()
[all …]
HDthr_sig.c94 _thr_signal_block(struct pthread *curthread) in _thr_signal_block()
106 _thr_signal_unblock(struct pthread *curthread) in _thr_signal_unblock()
137 struct pthread *curthread = _get_curthread(); in sigcancel_handler() local
157 struct pthread *curthread; in thr_sighandler() local
195 struct pthread *curthread = _get_curthread(); in handle_signal() local
266 _thr_ast(struct pthread *curthread) in _thr_ast()
278 check_cancel(struct pthread *curthread, ucontext_t *ucp) in check_cancel()
323 check_deferred_signal(struct pthread *curthread) in check_deferred_signal()
352 check_suspend(struct pthread *curthread) in check_suspend()
624 struct pthread *curthread; in __thr_sigsuspend() local
[all …]
HDthr_pshared.c65 pshared_rlock(struct pthread *curthread) in pshared_rlock()
73 pshared_wlock(struct pthread *curthread) in pshared_wlock()
81 pshared_unlock(struct pthread *curthread) in pshared_unlock()
100 pshared_gc(struct pthread *curthread) in pshared_gc()
214 struct pthread *curthread; in __thr_pshared_offpage() local
245 struct pthread *curthread; in __thr_pshared_destroy() local
HDthr_clean.c53 struct pthread *curthread = _get_curthread(); in __pthread_cleanup_push_imp() local
67 struct pthread *curthread = _get_curthread(); in __pthread_cleanup_pop_imp() local
82 struct pthread *curthread = _get_curthread(); in _pthread_cleanup_push() local
HDthr_spec.c56 struct pthread *curthread; in _pthread_key_create() local
84 struct pthread *curthread; in _pthread_key_delete() local
105 struct pthread *curthread; in _thread_cleanupspecific() local
227 struct pthread *curthread; in _thr_tsd_unload() local
HDthr_fork.c82 struct pthread *curthread; in _pthread_atfork() local
106 struct pthread *curthread; in __pthread_cxa_finalize() local
137 struct pthread *curthread; in __thr_fork() local
HDthr_rwlock.c161 struct pthread *curthread = _get_curthread(); in rwlock_rdlock_common() local
235 struct pthread *curthread = _get_curthread(); in _pthread_rwlock_tryrdlock() local
271 struct pthread *curthread = _get_curthread(); in _pthread_rwlock_trywrlock() local
288 struct pthread *curthread = _get_curthread(); in rwlock_wrlock_common() local
347 struct pthread *curthread = _get_curthread(); in _pthread_rwlock_unlock() local
HDthr_rtld.c114 struct pthread *curthread; in _thr_rtld_rlock_acquire() local
132 struct pthread *curthread; in _thr_rtld_wlock_acquire() local
149 struct pthread *curthread; in _thr_rtld_lock_release() local
187 struct pthread *curthread; in _thr_rtld_init() local
HDthr_event.c43 _thr_report_creation(struct pthread *curthread, struct pthread *newthread) in _thr_report_creation()
56 _thr_report_death(struct pthread *curthread) in _thr_report_death()
HDthr_cond.c194 struct pthread *curthread; in cond_wait_kernel() local
266 struct pthread *curthread; in cond_wait_user() local
342 struct pthread *curthread = _get_curthread(); in cond_wait_common() local
411 struct pthread *curthread = _get_curthread(); in cond_signal_common() local
463 struct pthread *curthread; member
473 struct pthread *curthread = ba->curthread; in drop_cb() local
HDthr_exit.c137 struct pthread *curthread = _get_curthread(); in thread_unwind_stop() local
168 struct pthread *curthread = _get_curthread(); in thread_unwind() local
212 struct pthread *curthread = _get_curthread(); local
282 struct pthread *curthread = _get_curthread(); local
HDthr_resume_np.c50 struct pthread *curthread = _get_curthread(); in _pthread_resume_np() local
65 struct pthread *curthread = _get_curthread(); in _pthread_resume_all_np() local
HDthr_affinity.c44 struct pthread *curthread = _get_curthread(); in _pthread_setaffinity_np() local
67 struct pthread *curthread = _get_curthread(); in _pthread_getaffinity_np() local
HDthr_info.c60 struct pthread *curthread; in _pthread_set_name_np() local
94 struct pthread *curthread; in _pthread_get_name_np() local
HDthr_barrier.c49 struct pthread *curthread; in _pthread_barrier_destroy() local
134 struct pthread *curthread; in _pthread_barrier_wait() local
HDthr_kern.c149 struct pthread *curthread; in _thr_alloc_wake_addr() local
182 struct pthread *curthread = _get_curthread(); in _thr_release_wake_addr() local
194 _thr_sleep(struct pthread *curthread, int clockid, in _thr_sleep()
HDthr_join.c47 struct pthread *curthread = _get_curthread(); in backout_join() local
79 struct pthread *curthread = _get_curthread(); in join_common() local
HDthr_create.c57 struct pthread *curthread, *new_thread; in _pthread_create() local
253 thread_start(struct pthread *curthread) in thread_start()
HDthr_stack.c168 struct pthread *curthread, *thrd; in __thr_map_stacks_exec() local
193 struct pthread *curthread = _get_curthread(); in _thr_stack_alloc() local
HDthr_getthreadid_np.c44 struct pthread *curthread; in _pthread_getthreadid_np() local
/freebsd-11-stable/lib/libc/stdio/
HD_flock_stub.c64 pthread_t curthread = _pthread_self(); in _flockfile() local
91 pthread_t curthread = _pthread_self(); in _ftrylockfile() local
112 pthread_t curthread = _pthread_self(); in _funlockfile() local

123