Lines Matching refs:tsrm_tls_table
46 static tsrm_tls_entry **tsrm_tls_table=NULL; variable
148 tsrm_tls_table = (tsrm_tls_entry **) calloc(tsrm_tls_table_size, sizeof(tsrm_tls_entry *)); in tsrm_startup()
149 if (!tsrm_tls_table) { in tsrm_startup()
159 free(tsrm_tls_table); in tsrm_startup()
160 tsrm_tls_table = NULL; in tsrm_startup()
181 if (tsrm_tls_table) { in tsrm_shutdown()
183 tsrm_tls_entry *p = tsrm_tls_table[i], *next_p; in tsrm_shutdown()
202 free(tsrm_tls_table); in tsrm_shutdown()
203 tsrm_tls_table = NULL; in tsrm_shutdown()
265 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_allocate_id()
362 thread_resources = tsrm_tls_table[hash_value]; in ts_resource_ex()
365 allocate_new_resource(&tsrm_tls_table[hash_value], thread_id); in ts_resource_ex()
463 thread_resources = tsrm_tls_table[hash_value]; in ts_free_thread()
479 tsrm_tls_table[hash_value] = thread_resources->next; in ts_free_thread()
505 thread_resources = tsrm_tls_table[hash_value]; in ts_free_worker_threads()
521 tsrm_tls_table[hash_value] = thread_resources->next; in ts_free_worker_threads()
527 thread_resources = tsrm_tls_table[hash_value]; in ts_free_worker_threads()
550 if (tsrm_tls_table) { in ts_free_id()
552 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_free_id()