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()
200 tsrm_tls_entry *p = tsrm_tls_table[i], *next_p; in tsrm_shutdown()
255 tsrm_tls_entry *p = tsrm_tls_table[i]; in tsrm_update_active_threads()
346 *offset = TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + tsrm_reserved_pos; in ts_allocate_fast_id()
375 static void set_thread_local_storage_resource_to(tsrm_tls_entry *thread_resource) in set_thread_local_storage_resource_to()
382 static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_T thread_id) in allocate_new_resource()
387 …(*thread_resources_ptr) = (tsrm_tls_entry *) malloc(TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + ts… in allocate_new_resource()
427 tsrm_tls_entry *thread_resources, **last_thread_resources; in ts_resource_ex()
490 tsrm_tls_entry *next = thread_resources->next; in ts_resource_ex()
518 tsrm_tls_entry *thread_resources; in ts_free_thread()
521 tsrm_tls_entry *last=NULL; in ts_free_thread()
561 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_free_id()