Lines Matching refs:key_obj
128 pthread_key_obj *key_obj = NULL; in pthread_key_delete() local
133 key_obj = get_posix_key(key); in pthread_key_delete()
134 if (key_obj == NULL) { in pthread_key_delete()
140 SYS_SLIST_FOR_EACH_NODE_SAFE(&(key_obj->key_data_l), node_l, next_node_l) { in pthread_key_delete()
143 key_data = (struct pthread_key_data *)sys_slist_get(&(key_obj->key_data_l)); in pthread_key_delete()
151 bit = posix_key_to_offset(key_obj); in pthread_key_delete()
157 LOG_DBG("Deleted key %p (%x)", key_obj, key); in pthread_key_delete()
170 pthread_key_obj *key_obj = NULL; in pthread_setspecific() local
186 key_obj = get_posix_key(key); in pthread_setspecific()
187 if (key_obj == NULL) { in pthread_setspecific()
195 if (thread_spec_data->key == key_obj) { in pthread_setspecific()
223 key_data->thread_data.key = key_obj; in pthread_setspecific()
230 sys_slist_append(&(key_obj->key_data_l), (sys_snode_t *)key_data); in pthread_setspecific()
245 pthread_key_obj *key_obj; in pthread_getspecific() local
257 key_obj = get_posix_key(key); in pthread_getspecific()
258 if (key_obj == NULL) { in pthread_getspecific()
267 if (thread_spec_data->key == key_obj) { in pthread_getspecific()