Home
last modified time | relevance | path

Searched refs:lock_held (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDigest.c40 boolean_t lock_held = B_TRUE; in C_DigestInit() local
67 soft_digest_cleanup(session_p, lock_held); in C_DigestInit()
89 SES_REFRELE(session_p, lock_held); in C_DigestInit()
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
139 SES_REFRELE(session_p, lock_held); in C_Digest()
158 SES_REFRELE(session_p, lock_held); in C_Digest()
177 lock_held = B_FALSE; in C_Digest()
178 SES_REFRELE(session_p, lock_held); in C_Digest()
[all …]
H A DsoftDecrypt.c42 boolean_t lock_held = B_FALSE; in C_DecryptInit() local
69 lock_held = B_TRUE; in C_DecryptInit()
74 soft_crypt_cleanup(session_p, B_FALSE, lock_held); in C_DecryptInit()
85 lock_held = B_FALSE; in C_DecryptInit()
92 lock_held = B_TRUE; in C_DecryptInit()
98 SES_REFRELE(session_p, lock_held); in C_DecryptInit()
110 boolean_t lock_held = B_FALSE; in C_Decrypt() local
141 lock_held = B_TRUE; in C_Decrypt()
145 SES_REFRELE(session_p, lock_held); in C_Decrypt()
160 SES_REFRELE(session_p, lock_held); in C_Decrypt()
[all …]
H A DsoftEncrypt.c44 boolean_t lock_held = B_FALSE; in C_EncryptInit() local
71 lock_held = B_TRUE; in C_EncryptInit()
76 soft_crypt_cleanup(session_p, B_TRUE, lock_held); in C_EncryptInit()
87 lock_held = B_FALSE; in C_EncryptInit()
94 lock_held = B_TRUE; in C_EncryptInit()
100 SES_REFRELE(session_p, lock_held); in C_EncryptInit()
112 boolean_t lock_held = B_FALSE; in C_Encrypt() local
144 lock_held = B_TRUE; in C_Encrypt()
148 SES_REFRELE(session_p, lock_held); in C_Encrypt()
163 SES_REFRELE(session_p, lock_held); in C_Encrypt()
[all …]
H A DsoftSign.c42 boolean_t lock_held = B_FALSE; in C_SignInit() local
70 lock_held = B_TRUE; in C_SignInit()
85 lock_held = B_FALSE; in C_SignInit()
92 lock_held = B_TRUE; in C_SignInit()
98 SES_REFRELE(session_p, lock_held); in C_SignInit()
110 boolean_t lock_held = B_FALSE; in C_Sign() local
126 lock_held = B_TRUE; in C_Sign()
130 SES_REFRELE(session_p, lock_held); in C_Sign()
145 SES_REFRELE(session_p, lock_held); in C_Sign()
150 lock_held = B_FALSE; in C_Sign()
[all …]
H A DsoftVerify.c42 boolean_t lock_held = B_FALSE; in C_VerifyInit() local
70 lock_held = B_TRUE; in C_VerifyInit()
85 lock_held = B_FALSE; in C_VerifyInit()
92 lock_held = B_TRUE; in C_VerifyInit()
98 SES_REFRELE(session_p, lock_held); in C_VerifyInit()
110 boolean_t lock_held = B_FALSE; in C_Verify() local
126 lock_held = B_TRUE; in C_Verify()
130 SES_REFRELE(session_p, lock_held); in C_Verify()
145 SES_REFRELE(session_p, lock_held); in C_Verify()
150 lock_held = B_FALSE; in C_Verify()
[all …]
H A DsoftObject.c47 boolean_t lock_held = B_FALSE; in C_CreateObject() local
74 SES_REFRELE(session_p, lock_held); in C_CreateObject()
86 boolean_t lock_held = B_FALSE; in C_CopyObject() local
177 SES_REFRELE(session_p, lock_held); in C_CopyObject()
193 SES_REFRELE(session_p, lock_held); in C_CopyObject()
204 SES_REFRELE(session_p, lock_held); in C_CopyObject()
215 boolean_t lock_held = B_FALSE; in C_DestroyObject() local
229 SES_REFRELE(session_p, lock_held); in C_DestroyObject()
244 SES_REFRELE(session_p, lock_held); in C_DestroyObject()
250 SES_REFRELE(session_p, lock_held); in C_DestroyObject()
[all …]
H A DsoftSession.c77 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
296 SES_REFRELE(session_p, lock_held); in C_SetOperationState()
[all …]
H A DsoftKeys.c40 boolean_t lock_held = B_FALSE; in C_GenerateKey() local
64 SES_REFRELE(session_p, lock_held); in C_GenerateKey()
79 boolean_t lock_held = B_FALSE; in C_GenerateKeyPair() local
112 SES_REFRELE(session_p, lock_held); in C_GenerateKeyPair()
125 boolean_t lock_held = B_FALSE; in C_WrapKey() local
179 lock_held = B_TRUE; in C_WrapKey()
187 soft_crypt_cleanup(session_p, B_TRUE, lock_held); in C_WrapKey()
194 lock_held = B_FALSE; in C_WrapKey()
201 lock_held = B_TRUE; in C_WrapKey()
206 soft_crypt_cleanup(session_p, B_TRUE, lock_held); in C_WrapKey()
[all …]
H A DsoftKeystoreUtil.h81 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 DsoftRand.c41 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 DsoftKeystoreUtil.c585 boolean_t lock_held) in open_and_lock_keystore_desc() argument
608 if (lock_held) { in open_and_lock_keystore_desc()
678 boolean_t lock_held) in open_and_lock_object_file() argument
698 if (lock_held) { in open_and_lock_object_file()
793 ks_obj_t **result_obj_list, boolean_t lock_held) in get_all_objs_in_dir() argument
805 rv = soft_keystore_get_single_obj(ks_handle, &obj, lock_held); in get_all_objs_in_dir()
1032 soft_keystore_get_version(uint_t *version, boolean_t lock_held) in soft_keystore_get_version() argument
1038 B_FALSE, lock_held)) < 0) { in soft_keystore_get_version()
1055 if (!lock_held) { in soft_keystore_get_version()
1086 uint_t *version, boolean_t lock_held) in soft_keystore_get_object_version() argument
[all …]
H A DsoftSession.h160 #define SES_REFRELE(s, lock_held) { \ argument
161 if (!lock_held) \
194 boolean_t force, boolean_t lock_held);
H A DsoftSlotToken.c518 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 DsoftObjectUtil.c570 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 DsoftDigestUtil.c515 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 DsoftSignUtil.c496 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 DsoftEncryptUtil.c647 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 DsoftSessionUtil.c250 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 DsoftObject.h786 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 Damd_iommu_cmd.c197 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 Damd_iommu_impl.h481 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 DkernelSession.h170 boolean_t lock_held, boolean_t wrapper_only);
H A DkernelObject.h532 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 Discsi_conn.c970 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 Dip6_ire.c877 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()

12