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;
158 tsrm_tls_table = (tsrm_tls_entry **) calloc(tsrm_tls_table_size, sizeof(tsrm_tls_entry *)); in tsrm_startup()
206 tsrm_tls_entry *p = tsrm_tls_table[i], *next_p; in tsrm_shutdown()
270 tsrm_tls_entry *p = tsrm_tls_table[i]; in tsrm_update_active_threads()
361 *offset = TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + tsrm_reserved_pos; in ts_allocate_fast_id()
391 static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_T thread_id) in allocate_new_resource()
396 …(*thread_resources_ptr) = (tsrm_tls_entry *) malloc(TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + ts… in allocate_new_resource()
440 tsrm_tls_entry *thread_resources; in ts_resource_ex()
501 tsrm_tls_entry *next, *thread_resources = (tsrm_tls_entry*)context; in tsrm_free_interpreter_context()
525 tsrm_tls_entry *current; in tsrm_set_interpreter_context()
543 tsrm_tls_entry *new_ctx, *current; in tsrm_new_interpreter_context()
562 tsrm_tls_entry *thread_resources; in ts_free_thread()
566 tsrm_tls_entry *last=NULL; in ts_free_thread()
616 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_free_id()