Lines Matching defs:ns_mtckey
119 * TSD keys ns_mtckey and ns_cmgkey are for sharing ldap connections
123 * saved in ns_mtckey and ns_cmgkey.
125 thread_key_t ns_mtckey = THR_ONCE_KEY;
128 /* Per thread LDAP error resides in thread-specific data (ns_mtckey) */
161 rc = thr_getspecific(ns_mtckey, &tsd);
164 (void) thr_setspecific(ns_mtckey, NULL);
209 /* return success if the ns_mtckey TSD is already set */
210 rc = thr_getspecific(ns_mtckey, &tsd);
214 /* allocate and set the ns_mtckey TSD */
218 rc = thr_setspecific(ns_mtckey, tsd);
234 if ((eno = thr_getspecific(ns_mtckey, (void **)&le)) != 0) {
281 if ((eno = thr_getspecific(ns_mtckey, (void **)&le)) != 0) {
799 if (thr_keycreate_once(&ns_mtckey, ns_mtckey_cleanup) != 0) {