Home
last modified time | relevance | path

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

/crypto/
Dcryptd.c70 refcount_t refcnt; member
80 refcount_t refcnt; member
90 refcount_t refcnt; member
135 refcount_t *refcnt; in cryptd_enqueue_request() local
141 refcnt = crypto_tfm_ctx(request->tfm); in cryptd_enqueue_request()
148 if (!refcount_read(refcnt)) in cryptd_enqueue_request()
151 refcount_inc(refcnt); in cryptd_enqueue_request()
245 int refcnt = refcount_read(&ctx->refcnt); in cryptd_skcipher_complete() local
251 if (err != -EINPROGRESS && refcnt && refcount_dec_and_test(&ctx->refcnt)) in cryptd_skcipher_complete()
483 int refcnt = refcount_read(&ctx->refcnt); in cryptd_hash_complete() local
[all …]
Daf_alg.c140 if (atomic_dec_and_test(&ask->refcnt)) in af_alg_release_parent()
189 if (atomic_read(&ask->refcnt)) in alg_bind()
237 if (atomic_read(&ask->refcnt) != atomic_read(&ask->nokey_refcnt)) in alg_setsockopt()
315 if (atomic_inc_return_relaxed(&ask->refcnt) == 1) in af_alg_accept()