Lines Matching refs:tsrm_tls_entry
23 typedef struct _tsrm_tls_entry tsrm_tls_entry; typedef
29 tsrm_tls_entry *next;
42 static tsrm_tls_entry **tsrm_tls_table=NULL;
111 # define tsrm_tls_get() (tsrm_tls_entry*)tls_get(tls_key)
139 tsrm_tls_table = (tsrm_tls_entry **) calloc(tsrm_tls_table_size, sizeof(tsrm_tls_entry *)); in tsrm_startup()
171 tsrm_tls_entry *p = tsrm_tls_table[i], *next_p; in tsrm_shutdown()
245 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_allocate_id()
270 static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_T thread_id) in allocate_new_resource()
275 (*thread_resources_ptr) = (tsrm_tls_entry *) malloc(sizeof(tsrm_tls_entry)); in allocate_new_resource()
312 tsrm_tls_entry *thread_resources; in ts_resource_ex()
385 tsrm_tls_entry *next, *thread_resources = (tsrm_tls_entry*)context; in tsrm_free_interpreter_context()
407 tsrm_tls_entry *current; in tsrm_set_interpreter_context()
425 tsrm_tls_entry *new_ctx, *current; in tsrm_new_interpreter_context()
444 tsrm_tls_entry *thread_resources; in ts_free_thread()
448 tsrm_tls_entry *last=NULL; in ts_free_thread()
486 tsrm_tls_entry *thread_resources; in ts_free_worker_threads()
490 tsrm_tls_entry *last=NULL; in ts_free_worker_threads()
541 tsrm_tls_entry *p = tsrm_tls_table[i]; in ts_free_id()