Lines Matching refs:_thread_keytable
45 struct pthread_key _thread_keytable[PTHREAD_KEYS_MAX]; variable
69 if (_thread_keytable[i].allocated == 0) { in _thr_key_create()
70 _thread_keytable[i].allocated = 1; in _thr_key_create()
71 _thread_keytable[i].destructor = destructor; in _thr_key_create()
72 _thread_keytable[i].seqno++; in _thr_key_create()
95 if (_thread_keytable[key].allocated) { in _thr_key_delete()
96 _thread_keytable[key].allocated = 0; in _thr_key_delete()
123 if (_thread_keytable[key].allocated && in _thread_cleanupspecific()
126 _thread_keytable[key].seqno) { in _thread_cleanupspecific()
128 destructor = _thread_keytable[key]. in _thread_cleanupspecific()
176 !_thread_keytable[key].allocated) in _thr_setspecific()
193 pthread->specific[key].seqno = _thread_keytable[key].seqno; in _thr_setspecific()
211 if (_thread_keytable[key].allocated && pthread->specific != NULL && in _thr_getspecific()
212 pthread->specific[key].seqno == _thread_keytable[key].seqno) { in _thr_getspecific()
235 if (!_thread_keytable[key].allocated) in _thr_tsd_unload()
237 destructor = _thread_keytable[key].destructor; in _thr_tsd_unload()
241 _thread_keytable[key].destructor = NULL; in _thr_tsd_unload()