Lines Matching refs:tsd
157 void *tsd = NULL;
161 rc = thr_getspecific(ns_mtckey, &tsd);
162 if (rc == 0 && tsd != NULL)
163 ns_mtckey_cleanup(tsd);
202 void *tsd;
210 rc = thr_getspecific(ns_mtckey, &tsd);
211 if (rc == 0 && tsd != NULL)
215 tsd = (void *) calloc(1, sizeof (struct ldap_error));
216 if (tsd == NULL)
218 rc = thr_setspecific(ns_mtckey, tsd);
220 free(tsd);