Lines Matching refs:tsrm_tls_entry
23 typedef struct _tsrm_tls_entry tsrm_tls_entry; typedef
33 tsrm_tls_entry *next;
46 static tsrm_tls_entry **tsrm_tls_table=NULL;
121 # define tsrm_tls_get() (tsrm_tls_entry*)tls_get(tls_key)
155 tsrm_tls_table = (tsrm_tls_entry **) calloc(tsrm_tls_table_size, sizeof(tsrm_tls_entry *)); in tsrm_startup()
190 tsrm_tls_entry *p = tsrm_tls_table[i], *next_p; in tsrm_shutdown()
270 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_allocate_id()
295 static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_T thread_id) in allocate_new_resource()
300 (*thread_resources_ptr) = (tsrm_tls_entry *) malloc(sizeof(tsrm_tls_entry)); in allocate_new_resource()
340 tsrm_tls_entry *thread_resources; in ts_resource_ex()
401 tsrm_tls_entry *next, *thread_resources = (tsrm_tls_entry*)context; in tsrm_free_interpreter_context()
423 tsrm_tls_entry *current; in tsrm_set_interpreter_context()
441 tsrm_tls_entry *new_ctx, *current; in tsrm_new_interpreter_context()
460 tsrm_tls_entry *thread_resources; in ts_free_thread()
464 tsrm_tls_entry *last=NULL; in ts_free_thread()
502 tsrm_tls_entry *thread_resources; in ts_free_worker_threads()
506 tsrm_tls_entry *last=NULL; in ts_free_worker_threads()
557 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_free_id()