Lines Matching refs:pthread
62 struct pthread *curthread; in _thr_key_create()
90 struct pthread *curthread; in _thr_key_delete()
111 struct pthread *curthread; in _thread_cleanupspecific()
173 struct pthread *pthread; in _thr_setspecific() local
182 pthread = _get_curthread(); in _thr_setspecific()
183 if (pthread->specific == NULL) { in _thr_setspecific()
188 pthread->specific = tmp; in _thr_setspecific()
190 if (pthread->specific[key].data == NULL) { in _thr_setspecific()
192 pthread->specific_data_count++; in _thr_setspecific()
194 pthread->specific_data_count--; in _thr_setspecific()
195 pthread->specific[key].data = value; in _thr_setspecific()
196 pthread->specific[key].seqno = _thread_keytable[key].seqno; in _thr_setspecific()
203 struct pthread *pthread; in _thr_getspecific() local
212 pthread = _get_curthread(); in _thr_getspecific()
214 if (_thread_keytable[key].allocated && pthread->specific != NULL && in _thr_getspecific()
215 pthread->specific[key].seqno == _thread_keytable[key].seqno) { in _thr_getspecific()
217 data = pthread->specific[key].data; in _thr_getspecific()
231 struct pthread *curthread; in _thr_tsd_unload()