Home
last modified time | relevance | path

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

/linux/crypto/
H A Dinternal.h146 refcount_inc(&alg->cra_refcnt); in crypto_alg_get()
152 if (refcount_dec_and_test(&alg->cra_refcnt) && alg->cra_destroy) in crypto_alg_put()
H A Dproc.c45 seq_printf(m, "refcnt : %u\n", refcount_read(&alg->cra_refcnt)); in c_show()
H A Dalgapi.c62 refcount_set(&alg->cra_refcnt, 1); in crypto_check_alg()
279 refcount_set(&larval->alg.cra_refcnt, 1); in crypto_alloc_test_larval()
461 if (WARN_ON(refcount_read(&alg->cra_refcnt) != 1)) in crypto_unregister_alg()
562 BUG_ON(refcount_read(&inst->alg.cra_refcnt) != 1); in crypto_unregister_template()
H A Dcrypto_user.c112 ualg->cru_refcnt = refcount_read(&alg->cra_refcnt); in crypto_report_one()
322 if (refcount_read(&alg->cra_refcnt) > 2) in crypto_del_alg()
H A Dapi.c135 refcount_set(&larval->alg.cra_refcnt, 2); in crypto_larval_add()
/linux/include/linux/
H A Dcrypto.h353 refcount_t cra_refcnt; member
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c1487 if (refcount_read(&otx_cpt_skciphers[i].base.cra_refcnt) != 1) in is_any_alg_used()
1490 if (refcount_read(&otx_cpt_aeads[i].base.cra_refcnt) != 1) in is_any_alg_used()