Lines Matching refs:_thread_keytable
48 struct pthread_key _thread_keytable[PTHREAD_KEYS_MAX]; variable
72 if (_thread_keytable[i].allocated == 0) { in _thr_key_create()
73 _thread_keytable[i].allocated = 1; in _thr_key_create()
74 _thread_keytable[i].destructor = destructor; in _thr_key_create()
75 _thread_keytable[i].seqno++; in _thr_key_create()
98 if (_thread_keytable[key].allocated) { in _thr_key_delete()
99 _thread_keytable[key].allocated = 0; in _thr_key_delete()
126 if (_thread_keytable[key].allocated && in _thread_cleanupspecific()
129 _thread_keytable[key].seqno) { in _thread_cleanupspecific()
131 destructor = _thread_keytable[key]. in _thread_cleanupspecific()
179 !_thread_keytable[key].allocated) in _thr_setspecific()
196 pthread->specific[key].seqno = _thread_keytable[key].seqno; in _thr_setspecific()
214 if (_thread_keytable[key].allocated && pthread->specific != NULL && in _thr_getspecific()
215 pthread->specific[key].seqno == _thread_keytable[key].seqno) { in _thr_getspecific()
238 if (!_thread_keytable[key].allocated) in _thr_tsd_unload()
240 destructor = _thread_keytable[key].destructor; in _thr_tsd_unload()
244 _thread_keytable[key].destructor = NULL; in _thr_tsd_unload()