Lines Matching refs:tsrm_tls_table
42 static tsrm_tls_entry **tsrm_tls_table=NULL; variable
139 tsrm_tls_table = (tsrm_tls_entry **) calloc(tsrm_tls_table_size, sizeof(tsrm_tls_entry *)); in tsrm_startup()
140 if (!tsrm_tls_table) { in tsrm_startup()
150 free(tsrm_tls_table); in tsrm_startup()
151 tsrm_tls_table = NULL; in tsrm_startup()
169 if (tsrm_tls_table) { in tsrm_shutdown()
171 tsrm_tls_entry *p = tsrm_tls_table[i], *next_p; in tsrm_shutdown()
190 free(tsrm_tls_table); in tsrm_shutdown()
191 tsrm_tls_table = NULL; in tsrm_shutdown()
245 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_allocate_id()
321 if(tsrm_tls_table) { in ts_resource_ex()
348 thread_resources = tsrm_tls_table[hash_value]; in ts_resource_ex()
351 allocate_new_resource(&tsrm_tls_table[hash_value], thread_id); in ts_resource_ex()
452 thread_resources = tsrm_tls_table[hash_value]; in ts_free_thread()
468 tsrm_tls_table[hash_value] = thread_resources->next; in ts_free_thread()
494 thread_resources = tsrm_tls_table[hash_value]; in ts_free_worker_threads()
510 tsrm_tls_table[hash_value] = thread_resources->next; in ts_free_worker_threads()
516 thread_resources = tsrm_tls_table[hash_value]; in ts_free_worker_threads()
539 if (tsrm_tls_table) { in ts_free_id()
541 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_free_id()