Home
last modified time | relevance | path

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

123

/freebsd/lib/libthr/thread/
H A Dthr_cancel.c47 testcancel(struct pthread *curthread) in testcancel()
55 _thr_testcancel(struct pthread *curthread) in _thr_testcancel()
63 struct pthread *curthread = _get_curthread(); in _thr_cancel() local
85 struct pthread *curthread = _get_curthread(); in _thr_setcancelstate() local
112 struct pthread *curthread = _get_curthread(); in _thr_setcanceltype() local
138 struct pthread *curthread; in _Tthr_testcancel() local
146 _thr_cancel_enter(struct pthread *curthread) in _thr_cancel_enter()
153 _thr_cancel_enter2(struct pthread *curthread, int maycancel) in _thr_cancel_enter2()
166 _thr_cancel_leave(struct pthread *curthread, int maycancel) in _thr_cancel_leave()
H A Dthr_syscalls.c100 struct pthread *curthread; in __thr_accept() local
118 struct pthread *curthread; in __thr_accept4() local
133 struct pthread *curthread; in __thr_aio_suspend() local
154 struct pthread *curthread; in __thr_close() local
172 struct pthread *curthread; in __thr_connect() local
193 struct pthread *curthread; in __thr_fcntl() local
218 struct pthread *curthread; in __thr_fsync() local
232 struct pthread *curthread; in __thr_fdatasync() local
250 struct pthread *curthread; in __thr_msync() local
265 struct pthread *curthread; in __thr_clock_nanosleep() local
[all …]
H A Dthr_malloc.c58 thr_malloc_lock(struct pthread *curthread) in thr_malloc_lock()
73 thr_malloc_unlock(struct pthread *curthread) in thr_malloc_unlock()
89 struct pthread *curthread; in __thr_calloc() local
102 struct pthread *curthread; in __thr_free() local
113 struct pthread *curthread; in __thr_malloc() local
126 struct pthread *curthread; in __thr_realloc() local
137 __thr_malloc_prefork(struct pthread *curthread) in __thr_malloc_prefork()
144 __thr_malloc_postfork(struct pthread *curthread) in __thr_malloc_postfork()
H A Dthr_suspend_np.c50 struct pthread *curthread = _get_curthread(); in _pthread_suspend_np() local
73 _thr_suspend_all_lock(struct pthread *curthread) in _thr_suspend_all_lock()
91 _thr_suspend_all_unlock(struct pthread *curthread) in _thr_suspend_all_unlock()
106 struct pthread *curthread = _get_curthread(); in _pthread_suspend_all_np() local
159 suspend_common(struct pthread *curthread, struct pthread *thread, in suspend_common()
H A Dthr_list.c96 _thr_gc(struct pthread *curthread) in _thr_gc()
132 _thr_alloc(struct pthread *curthread) in _thr_alloc()
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()
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()
339 _thr_find_thread(struct pthread *curthread, struct pthread *thread, in _thr_find_thread()
379 struct pthread *curthread, *thrd; in __pthread_distribute_static_tls() local
H A Dthr_sig.c94 thr_signal_block_slow(struct pthread *curthread) in thr_signal_block_slow()
112 thr_signal_block_fast(struct pthread *curthread) in thr_signal_block_fast()
130 _thr_signal_block(struct pthread *curthread) in _thr_signal_block()
139 _thr_signal_unblock(struct pthread *curthread) in _thr_signal_unblock()
191 struct pthread *curthread = _get_curthread(); in sigcancel_handler() local
211 struct pthread *curthread; in thr_sighandler() local
249 struct pthread *curthread = _get_curthread(); in handle_signal() local
320 _thr_ast(struct pthread *curthread) in _thr_ast()
406 check_suspend(struct pthread *curthread) in check_suspend()
679 struct pthread *curthread; in __thr_sigsuspend() local
[all …]
H A Dthr_pshared.c67 pshared_rlock(struct pthread *curthread) in pshared_rlock()
75 pshared_wlock(struct pthread *curthread) in pshared_wlock()
83 pshared_unlock(struct pthread *curthread) in pshared_unlock()
102 pshared_gc(struct pthread *curthread) in pshared_gc()
214 pshared_destroy(struct pthread *curthread, void *key) in pshared_destroy()
227 struct pthread *curthread; in __thr_pshared_offpage() local
263 struct pthread *curthread; in __thr_pshared_destroy() local
H A Dthr_rtld.c112 struct pthread *curthread; in _thr_rtld_rlock_acquire() local
130 struct pthread *curthread; in _thr_rtld_wlock_acquire() local
147 struct pthread *curthread; in _thr_rtld_lock_release() local
202 struct pthread *curthread; in _thr_dlerror_loc() local
211 struct pthread *curthread; in _thr_dlerror_seen() local
221 struct pthread *curthread; in _thr_rtld_init() local
H A Dthr_mutex.c221 mutex_init_robust(struct pthread *curthread) in mutex_init_robust()
436 queue_fork(struct pthread *curthread, struct mutex_queue *q, in queue_fork()
449 _mutex_fork(struct pthread *curthread) in _mutex_fork()
522 enqueue_mutex(struct pthread *curthread, struct pthread_mutex *m, in enqueue_mutex()
617 struct pthread *curthread; in __Tthr_mutex_trylock() local
718 struct pthread *curthread; in mutex_lock_common() local
813 struct pthread *curthread; in _mutex_cv_attach() local
824 struct pthread *curthread; in _mutex_cv_detach() local
954 struct pthread *curthread; in mutex_unlock_common() local
1030 struct pthread *curthread; in _pthread_mutex_setprioceiling() local
[all …]
H A Dthr_clean.c59 struct pthread *curthread = _get_curthread(); in __thr_cleanup_push_imp() local
73 struct pthread *curthread = _get_curthread(); in __thr_cleanup_pop_imp() local
88 struct pthread *curthread = _get_curthread(); in _thr_cleanup_push() local
H A Dthr_spec.c59 struct pthread *curthread; in _thr_key_create() local
87 struct pthread *curthread; in _thr_key_delete() local
108 struct pthread *curthread; in _thread_cleanupspecific() local
228 struct pthread *curthread; in _thr_tsd_unload() local
H A Dthr_rwlock.c171 struct pthread *curthread = _get_curthread(); in rwlock_rdlock_common() local
247 struct pthread *curthread; in _Tthr_rwlock_tryrdlock() local
285 struct pthread *curthread; in _Tthr_rwlock_trywrlock() local
304 struct pthread *curthread = _get_curthread(); in rwlock_wrlock_common() local
365 struct pthread *curthread = _get_curthread(); in _Tthr_rwlock_unlock() local
H A Dthr_event.c42 _thr_report_creation(struct pthread *curthread, struct pthread *newthread) in _thr_report_creation()
55 _thr_report_death(struct pthread *curthread) in _thr_report_death()
H A Dthr_resume_np.c49 struct pthread *curthread = _get_curthread(); in _pthread_resume_np() local
64 struct pthread *curthread = _get_curthread(); in _pthread_resume_all_np() local
H A Dthr_cond.c207 struct pthread *curthread; in cond_wait_kernel() local
279 struct pthread *curthread; in cond_wait_user() local
355 struct pthread *curthread = _get_curthread(); in cond_wait_common() local
424 struct pthread *curthread = _get_curthread(); in cond_signal_common() local
476 struct pthread *curthread; member
486 struct pthread *curthread = ba->curthread; in drop_cb() local
H A Dthr_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
279 struct pthread *curthread = _get_curthread(); local
H A Dthr_affinity.c43 struct pthread *curthread = _get_curthread(); in _pthread_setaffinity_np() local
66 struct pthread *curthread = _get_curthread(); in _pthread_getaffinity_np() local
H A Dthr_fork.c84 struct pthread *curthread; in _thr_atfork() local
108 struct pthread *curthread; in __pthread_cxa_finalize() local
148 struct pthread *curthread; in thr_fork_impl() local
H A Dthr_barrier.c48 struct pthread *curthread; in _pthread_barrier_destroy() local
133 struct pthread *curthread; in _pthread_barrier_wait() local
H A Dthr_kern.c144 struct pthread *curthread; in _thr_alloc_wake_addr() local
177 struct pthread *curthread = _get_curthread(); in _thr_release_wake_addr() local
189 _thr_sleep(struct pthread *curthread, int clockid, in _thr_sleep()
H A Dthr_create.c56 struct pthread *curthread, *new_thread; in _pthread_create() local
251 thread_start(struct pthread *curthread) in thread_start()
H A Dthr_info.c60 struct pthread *curthread; in _pthread_setname_np() local
121 struct pthread *curthread; in _thr_getname_np() local
H A Dthr_join.c49 struct pthread *curthread = _get_curthread(); in backout_join() local
87 struct pthread *curthread = _get_curthread(); in join_common() local
H A Dthr_stack.c160 struct pthread *curthread, *thrd; in __thr_map_stacks_exec() local
185 struct pthread *curthread = _get_curthread(); in _thr_stack_alloc() local
/freebsd/lib/libc/stdio/
H A D_flock_stub.c63 pthread_t curthread = _pthread_self(); in _flockfile() local
90 pthread_t curthread = _pthread_self(); in _ftrylockfile() local
111 pthread_t curthread = _pthread_self(); in _funlockfile() local

123