Home
last modified time | relevance | path

Searched refs:thr_setspecific (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Derror.c68 (void) thr_setspecific(errkey, (void *)encerr); in _elf_seterr()
113 if (thr_setspecific(bufkey, buffer) != 0) { in elf_errmsg()
H A Dlibelf.msg46 @ EBUG_THRDSET "Internal error: thr_setspecific failed. \
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtsd.c39 #pragma weak _thr_setspecific = thr_setspecific
320 thr_setspecific(thread_key_t key, void *value) in thr_setspecific() function
355 return (thr_setspecific(key, (void *)value)); in pthread_setspecific()
/illumos-gate/usr/src/head/
H A Dthread.h89 extern int thr_setspecific(thread_key_t, void *);
/illumos-gate/usr/src/lib/libgen/common/
H A Dbufsplit.c63 if (thr_setspecific(*keyp, strp) != 0) { in _get_bsplitchar()
H A Dbgets.c64 if (thr_setspecific(*keyp, str) != 0) { in _get_stop()
H A Dpathfind.c87 if (thr_setspecific(*keyp, str) != 0) { in _get_cpath()
H A Dreg_compile.c82 if (thr_setspecific(*keyp, vars) != 0) { in _get_vars_storage()
H A Dreg_step.c80 if (thr_setspecific(*keyp, vars) != 0) { in _get_vars_storage()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsdalloc.c90 if ((error = thr_setspecific(key, loc)) != 0) { in tsdalloc()
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c160 return (thr_setspecific(key, value)); in tsd_set()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c98 (void) thr_setspecific(server_key, value); in server_tsd_bind()
133 (void) thr_setspecific(server_key, NULL); in server_destroy()
143 (void) thr_setspecific(lookup_state_key, NULL); in _nscd_get_clearance()
148 (void) thr_setspecific(lookup_state_key, (void*)1); in _nscd_get_clearance()
H A Dnscd_switch.c106 rc = thr_setspecific(loopback_key, key); in set_loopback_key()
138 (void) thr_setspecific(loopback_key, NULL); in clear_loopback_key()
154 rc = thr_setspecific(initf_key, pbuf); in set_initf_key()
178 (void) thr_setspecific(initf_key, NULL); in clear_initf_key()
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c162 (void) thr_setspecific(lookup_state_key, NULL); in get_clearance()
177 (void) thr_setspecific(lookup_state_key, (void*)1); in get_clearance()
236 (void) thr_setspecific(server_key, value); in server_tsd_bind()
272 (void) thr_setspecific(server_key, NULL); in server_destroy()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dether_addr.c254 (void) thr_setspecific(key, eabuf); in ea_buf()
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes_crypt.c320 if (thr_setspecific(*keyp, (iobuf = malloc(size))) != 0) { in _get_iobuf()
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs_ses.c789 thr_err = thr_setspecific(ses_key, sp); in ses_alloc()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.c166 (void) thr_setspecific(ns_mtckey, NULL); in conn_tsd_free()
169 (void) thr_setspecific(ns_cmgkey, NULL); in conn_tsd_free()
207 rc = thr_setspecific(ns_cmgkey, cmg); in conn_tsd_setup()
220 rc = thr_setspecific(ns_mtckey, tsd); in conn_tsd_setup()
828 (void) thr_setspecific(ns_cmgkey, NULL); in __s_api_conn_user_init()
H A Dns_standalone.c170 (void) thr_setspecific(dir_servers.standaloneInitKey, in __s_api_setInitMode()
180 (void) thr_setspecific(dir_servers.standaloneInitKey, NULL); in __s_api_unsetInitMode()
346 (void) thr_setspecific(switchConfigKey, hostService); in get_db()
/illumos-gate/usr/src/lib/libpthread/common/
H A Dmapfile-vers240 thr_setspecific { TYPE = FUNCTION };
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.c1166 (void) thr_setspecific(s_thr_key, tsd); in mapid_get_domain()
/illumos-gate/usr/src/lib/libthread/common/
H A Dmapfile-vers291 thr_setspecific { TYPE = FUNCTION };
/illumos-gate/usr/src/lib/c_synonyms/
H A Dsyn_common906 thr_setspecific
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_main.c663 (void) thr_setspecific(s_thr_key, tsd); in autofs_get_buffer()
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c914 if (thr_setspecific(rpc_gss_err_key, tsd) != 0) { in __rpc_gss_err()

12