Lines Matching refs:tsrm_tls_table
46 static tsrm_tls_entry **tsrm_tls_table=NULL; variable
155 tsrm_tls_table = (tsrm_tls_entry **) calloc(tsrm_tls_table_size, sizeof(tsrm_tls_entry *)); in tsrm_startup()
156 if (!tsrm_tls_table) { in tsrm_startup()
166 free(tsrm_tls_table); in tsrm_startup()
167 tsrm_tls_table = NULL; in tsrm_startup()
188 if (tsrm_tls_table) { in tsrm_shutdown()
190 tsrm_tls_entry *p = tsrm_tls_table[i], *next_p; in tsrm_shutdown()
209 free(tsrm_tls_table); in tsrm_shutdown()
210 tsrm_tls_table = NULL; in tsrm_shutdown()
270 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_allocate_id()
367 thread_resources = tsrm_tls_table[hash_value]; in ts_resource_ex()
370 allocate_new_resource(&tsrm_tls_table[hash_value], thread_id); in ts_resource_ex()
468 thread_resources = tsrm_tls_table[hash_value]; in ts_free_thread()
484 tsrm_tls_table[hash_value] = thread_resources->next; in ts_free_thread()
510 thread_resources = tsrm_tls_table[hash_value]; in ts_free_worker_threads()
526 tsrm_tls_table[hash_value] = thread_resources->next; in ts_free_worker_threads()
532 thread_resources = tsrm_tls_table[hash_value]; in ts_free_worker_threads()
555 if (tsrm_tls_table) { in ts_free_id()
557 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_free_id()