Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Derror.c47 static thread_key_t errkey = THR_ONCE_KEY; variable
67 (void) thr_keycreate_once(&errkey, 0); in _elf_seterr()
68 (void) thr_setspecific(errkey, (void *)encerr); in _elf_seterr()
75 return ((uintptr_t)pthread_getspecific(errkey)); in _elf_geterr()
/illumos-gate/usr/src/lib/libexacct/common/
H A Dexacct_ops.c47 static thread_key_t errkey = THR_ONCE_KEY; variable
298 (void) thr_keycreate_once(&errkey, 0); in exacct_seterr()
299 (void) thr_setspecific(errkey, (void *)(intptr_t)errval); in exacct_seterr()
307 if (errkey == THR_ONCE_KEY) in ea_error()
309 return ((int)(uintptr_t)pthread_getspecific(errkey)); in ea_error()
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.c114 static thread_key_t errkey = THR_ONCE_KEY; variable
611 (void) thr_keycreate_once(&errkey, 0); in pool_seterror()
612 (void) thr_setspecific(errkey, (void *)(intptr_t)errval); in pool_seterror()
624 if (errkey == THR_ONCE_KEY) in pool_error()
626 return ((uintptr_t)pthread_getspecific(errkey)); in pool_error()