Searched refs:cra_refcnt (Results 1 – 9 of 9) sorted by relevance
118 refcount_inc(&alg->cra_refcnt); in crypto_alg_get()124 if (refcount_dec_and_test(&alg->cra_refcnt) && alg->cra_destroy) in crypto_alg_put()
44 seq_printf(m, "refcnt : %u\n", refcount_read(&alg->cra_refcnt)); in c_show()
113 ualg->cru_refcnt = refcount_read(&alg->cra_refcnt); in crypto_report_one()323 if (refcount_read(&alg->cra_refcnt) > 2) in crypto_del_alg()
67 refcount_set(&alg->cra_refcnt, 1); in crypto_check_alg()243 refcount_set(&larval->alg.cra_refcnt, 1); in crypto_alloc_test_larval()475 BUG_ON(refcount_read(&alg->cra_refcnt) != 1); in crypto_unregister_alg()574 BUG_ON(refcount_read(&inst->alg.cra_refcnt) != 1); in crypto_unregister_template()
193 ualg->cru_refcnt = refcount_read(&alg->cra_refcnt); in crypto_reportstat_one()
134 refcount_set(&larval->alg.cra_refcnt, 2); in crypto_larval_add()
488 refcount_t cra_refcnt; member
1584 if (refcount_read(&otx_cpt_skciphers[i].base.cra_refcnt) != 1) in is_any_alg_used()1587 if (refcount_read(&otx_cpt_aeads[i].base.cra_refcnt) != 1) in is_any_alg_used()
4391 &driver_algs[i].alg.skcipher.base.cra_refcnt) in chcr_unregister_alg()4400 &driver_algs[i].alg.aead.base.cra_refcnt) == 1) { in chcr_unregister_alg()4408 &driver_algs[i].alg.hash.halg.base.cra_refcnt) in chcr_unregister_alg()