Lines Matching refs:mt
63 mtctxres_t *mt; in __res_init_ctx() local
72 if ((mt = malloc(sizeof (mtctxres_t))) == 0) { in __res_init_ctx()
77 memset(mt, 0, sizeof (mtctxres_t)); in __res_init_ctx()
79 if ((ret = pthread_setspecific(key, mt)) != 0) { in __res_init_ctx()
80 free(mt); in __res_init_ctx()
91 mtctxres_t *mt = (mtctxres_t *)value; in __res_destroy_ctx() local
93 if (mt != 0) in __res_destroy_ctx()
94 free(mt); in __res_destroy_ctx()
101 mtctxres_t *mt; in ___mtctxres() local
122 if (((mt = pthread_getspecific(key)) != 0) || in ___mtctxres()
124 (mt = pthread_getspecific(key)) != 0)) { in ___mtctxres()
125 return (mt); in ___mtctxres()