Home
last modified time | relevance | path

Searched refs:obj_list_rw_mutex (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobj_mgr.c296 pthread_rwlock_t obj_list_rw_mutex = PTHREAD_RWLOCK_INITIALIZER; variable
523 if (pthread_rwlock_wrlock(&obj_list_rw_mutex)) { in object_mgr_add_to_map()
527 (void) pthread_rwlock_unlock(&obj_list_rw_mutex); in object_mgr_add_to_map()
1030 if (pthread_rwlock_rdlock(&obj_list_rw_mutex)) { in object_mgr_find_in_map_nocache()
1044 (void) pthread_rwlock_unlock(&obj_list_rw_mutex); in object_mgr_find_in_map_nocache()
1071 if (pthread_rwlock_rdlock(&obj_list_rw_mutex)) { in object_mgr_find_in_map1()
1085 (void) pthread_rwlock_unlock(&obj_list_rw_mutex); in object_mgr_find_in_map1()
1114 if (pthread_rwlock_rdlock(&obj_list_rw_mutex)) { in object_mgr_find_in_map2()
1128 (void) pthread_rwlock_unlock(&obj_list_rw_mutex); in object_mgr_find_in_map2()
1416 if (pthread_rwlock_wrlock(&obj_list_rw_mutex)) { in object_mgr_invalidate_handle1()
[all …]
H A Dapi_interface.c321 extern pthread_rwlock_t obj_list_rw_mutex;
330 (void) pthread_rwlock_wrlock(&obj_list_rw_mutex); in tpmtoken_fork_prepare()
348 (void) pthread_rwlock_unlock(&obj_list_rw_mutex); in tpmtoken_fork_parent()
364 (void) pthread_rwlock_unlock(&obj_list_rw_mutex); in tpmtoken_fork_child()
H A Dnew_host.c34 extern pthread_rwlock_t obj_list_rw_mutex;
144 (void) pthread_rwlock_init(&obj_list_rw_mutex, NULL); in ST_Initialize()