/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDigest.c | 40 boolean_t lock_held = B_TRUE; in C_DigestInit() local 98 lock_held = B_FALSE; in C_DigestInit() 99 SES_REFRELE(session_p, lock_held); in C_DigestInit() 111 boolean_t lock_held = B_TRUE; in C_Digest() local 177 lock_held = B_FALSE; in C_Digest() 210 boolean_t lock_held = B_TRUE; in C_DigestUpdate() local 257 lock_held = B_FALSE; in C_DigestUpdate() 289 boolean_t lock_held = B_TRUE; in C_DigestKey() local 340 lock_held = B_FALSE; in C_DigestKey() 373 boolean_t lock_held = B_TRUE; in C_DigestFinal() local [all …]
|
H A D | softDecrypt.c | 42 boolean_t lock_held = B_FALSE; in C_DecryptInit() local 69 lock_held = B_TRUE; in C_DecryptInit() 85 lock_held = B_FALSE; in C_DecryptInit() 92 lock_held = B_TRUE; in C_DecryptInit() 141 lock_held = B_TRUE; in C_Decrypt() 165 lock_held = B_FALSE; in C_Decrypt() 231 lock_held = B_TRUE; in C_DecryptUpdate() 245 lock_held = B_FALSE; in C_DecryptUpdate() 292 lock_held = B_TRUE; in C_DecryptFinal() 304 lock_held = B_FALSE; in C_DecryptFinal() [all …]
|
H A D | softEncrypt.c | 44 boolean_t lock_held = B_FALSE; in C_EncryptInit() local 71 lock_held = B_TRUE; in C_EncryptInit() 87 lock_held = B_FALSE; in C_EncryptInit() 94 lock_held = B_TRUE; in C_EncryptInit() 144 lock_held = B_TRUE; in C_Encrypt() 168 lock_held = B_FALSE; in C_Encrypt() 233 lock_held = B_TRUE; in C_EncryptUpdate() 247 lock_held = B_FALSE; in C_EncryptUpdate() 295 lock_held = B_TRUE; in C_EncryptFinal() 307 lock_held = B_FALSE; in C_EncryptFinal() [all …]
|
H A D | softSign.c | 70 lock_held = B_TRUE; in C_SignInit() 85 lock_held = B_FALSE; in C_SignInit() 92 lock_held = B_TRUE; in C_SignInit() 126 lock_held = B_TRUE; in C_Sign() 150 lock_held = B_FALSE; in C_Sign() 202 lock_held = B_TRUE; in C_SignUpdate() 216 lock_held = B_FALSE; in C_SignUpdate() 256 lock_held = B_TRUE; in C_SignFinal() 268 lock_held = B_FALSE; in C_SignFinal() 327 lock_held = B_TRUE; in C_SignRecoverInit() [all …]
|
H A D | softVerify.c | 70 lock_held = B_TRUE; in C_VerifyInit() 85 lock_held = B_FALSE; in C_VerifyInit() 92 lock_held = B_TRUE; in C_VerifyInit() 126 lock_held = B_TRUE; in C_Verify() 150 lock_held = B_FALSE; in C_Verify() 190 lock_held = B_TRUE; in C_VerifyUpdate() 204 lock_held = B_FALSE; in C_VerifyUpdate() 239 lock_held = B_TRUE; in C_VerifyFinal() 251 lock_held = B_FALSE; in C_VerifyFinal() 298 lock_held = B_TRUE; in C_VerifyRecoverInit() [all …]
|
H A D | softObject.c | 47 boolean_t lock_held = B_FALSE; in C_CreateObject() local 86 boolean_t lock_held = B_FALSE; in C_CopyObject() local 215 boolean_t lock_held = B_FALSE; in C_DestroyObject() local 330 boolean_t lock_held = B_FALSE; in C_GetAttributeValue() local 561 boolean_t lock_held = B_TRUE; in C_FindObjectsInit() local 577 lock_held = B_FALSE; in C_FindObjectsInit() 609 lock_held = B_FALSE; in C_FindObjectsInit() 622 boolean_t lock_held = B_TRUE; in C_FindObjects() local 639 lock_held = B_FALSE; in C_FindObjects() 648 lock_held = B_FALSE; in C_FindObjects() [all …]
|
H A D | softSession.c | 77 boolean_t lock_held = B_TRUE; in C_CloseSession() local 96 SES_REFRELE(session_p, lock_held); in C_CloseSession() 106 SES_REFRELE(session_p, lock_held); in C_CloseSession() 187 boolean_t lock_held = B_TRUE; in C_GetSessionInfo() local 201 lock_held = B_FALSE; in C_GetSessionInfo() 220 SES_REFRELE(session_p, lock_held); in C_GetSessionInfo() 232 boolean_t lock_held = B_FALSE; in C_GetOperationState() local 260 SES_REFRELE(session_p, lock_held); in C_GetOperationState() 273 boolean_t lock_held = B_FALSE; in C_SetOperationState() local 307 boolean_t lock_held = B_FALSE; in C_Login() local [all …]
|
H A D | softKeys.c | 40 boolean_t lock_held = B_FALSE; in C_GenerateKey() local 79 boolean_t lock_held = B_FALSE; in C_GenerateKeyPair() local 125 boolean_t lock_held = B_FALSE; in C_WrapKey() local 179 lock_held = B_TRUE; in C_WrapKey() 194 lock_held = B_FALSE; in C_WrapKey() 201 lock_held = B_TRUE; in C_WrapKey() 226 boolean_t lock_held = B_FALSE; in C_UnwrapKey() local 276 lock_held = B_TRUE; in C_UnwrapKey() 294 lock_held = B_FALSE; in C_UnwrapKey() 307 lock_held = B_TRUE; in C_UnwrapKey() [all …]
|
H A D | softKeystoreUtil.h | 81 int soft_keystore_get_version(uint_t *version, boolean_t lock_held); 83 uint_t *version, boolean_t lock_held); 84 int soft_keystore_getpin(char **hashed_pin, boolean_t lock_held); 85 int soft_keystore_setpin(uchar_t *oldpin, uchar_t *newpin, boolean_t lock_held); 88 ks_obj_t **result_objs, boolean_t lock_held); 90 ks_obj_t **result_obj, boolean_t lock_held); 92 boolean_t lock_held, ks_obj_handle_t *keyhandle); 94 size_t len, boolean_t lock_held); 95 int soft_keystore_del_obj(ks_obj_handle_t *ks_handle, boolean_t lock_held); 98 boolean_t lock_held);
|
H A D | softRand.c | 41 boolean_t lock_held = B_FALSE; in C_SeedRandom() local 51 SES_REFRELE(session_p, lock_held); in C_SeedRandom() 73 boolean_t lock_held = B_FALSE; in C_GenerateRandom() local 83 SES_REFRELE(session_p, lock_held); in C_GenerateRandom()
|
H A D | softKeystoreUtil.c | 608 if (lock_held) { in open_and_lock_keystore_desc() 698 if (lock_held) { in open_and_lock_object_file() 1055 if (!lock_held) { in soft_keystore_get_version() 1108 if (!lock_held) { in soft_keystore_get_object_version() 1159 if (!lock_held) { in soft_keystore_getpin() 1765 if (!lock_held) { in soft_keystore_setpin() 1928 lock_held); in soft_keystore_get_objs() 1957 lock_held); in soft_keystore_get_objs() 2143 if (!lock_held) { in soft_keystore_get_single_obj() 2412 if (!lock_held) { in soft_keystore_put_new_obj() [all …]
|
H A D | softSession.h | 160 #define SES_REFRELE(s, lock_held) { \ argument 161 if (!lock_held) \ 194 boolean_t force, boolean_t lock_held);
|
H A D | softSlotToken.c | 518 boolean_t lock_held = B_FALSE; in C_SetPIN() local 532 SES_REFRELE(session_p, lock_held); in C_SetPIN() 538 SES_REFRELE(session_p, lock_held); in C_SetPIN() 546 SES_REFRELE(session_p, lock_held); in C_SetPIN() 553 SES_REFRELE(session_p, lock_held); in C_SetPIN() 559 SES_REFRELE(session_p, lock_held); in C_SetPIN()
|
H A D | softObjectUtil.c | 570 boolean_t force, boolean_t lock_held) in soft_delete_object() argument 577 if (!lock_held) { in soft_delete_object() 584 if (!lock_held) { in soft_delete_object() 590 if (!lock_held) { in soft_delete_object() 901 soft_remove_token_object_from_slot(soft_object_t *objp, boolean_t lock_held) in soft_remove_token_object_from_slot() argument 904 if (!lock_held) in soft_remove_token_object_from_slot() 931 if (!lock_held) in soft_remove_token_object_from_slot() 937 boolean_t lock_held) in soft_delete_token_object() argument 940 if (!lock_held) in soft_delete_token_object() 948 if (!lock_held) in soft_delete_token_object()
|
H A D | softDigestUtil.c | 515 soft_digest_cleanup(soft_session_t *session_p, boolean_t lock_held) in soft_digest_cleanup() argument 519 if (!lock_held) in soft_digest_cleanup() 529 if (!lock_held) in soft_digest_cleanup()
|
H A D | softSignUtil.c | 496 boolean_t lock_held) in soft_sign_verify_cleanup() argument 502 if (!lock_held) in soft_sign_verify_cleanup() 606 if (!lock_held) in soft_sign_verify_cleanup()
|
H A D | softEncryptUtil.c | 647 boolean_t lock_held) in soft_crypt_cleanup() argument 653 if (!lock_held) in soft_crypt_cleanup() 750 if (!lock_held) in soft_crypt_cleanup()
|
H A D | softSessionUtil.c | 250 boolean_t force, boolean_t lock_held) in soft_delete_session() argument 258 if (!lock_held) { in soft_delete_session() 293 if (!lock_held) { in soft_delete_session()
|
H A D | softObject.h | 786 boolean_t force, boolean_t lock_held); 885 boolean_t lock_held); 888 boolean_t lock_held);
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_cmd.c | 197 amd_iommu_cmdargs_t *cmdargs, amd_iommu_cmd_flags_t flags, int lock_held) in amd_iommu_cmd() argument 208 ASSERT(lock_held == 0 || lock_held == 1); in amd_iommu_cmd() 209 ASSERT(lock_held == 0 || MUTEX_HELD(&iommu->aiomt_cmdlock)); in amd_iommu_cmd() 211 if (!lock_held) in amd_iommu_cmd() 318 if (!lock_held) in amd_iommu_cmd()
|
H A D | amd_iommu_impl.h | 481 amd_iommu_cmdargs_t *cmdargs, amd_iommu_cmd_flags_t flags, int lock_held);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSession.h | 170 boolean_t lock_held, boolean_t wrapper_only);
|
H A D | kernelObject.h | 532 boolean_t lock_held, boolean_t wrapper_only); 603 kernel_object_t *obj, boolean_t lock_held, boolean_t wrapper_only);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_conn.c | 970 boolean_t lock_held = B_FALSE; in iscsi_conn_flush_active_cmds() local 977 lock_held = B_TRUE; in iscsi_conn_flush_active_cmds() 1004 if (lock_held == B_FALSE) { in iscsi_conn_flush_active_cmds()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_ire.c | 877 const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) in ire_gateway_ok_zone_v6() argument 882 if (lock_held) in ire_gateway_ok_zone_v6() 895 if (!lock_held) in ire_gateway_ok_zone_v6()
|