Home
last modified time | relevance | path

Searched refs:object_mutex (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObject.c119 (void) pthread_mutex_lock(&old_object->object_mutex); in C_CopyObject()
125 (void) pthread_mutex_unlock(&old_object->object_mutex); in C_CopyObject()
130 (void) pthread_mutex_unlock(&old_object->object_mutex); in C_CopyObject()
269 (void) pthread_mutex_lock(&object_p->object_mutex); in C_DestroyObject()
271 (void) pthread_mutex_unlock(&object_p->object_mutex); in C_DestroyObject()
276 (void) pthread_mutex_unlock(&object_p->object_mutex); in C_DestroyObject()
302 (void) pthread_mutex_lock(&object_p->object_mutex); in C_DestroyObject()
304 (void) pthread_mutex_unlock(&object_p->object_mutex); in C_DestroyObject()
309 (void) pthread_mutex_unlock(&object_p->object_mutex); in C_DestroyObject()
381 (void) pthread_mutex_lock(&object_p->object_mutex); in C_GetAttributeValue()
[all …]
H A DsoftObjectUtil.c167 (void) pthread_mutex_init(&(new_objp->object_mutex), NULL); in soft_copy_object()
263 (void) pthread_mutex_init(&new_objp->object_mutex, NULL); in soft_add_object()
278 (void) pthread_mutex_destroy(&new_objp->object_mutex); in soft_add_object()
422 (void) pthread_mutex_lock(&objp->object_mutex); in soft_delete_object_cleanup()
428 (void) pthread_mutex_unlock(&objp->object_mutex); in soft_delete_object_cleanup()
457 &objp->object_mutex); in soft_delete_object_cleanup()
476 (void) pthread_mutex_unlock(&objp->object_mutex); in soft_delete_object_cleanup()
478 (void) pthread_mutex_destroy(&objp->object_mutex); in soft_delete_object_cleanup()
657 (void) pthread_mutex_lock(&obj->object_mutex); in search_for_objects()
670 (void) pthread_mutex_unlock(&obj->object_mutex); in search_for_objects()
[all …]
H A DsoftBlowfishCrypt.c82 (void) pthread_mutex_lock(&key_p->object_mutex); in soft_blowfish_crypt_init_common()
87 &key_p->object_mutex); in soft_blowfish_crypt_init_common()
98 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_blowfish_crypt_init_common()
H A DsoftObject.h308 pthread_mutex_t object_mutex; member
764 (void) pthread_mutex_lock(&object_p->object_mutex); \
771 (void) pthread_mutex_unlock(&object_p->object_mutex); \
783 (void) pthread_mutex_lock(&object_p->object_mutex); \
788 (void) pthread_mutex_unlock(&object_p->object_mutex); \
H A DsoftDSA.c85 (void) pthread_mutex_lock(&key_p->object_mutex); in soft_dsa_sign_verify_init_common()
91 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_dsa_sign_verify_init_common()
97 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_dsa_sign_verify_init_common()
H A DsoftRSA.c209 (void) pthread_mutex_lock(&key_p->object_mutex); in soft_rsa_crypt_init_common()
215 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_rsa_crypt_init_common()
221 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_rsa_crypt_init_common()
480 (void) pthread_mutex_lock(&key_p->object_mutex); in soft_rsa_sign_verify_init_common()
486 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_rsa_sign_verify_init_common()
492 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_rsa_sign_verify_init_common()
H A DsoftAESCrypt.c87 (void) pthread_mutex_lock(&key_p->object_mutex); in soft_aes_crypt_init_common()
92 &key_p->object_mutex); in soft_aes_crypt_init_common()
107 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_aes_crypt_init_common()
H A DsoftEC.c364 (void) pthread_mutex_lock(&key_p->object_mutex); in soft_ecc_sign_verify_init_common()
368 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_ecc_sign_verify_init_common()
378 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_ecc_sign_verify_init_common()
H A DsoftDESCrypt.c94 (void) pthread_mutex_lock(&key_p->object_mutex); in soft_des_crypt_init_common()
102 &key_p->object_mutex); in soft_des_crypt_init_common()
124 (void) pthread_mutex_unlock(&key_p->object_mutex); in soft_des_crypt_init_common()
H A DsoftSessionUtil.c734 (void) pthread_mutex_lock(&object_p->object_mutex); in soft_acquire_all_session_mutexes()
754 (void) pthread_mutex_unlock(&object_p->object_mutex); in soft_release_all_session_mutexes()
H A DsoftSSL.c992 (void) pthread_mutex_init(&secret_key->object_mutex, NULL); in soft_add_derived_key()
H A DsoftKeysUtil.c105 (void) pthread_mutex_init(&new_objp->object_mutex, NULL); in soft_gen_keyobject()
H A DsoftKeystore.c451 (void) pthread_mutex_init(&obj->object_mutex, NULL); in soft_keystore_unpack_obj()
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObject.c125 (void) pthread_mutex_lock(&old_object->object_mutex); in C_CopyObject()
135 (void) pthread_mutex_unlock(&old_object->object_mutex); in C_CopyObject()
188 (void) pthread_mutex_unlock(&old_object->object_mutex); in C_CopyObject()
197 (void) pthread_mutex_unlock(&old_object->object_mutex); in C_CopyObject()
244 (void) pthread_mutex_init(&new_object->object_mutex, NULL); in C_CopyObject()
357 (void) pthread_mutex_lock(&object_p->object_mutex); in C_DestroyObject()
359 (void) pthread_mutex_unlock(&object_p->object_mutex); in C_DestroyObject()
364 (void) pthread_mutex_unlock(&object_p->object_mutex); in C_DestroyObject()
433 (void) pthread_mutex_lock(&object_p->object_mutex); in C_GetAttributeValue()
451 (void) pthread_mutex_unlock(&object_p->object_mutex); in C_GetAttributeValue()
[all …]
H A DkernelUtil.c296 (void) pthread_mutex_lock(&object_p->object_mutex); in get_rsa_private_key()
299 (void) pthread_mutex_unlock(&object_p->object_mutex); in get_rsa_private_key()
306 (void) pthread_mutex_unlock(&object_p->object_mutex); in get_rsa_private_key()
407 (void) pthread_mutex_unlock(&object_p->object_mutex); in get_rsa_private_key()
411 (void) pthread_mutex_unlock(&object_p->object_mutex); in get_rsa_private_key()
429 (void) pthread_mutex_lock(&object_p->object_mutex); in get_rsa_public_key()
432 (void) pthread_mutex_unlock(&object_p->object_mutex); in get_rsa_public_key()
439 (void) pthread_mutex_unlock(&object_p->object_mutex); in get_rsa_public_key()
463 (void) pthread_mutex_unlock(&object_p->object_mutex); in get_rsa_public_key()
467 (void) pthread_mutex_unlock(&object_p->object_mutex); in get_rsa_public_key()
[all …]
H A DkernelObjectUtil.c153 (void) pthread_mutex_init(&(new_objp->object_mutex), NULL); in kernel_copy_object()
301 (void) pthread_mutex_init(&new_objp->object_mutex, NULL); in kernel_add_object()
398 (void) pthread_mutex_lock(&objp->object_mutex); in kernel_delete_object_cleanup()
404 (void) pthread_mutex_unlock(&objp->object_mutex); in kernel_delete_object_cleanup()
434 &objp->object_mutex); in kernel_delete_object_cleanup()
536 (void) pthread_mutex_unlock(&objp->object_mutex); in kernel_delete_session_object()
538 (void) pthread_mutex_destroy(&objp->object_mutex); in kernel_delete_session_object()
629 (void) pthread_mutex_lock(&obj->object_mutex); in search_for_objects()
641 (void) pthread_mutex_unlock(&obj->object_mutex); in search_for_objects()
728 (void) pthread_mutex_lock(&obj->object_mutex); in kernel_find_objects()
[all …]
H A DkernelObject.h199 pthread_mutex_t object_mutex; member
495 (void) pthread_mutex_lock(&object_p->object_mutex); \
502 (void) pthread_mutex_unlock(&object_p->object_mutex); \
514 (void) pthread_mutex_lock(&object_p->object_mutex); \
519 (void) pthread_mutex_unlock(&object_p->object_mutex); \
H A DkernelKeys.c487 (void) pthread_mutex_init(&new_objp->object_mutex, NULL); in C_GenerateKey()
824 (void) pthread_mutex_init(&new_pub_objp->object_mutex, NULL); in key_gen_rsa_by_value()
826 (void) pthread_mutex_init(&new_pri_objp->object_mutex, NULL); in key_gen_rsa_by_value()
1108 (void) pthread_mutex_init(&new_pub_objp->object_mutex, NULL); in key_gen_dh_by_value()
1110 (void) pthread_mutex_init(&new_pri_objp->object_mutex, NULL); in key_gen_dh_by_value()
1377 (void) pthread_mutex_init(&new_pub_objp->object_mutex, NULL); in key_gen_ec_by_value()
1379 (void) pthread_mutex_init(&new_pri_objp->object_mutex, NULL); in key_gen_ec_by_value()
1598 (void) pthread_mutex_init(&new_pub_objp->object_mutex, NULL); in C_GenerateKeyPair()
1621 (void) pthread_mutex_init(&new_pri_objp->object_mutex, NULL); in C_GenerateKeyPair()
1940 (void) pthread_mutex_init(&new_objp->object_mutex, NULL); in C_UnwrapKey()
[all …]
H A DkernelSessionUtil.c378 (void) pthread_mutex_destroy(&objp->object_mutex); in kernel_delete_session()
500 (void) pthread_mutex_lock(&objp->object_mutex); in kernel_acquire_all_slots_mutexes()
528 &objp->object_mutex); in kernel_release_all_slots_mutexes()