Lines Matching refs:tsrm_tls_entry
27 typedef struct _tsrm_tls_entry tsrm_tls_entry; typedef
36 tsrm_tls_entry *next;
50 static tsrm_tls_entry **tsrm_tls_table=NULL;
135 tsrm_tls_table = (tsrm_tls_entry **) calloc(tsrm_tls_table_size, sizeof(tsrm_tls_entry *)); in tsrm_startup()
164 static void ts_free_resources(tsrm_tls_entry *thread_resources) in ts_free_resources()
198 tsrm_tls_entry *p = tsrm_tls_table[i], *next_p; in tsrm_shutdown()
251 tsrm_tls_entry *p = tsrm_tls_table[i]; in tsrm_update_active_threads()
342 *offset = TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + tsrm_reserved_pos; in ts_allocate_fast_id()
371 static void set_thread_local_storage_resource_to(tsrm_tls_entry *thread_resource) in set_thread_local_storage_resource_to()
378 static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_T thread_id) in allocate_new_resource()
381 …(*thread_resources_ptr) = (tsrm_tls_entry *) malloc(TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + ts… in allocate_new_resource()
421 tsrm_tls_entry *thread_resources, **last_thread_resources; in ts_resource_ex()
484 tsrm_tls_entry *next = thread_resources->next; in ts_resource_ex()
512 tsrm_tls_entry *thread_resources; in ts_free_thread()
515 tsrm_tls_entry *last=NULL; in ts_free_thread()
554 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_free_id()
587 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_apply_for_id()