Searched refs:refcnt (Results 1 – 5 of 5) sorted by relevance
66 refcount_t refcnt; member75 refcount_t refcnt; member85 refcount_t refcnt; member130 refcount_t *refcnt; in cryptd_enqueue_request() local136 refcnt = crypto_tfm_ctx(request->tfm); in cryptd_enqueue_request()143 if (!refcount_read(refcnt)) in cryptd_enqueue_request()146 refcount_inc(refcnt); in cryptd_enqueue_request()273 int refcnt = refcount_read(&ctx->refcnt); in cryptd_skcipher_complete() local279 if (err != -EINPROGRESS && refcnt && refcount_dec_and_test(&ctx->refcnt)) in cryptd_skcipher_complete()524 int refcnt = refcount_read(&ctx->refcnt); in cryptd_hash_complete() local[all …]
218 if (ask->refcnt) in skcipher_check_key()230 if (!pask->refcnt++) in skcipher_check_key()233 ask->refcnt = 1; in skcipher_check_key()
304 if (ask->refcnt) in hash_check_key()316 if (!pask->refcnt++) in hash_check_key()319 ask->refcnt = 1; in hash_check_key()
387 if (ask->refcnt) in aead_check_key()399 if (!pask->refcnt++) in aead_check_key()402 ask->refcnt = 1; in aead_check_key()
132 bool last = nokey && !ask->refcnt; in af_alg_release_parent()141 last = !--ask->refcnt; in af_alg_release_parent()190 if (ask->refcnt | ask->nokey_refcnt) in alg_bind()239 if (ask->refcnt) in alg_setsockopt()304 if (nokey || !ask->refcnt++) in af_alg_accept()