Lines Matching refs:ctx_lock
17 spinlock_t ctx_lock; member
116 spin_lock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
122 spin_unlock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
127 spin_unlock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
134 spin_unlock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
138 spin_lock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
140 spin_unlock(&ctx_list.ctx_lock); in ksmbd_find_crypto_ctx()
155 spin_lock(&ctx_list.ctx_lock); in ksmbd_release_crypto_ctx()
158 spin_unlock(&ctx_list.ctx_lock); in ksmbd_release_crypto_ctx()
164 spin_unlock(&ctx_list.ctx_lock); in ksmbd_release_crypto_ctx()
256 spin_lock_init(&ctx_list.ctx_lock); in ksmbd_crypto_create()