Lines Matching defs:tsd
154 void *tsd = NULL;
158 rc = thr_getspecific(ns_mtckey, &tsd);
159 if (rc == 0 && tsd != NULL)
160 ns_mtckey_cleanup(tsd);
199 void *tsd;
207 rc = thr_getspecific(ns_mtckey, &tsd);
208 if (rc == 0 && tsd != NULL)
212 tsd = (void *) calloc(1, sizeof (struct ldap_error));
213 if (tsd == NULL)
215 rc = thr_setspecific(ns_mtckey, tsd);
217 free(tsd);