Home
last modified time | relevance | path

Searched refs:errkey (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/sgs/libelf/common/
H A Derror.c47 static thread_key_t errkey = THR_ONCE_KEY; variable
69 (void) thr_keycreate_once(&errkey, 0); in _elf_seterr()
70 (void) thr_setspecific(errkey, (void *)encerr); in _elf_seterr()
79 return ((uintptr_t)pthread_getspecific(errkey)); in _elf_geterr()
/titanic_50/usr/src/lib/libexacct/common/
H A Dexacct_ops.c49 static thread_key_t errkey = THR_ONCE_KEY; variable
300 (void) thr_keycreate_once(&errkey, 0); in exacct_seterr()
301 (void) thr_setspecific(errkey, (void *)(intptr_t)errval); in exacct_seterr()
309 if (errkey == THR_ONCE_KEY) in ea_error()
311 return ((int)(uintptr_t)pthread_getspecific(errkey)); in ea_error()
/titanic_50/usr/src/lib/libpool/common/
H A Dpool.c116 static thread_key_t errkey = THR_ONCE_KEY; variable
613 (void) thr_keycreate_once(&errkey, 0); in pool_seterror()
614 (void) thr_setspecific(errkey, (void *)(intptr_t)errval); in pool_seterror()
626 if (errkey == THR_ONCE_KEY) in pool_error()
628 return ((uintptr_t)pthread_getspecific(errkey)); in pool_error()