Home
last modified time | relevance | path

Searched refs:refcnt (Results 1 – 5 of 5) sorted by relevance

/crypto/
Dcryptd.c66 refcount_t refcnt; member
75 refcount_t refcnt; member
85 refcount_t refcnt; member
130 refcount_t *refcnt; in cryptd_enqueue_request() local
136 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() local
279 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 …]
Dalgif_skcipher.c218 if (ask->refcnt) in skcipher_check_key()
230 if (!pask->refcnt++) in skcipher_check_key()
233 ask->refcnt = 1; in skcipher_check_key()
Dalgif_hash.c304 if (ask->refcnt) in hash_check_key()
316 if (!pask->refcnt++) in hash_check_key()
319 ask->refcnt = 1; in hash_check_key()
Dalgif_aead.c387 if (ask->refcnt) in aead_check_key()
399 if (!pask->refcnt++) in aead_check_key()
402 ask->refcnt = 1; in aead_check_key()
Daf_alg.c132 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()