Lines Matching refs:pthread
59 struct pthread *curthread; in _thr_key_create()
87 struct pthread *curthread; in _thr_key_delete()
108 struct pthread *curthread; in _thread_cleanupspecific()
170 struct pthread *pthread; in _thr_setspecific() local
179 pthread = _get_curthread(); in _thr_setspecific()
180 if (pthread->specific == NULL) { in _thr_setspecific()
185 pthread->specific = tmp; in _thr_setspecific()
187 if (pthread->specific[key].data == NULL) { in _thr_setspecific()
189 pthread->specific_data_count++; in _thr_setspecific()
191 pthread->specific_data_count--; in _thr_setspecific()
192 pthread->specific[key].data = value; in _thr_setspecific()
193 pthread->specific[key].seqno = _thread_keytable[key].seqno; in _thr_setspecific()
200 struct pthread *pthread; in _thr_getspecific() local
209 pthread = _get_curthread(); in _thr_getspecific()
211 if (_thread_keytable[key].allocated && pthread->specific != NULL && in _thr_getspecific()
212 pthread->specific[key].seqno == _thread_keytable[key].seqno) { in _thr_getspecific()
214 data = pthread->specific[key].data; in _thr_getspecific()
228 struct pthread *curthread; in _thr_tsd_unload()