Home
last modified time | relevance | path

Searched refs:TIB_GET (Results 1 – 17 of 17) sorted by relevance

/openbsd/src/lib/libc/include/
Dcancel.h35 #undef TIB_GET
36 #define TIB_GET() TCB_TO_TIB(_thread_cb.tc_tcb()) macro
70 struct tib *_tib = TIB_GET(); \
/openbsd/src/lib/libc/sys/
Dw_fork.c53 TIB_GET()->tib_tid = getthrid(); in WRAP()
67 TIB_GET()->tib_tid = getthrid(); in WRAP()
Dw_vfork.c31 TIB_GET()->tib_tid = getthrid(); in WRAP()
/openbsd/src/lib/librthread/
Drthread.c103 struct tib *tib = TIB_GET(); in sigthr_handler()
143 return (&TIB_GET()->tib_errno); in multi_threaded_errnoptr()
283 struct tib *tib = TIB_GET(); in pthread_join()
448 struct tib *tib = TIB_GET(); in pthread_testcancel()
457 struct tib *tib = TIB_GET(); in pthread_setcancelstate()
479 struct tib *tib = TIB_GET(); in pthread_setcanceltype()
Drthread_sem_compat.c234 struct tib *tib = TIB_GET(); in sem_wait()
264 struct tib *tib = TIB_GET(); in sem_timedwait()
Drthread_sem.c219 struct tib *tib = TIB_GET(); in sem_wait()
251 struct tib *tib = TIB_GET(); in sem_timedwait()
Drthread_np.c66 (TIB_GET()->tib_thread_flags & TIB_THREAD_INITIAL_STACK) ? 1 : 0); in pthread_main_np()
/openbsd/src/lib/libc/thread/
Drthread.c82 tib = TIB_GET(); in _rthread_init()
117 return TIB_GET()->tib_thread; in pthread_self()
Drthread_cond.c75 struct tib *tib = TIB_GET(); in _rthread_cond_timedwait()
Drthread_sync.c290 struct tib *tib = TIB_GET(); in pthread_cond_timedwait()
446 struct tib *tib = TIB_GET(); in pthread_cond_wait()
/openbsd/src/lib/libc/locale/
D_CurrentRuneLocale.c30 tib = TIB_GET(); in _CurrentRuneLocale()
Duselocale.c30 tib = TIB_GET(); in uselocale()
/openbsd/src/lib/libc/gen/
Derrno.c20 return (&TIB_GET()->tib_errno); in __errno()
/openbsd/src/lib/libc/stdlib/
Dthread_atexit.c30 struct tib *tib = TIB_GET(); in __cxa_thread_atexit_impl()
Datexit.c129 struct tib *tib = TIB_GET(); in _thread_finalize()
Dmalloc.c354 return mopts.malloc_pool[1 + TIB_GET()->tib_tid % in getpool()
/openbsd/src/include/
Dtib.h230 #define TIB_GET() TCB_TO_TIB(TCB_GET()) macro