Home
last modified time | relevance | path

Searched refs:cra_refcnt (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/crypto/
Dinternal.h101 refcount_inc(&alg->cra_refcnt); in crypto_alg_get()
107 if (refcount_dec_and_test(&alg->cra_refcnt) && alg->cra_destroy) in crypto_alg_put()
Dproc.c44 seq_printf(m, "refcnt : %u\n", refcount_read(&alg->cra_refcnt)); in c_show()
Dcrypto_user_base.c113 ualg->cru_refcnt = refcount_read(&alg->cra_refcnt); in crypto_report_one()
323 if (refcount_read(&alg->cra_refcnt) > 2) in crypto_del_alg()
Dalgapi.c61 refcount_set(&alg->cra_refcnt, 1); in crypto_check_alg()
263 refcount_set(&larval->alg.cra_refcnt, 1); in __crypto_register_alg()
459 BUG_ON(refcount_read(&alg->cra_refcnt) != 1); in crypto_unregister_alg()
558 BUG_ON(refcount_read(&inst->alg.cra_refcnt) != 1); in crypto_unregister_template()
Dcrypto_user_stat.c193 ualg->cru_refcnt = refcount_read(&alg->cra_refcnt); in crypto_reportstat_one()
Dapi.c135 refcount_set(&larval->alg.cra_refcnt, 2); in crypto_larval_add()
/kernel/linux/linux-5.10/include/linux/
Dcrypto.h479 refcount_t cra_refcnt; member
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c1583 if (refcount_read(&otx_cpt_skciphers[i].base.cra_refcnt) != 1) in is_any_alg_used()
1586 if (refcount_read(&otx_cpt_aeads[i].base.cra_refcnt) != 1) in is_any_alg_used()
/kernel/linux/linux-5.10/drivers/crypto/chelsio/
Dchcr_algo.c4397 &driver_algs[i].alg.skcipher.base.cra_refcnt) in chcr_unregister_alg()
4406 &driver_algs[i].alg.aead.base.cra_refcnt) == 1) { in chcr_unregister_alg()
4414 &driver_algs[i].alg.hash.halg.base.cra_refcnt) in chcr_unregister_alg()