Home
last modified time | relevance | path

Searched refs:ses_lock_held (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelDigest.c41 boolean_t ses_lock_held = B_FALSE; in common_digest_init() local
69 ses_lock_held = B_TRUE; in common_digest_init()
84 REFRELE(session_p, ses_lock_held); in common_digest_init()
90 ses_lock_held = B_FALSE; in common_digest_init()
115 ses_lock_held = B_TRUE; in common_digest_init()
122 REFRELE(session_p, ses_lock_held); in common_digest_init()
130 REFRELE(session_p, ses_lock_held); in common_digest_init()
146 boolean_t ses_lock_held = B_FALSE; in C_Digest() local
168 ses_lock_held = B_TRUE; in C_Digest()
177 REFRELE(session_p, ses_lock_held); in C_Digest()
[all …]
H A DkernelVerify.c43 boolean_t ses_lock_held = B_FALSE; in C_VerifyInit() local
68 REFRELE(session_p, ses_lock_held); in C_VerifyInit()
79 ses_lock_held = B_TRUE; in C_VerifyInit()
128 ses_lock_held = B_FALSE; in C_VerifyInit()
168 ses_lock_held = B_TRUE; in C_VerifyInit()
173 REFRELE(session_p, ses_lock_held); in C_VerifyInit()
185 boolean_t ses_lock_held = B_FALSE; in C_Verify() local
198 ses_lock_held = B_TRUE; in C_Verify()
202 REFRELE(session_p, ses_lock_held); in C_Verify()
217 REFRELE(session_p, ses_lock_held); in C_Verify()
[all …]
H A DkernelSign.c42 boolean_t ses_lock_held = B_FALSE; in C_SignInit() local
68 REFRELE(session_p, ses_lock_held); in C_SignInit()
79 ses_lock_held = B_TRUE; in C_SignInit()
88 ses_lock_held = B_FALSE; in C_SignInit()
164 ses_lock_held = B_TRUE; in C_SignInit()
169 REFRELE(session_p, ses_lock_held); in C_SignInit()
181 boolean_t ses_lock_held = B_FALSE; in C_Sign() local
199 ses_lock_held = B_TRUE; in C_Sign()
203 REFRELE(session_p, ses_lock_held); in C_Sign()
218 REFRELE(session_p, ses_lock_held); in C_Sign()
[all …]
H A DkernelDecrypt.c46 boolean_t ses_lock_held = B_FALSE; in kernel_decrypt_init() local
60 ses_lock_held = B_TRUE; in kernel_decrypt_init()
107 ses_lock_held = B_FALSE; in kernel_decrypt_init()
133 if (!ses_lock_held) { in kernel_decrypt_init()
135 ses_lock_held = B_TRUE; in kernel_decrypt_init()
141 if (ses_lock_held) { in kernel_decrypt_init()
143 ses_lock_held = B_FALSE; in kernel_decrypt_init()
157 boolean_t ses_lock_held = B_FALSE; in C_DecryptInit() local
178 REFRELE(session_p, ses_lock_held); in C_DecryptInit()
192 boolean_t ses_lock_held = B_FALSE; in kernel_decrypt() local
[all …]
H A DkernelEncrypt.c44 boolean_t ses_lock_held = B_FALSE; in C_EncryptInit() local
69 REFRELE(session_p, ses_lock_held); in C_EncryptInit()
80 ses_lock_held = B_TRUE; in C_EncryptInit()
126 ses_lock_held = B_FALSE; in C_EncryptInit()
156 ses_lock_held = B_TRUE; in C_EncryptInit()
161 REFRELE(session_p, ses_lock_held); in C_EncryptInit()
173 boolean_t ses_lock_held = B_FALSE; in C_Encrypt() local
203 ses_lock_held = B_TRUE; in C_Encrypt()
207 REFRELE(session_p, ses_lock_held); in C_Encrypt()
222 REFRELE(session_p, ses_lock_held); in C_Encrypt()
[all …]
H A DkernelObject.c49 boolean_t ses_lock_held = B_FALSE; in C_CreateObject() local
74 REFRELE(session_p, ses_lock_held); in C_CreateObject()
88 boolean_t ses_lock_held = B_FALSE; in C_CopyObject() local
121 REFRELE(session_p, ses_lock_held); in C_CopyObject()
143 REFRELE(session_p, ses_lock_held); in C_CopyObject()
163 REFRELE(session_p, ses_lock_held); in C_CopyObject()
176 REFRELE(session_p, ses_lock_held); in C_CopyObject()
190 REFRELE(session_p, ses_lock_held); in C_CopyObject()
268 REFRELE(session_p, ses_lock_held); in C_CopyObject()
280 REFRELE(session_p, ses_lock_held); in C_CopyObject()
[all …]
H A DkernelRand.c40 boolean_t ses_lock_held = B_FALSE; in C_SeedRandom() local
53 REFRELE(session_p, ses_lock_held); in C_SeedRandom()
76 REFRELE(session_p, ses_lock_held); in C_SeedRandom()
86 boolean_t ses_lock_held = B_FALSE; in C_GenerateRandom() local
99 REFRELE(session_p, ses_lock_held); in C_GenerateRandom()
123 REFRELE(session_p, ses_lock_held); in C_GenerateRandom()
H A DkernelSession.c86 boolean_t ses_lock_held = B_FALSE; in C_CloseSession() local
100 ses_lock_held = B_TRUE; in C_CloseSession()
107 REFRELE(session_p, ses_lock_held); in C_CloseSession()
117 REFRELE(session_p, ses_lock_held); in C_CloseSession()
181 boolean_t ses_lock_held = B_FALSE; in C_GetSessionInfo() local
206 REFRELE(session_p, ses_lock_held); in C_GetSessionInfo()
312 boolean_t ses_lock_held = B_TRUE; in C_GetOperationState() local
334 REFRELE(session_p, ses_lock_held); in C_GetOperationState()
413 boolean_t ses_lock_held = B_TRUE; in C_SetOperationState() local
434 REFRELE(session_p, ses_lock_held); in C_SetOperationState()
[all …]
H A DkernelSession.h143 #define REFRELE(s, ses_lock_held) { \ argument
144 if (!ses_lock_held) \
H A DkernelKeys.c372 boolean_t ses_lock_held = B_FALSE; in C_GenerateKey() local
502 REFRELE(session_p, ses_lock_held); in C_GenerateKey()
510 REFRELE(session_p, ses_lock_held); in C_GenerateKey()
1412 boolean_t ses_lock_held = B_FALSE; in C_GenerateKeyPair() local
1639 REFRELE(session_p, ses_lock_held); in C_GenerateKeyPair()
1649 REFRELE(session_p, ses_lock_held); in C_GenerateKeyPair()
1661 boolean_t ses_lock_held = B_FALSE; in C_WrapKey() local
1686 REFRELE(session_p, ses_lock_held); in C_WrapKey()
1693 REFRELE(session_p, ses_lock_held); in C_WrapKey()
1701 REFRELE(session_p, ses_lock_held); in C_WrapKey()
[all …]
H A DkernelSlotToken.c414 boolean_t ses_lock_held = B_FALSE; in C_SetPIN() local
432 REFRELE(session_p, ses_lock_held); in C_SetPIN()
438 ses_lock_held = B_TRUE; in C_SetPIN()
456 REFRELE(session_p, ses_lock_held); in C_SetPIN()
H A DkernelObjectUtil.c466 boolean_t ses_lock_held, boolean_t wrapper_only) in kernel_delete_session_object() argument
475 if (!ses_lock_held) { in kernel_delete_session_object()
482 if (!ses_lock_held) { in kernel_delete_session_object()