Home
last modified time | relevance | path

Searched refs:st_mutex (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11SlotToken.c241 (void) pthread_mutex_lock(&slottable->st_mutex); in C_WaitForSlotEvent()
243 (void) pthread_mutex_unlock(&slottable->st_mutex); in C_WaitForSlotEvent()
247 (void) pthread_mutex_unlock(&slottable->st_mutex); in C_WaitForSlotEvent()
273 (void) pthread_mutex_lock(&slottable->st_mutex); in C_WaitForSlotEvent()
275 (void) pthread_mutex_unlock(&slottable->st_mutex); in C_WaitForSlotEvent()
350 &slottable->st_mutex); in C_WaitForSlotEvent()
354 &slottable->st_mutex); in C_WaitForSlotEvent()
374 (void) pthread_mutex_lock(&slottable->st_mutex); in C_WaitForSlotEvent()
376 (void) pthread_mutex_unlock(&slottable->st_mutex); in C_WaitForSlotEvent()
386 (void) pthread_mutex_lock(&slottable->st_mutex); in C_WaitForSlotEvent()
[all …]
H A Dpkcs11Slottable.c57 if (pthread_mutex_init(&stmp->st_mutex, NULL) != 0) { in pkcs11_slottable_initialize()
90 (void) pthread_mutex_lock(&slottable->st_mutex); in pkcs11_slottable_increase()
97 (void) pthread_mutex_unlock(&slottable->st_mutex); in pkcs11_slottable_increase()
105 (void) pthread_mutex_unlock(&slottable->st_mutex); in pkcs11_slottable_increase()
112 (void) pthread_mutex_unlock(&slottable->st_mutex); in pkcs11_slottable_increase()
144 (void) pthread_mutex_lock(&slottable->st_mutex); in pkcs11_slot_allocate()
152 (void) pthread_mutex_unlock(&slottable->st_mutex); in pkcs11_slot_allocate()
170 (void) pthread_mutex_lock(&slottable->st_mutex); in pkcs11_slottable_delete()
249 (void) pthread_mutex_unlock(&slottable->st_mutex); in pkcs11_slottable_delete()
251 (void) pthread_mutex_destroy(&slottable->st_mutex); in pkcs11_slottable_delete()
H A Dpkcs11General.c146 (void) pthread_mutex_lock(&slottable->st_mutex); in pkcs11_fork_prepare()
180 (void) pthread_mutex_unlock(&slottable->st_mutex); in pkcs11_fork_parent()
210 (void) pthread_mutex_unlock(&slottable->st_mutex); in pkcs11_fork_child()
405 (void) pthread_mutex_lock(&slottable->st_mutex); in finalize_common()
422 &slottable->st_mutex); in finalize_common()
427 (void) pthread_mutex_unlock(&slottable->st_mutex); in finalize_common()
H A Dpkcs11Slot.h89 pthread_mutex_t st_mutex; /* Protects all data in the slottable */ member
H A Dpkcs11Conf.c190 (void) pthread_mutex_lock(&slottable->st_mutex); in setup_metaslot()
192 (void) pthread_mutex_unlock(&slottable->st_mutex); in setup_metaslot()