Home
last modified time | relevance | path

Searched refs:req_idr (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/crypto/hisilicon/sec2/
Dsec.h120 struct idr req_idr; member
Dsec_crypto.c141 req_id = idr_alloc_cyclic(&qp_ctx->req_idr, NULL, 0, qp_ctx->qp->sq_depth, GFP_ATOMIC); in sec_alloc_req_id()
168 idr_remove(&qp_ctx->req_idr, req_id); in sec_free_req_id()
558 idr_init(&qp_ctx->req_idr); in sec_create_qp_ctx()
574 idr_destroy(&qp_ctx->req_idr); in sec_create_qp_ctx()
583 idr_destroy(&qp_ctx->req_idr); in sec_release_qp_ctx()
/Linux-v6.6/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c122 struct idr req_idr; member
166 id = idr_alloc(&ctx->req_idr, NULL, 0, ctx->qp->sq_depth, GFP_ATOMIC); in hpre_alloc_req_id()
177 idr_remove(&ctx->req_idr, req_id); in hpre_free_req_id()
397 idr_init(&ctx->req_idr); in hpre_ctx_set()
405 idr_destroy(&ctx->req_idr); in hpre_ctx_clear()