Searched refs:kc_lock (Results 1 – 6 of 6) sorted by relevance
65 mutex_init(&cbufp->kc_lock, NULL, MUTEX_DEFAULT, NULL); in crypto_bufcall_alloc()86 mutex_enter(&cbufp->kc_lock); in crypto_bufcall_free()88 mutex_exit(&cbufp->kc_lock); in crypto_bufcall_free()91 mutex_exit(&cbufp->kc_lock); in crypto_bufcall_free()93 mutex_destroy(&cbufp->kc_lock); in crypto_bufcall_free()117 mutex_enter(&cbufp->kc_lock); in crypto_bufcall()119 mutex_exit(&cbufp->kc_lock); in crypto_bufcall()142 mutex_exit(&cbufp->kc_lock); in crypto_bufcall()160 mutex_enter(&cbufp->kc_lock); in crypto_unbufcall()184 cv_wait(&cbufp->kc_cv, &cbufp->kc_lock); in crypto_unbufcall()[all …]
541 mutex_enter(&ctx->kc_lock); in kcpc_unbind()543 mutex_exit(&ctx->kc_lock); in kcpc_unbind()908 mutex_destroy(&ctx->kc_lock); in kcpc_ctx_free()1270 mutex_enter(&ctx->kc_lock); in kcpc_restore()1283 mutex_exit(&ctx->kc_lock); in kcpc_restore()1297 mutex_exit(&ctx->kc_lock); in kcpc_restore()1313 mutex_enter(&ctx->kc_lock); in kcpc_restore()1316 mutex_exit(&ctx->kc_lock); in kcpc_restore()1474 mutex_enter(&ctx->kc_lock); in kcpc_free()1476 cv_wait(&ctx->kc_condv, &ctx->kc_lock); in kcpc_free()[all …]
531 mutex_destroy(&kc->kc_lock); in keysock_close()609 mutex_init(&kc->kc_lock, NULL, MUTEX_DEFAULT, 0); in keysock_open()632 mutex_destroy(&kc->kc_lock); in keysock_open()1361 mutex_enter(&keystack->keystack_consumers[i]->kc_lock); in keysock_do_flushdump()1366 mutex_exit(&(keystack->keystack_consumers[i]->kc_lock)); in keysock_do_flushdump()1920 mutex_enter(&kc->kc_lock); in keysock_link_consumer()1929 mutex_exit(&kc->kc_lock); in keysock_link_consumer()1937 mutex_exit(&kc->kc_lock); in keysock_link_consumer()2325 mutex_enter(&kc->kc_lock); in keysock_rput()2327 mutex_exit(&kc->kc_lock); in keysock_rput()
139 kmutex_t kc_lock; /* Protects instance. */ member
142 kmutex_t kc_lock; /* protects kc_flags */ member
403 kmutex_t kc_lock; member