Lines Matching refs:emutls_address_array

36 typedef struct emutls_address_array {  struct
40 } emutls_address_array; argument
46 static void emutls_shutdown(emutls_address_array *array);
92 static __inline void emutls_setspecific(emutls_address_array *value) { in emutls_setspecific()
96 static __inline emutls_address_array *emutls_getspecific() { in emutls_getspecific()
97 return (emutls_address_array *)pthread_getspecific(emutls_pthread_key); in emutls_getspecific()
101 emutls_address_array *array = (emutls_address_array *)ptr; in emutls_key_destructor()
179 emutls_shutdown((emutls_address_array *)TlsGetValue(emutls_tls_index)); in emutls_exit()
216 static __inline void emutls_setspecific(emutls_address_array *value) { in emutls_setspecific()
221 static __inline emutls_address_array *emutls_getspecific() { in emutls_getspecific()
228 return (emutls_address_array *)value; in emutls_getspecific()
260 static void emutls_shutdown(emutls_address_array *array) { in emutls_shutdown()
328 static __inline void emutls_check_array_set_size(emutls_address_array *array, in emutls_check_array_set_size()
342 uintptr_t header_words = sizeof(emutls_address_array) / sizeof(void *); in emutls_new_data_array_size()
349 return N * sizeof(void *) + sizeof(emutls_address_array); in emutls_asize()
354 static __inline emutls_address_array *
356 emutls_address_array *array = emutls_getspecific(); in emutls_get_address_array()
359 array = (emutls_address_array *)malloc(emutls_asize(new_size)); in emutls_get_address_array()
368 array = (emutls_address_array *)realloc(array, emutls_asize(new_size)); in emutls_get_address_array()
379 emutls_address_array *array = emutls_get_address_array(index--); in __emutls_get_address()