Lines Matching refs:mt
68 mtctxres_t *mt; in __res_init_ctx() local
77 if ((mt = malloc(sizeof (mtctxres_t))) == 0) { in __res_init_ctx()
82 memset(mt, 0, sizeof (mtctxres_t)); in __res_init_ctx()
84 if ((ret = pthread_setspecific(key, mt)) != 0) { in __res_init_ctx()
85 free(mt); in __res_init_ctx()
96 mtctxres_t *mt = (mtctxres_t *)value; in __res_destroy_ctx() local
98 if (mt != 0) in __res_destroy_ctx()
99 free(mt); in __res_destroy_ctx()
106 mtctxres_t *mt; in ___mtctxres() local
127 if (((mt = pthread_getspecific(key)) != 0) || in ___mtctxres()
129 (mt = pthread_getspecific(key)) != 0)) { in ___mtctxres()
130 return (mt); in ___mtctxres()