Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/hisilicon/sec2/
Dsec.h120 struct idr req_idr; member
Dsec_crypto.c144 req_id = idr_alloc_cyclic(&qp_ctx->req_idr, NULL, 0, qp_ctx->qp->sq_depth, GFP_ATOMIC); in sec_alloc_req_id()
171 idr_remove(&qp_ctx->req_idr, req_id); in sec_free_req_id()
561 idr_init(&qp_ctx->req_idr); in sec_create_qp_ctx()
577 idr_destroy(&qp_ctx->req_idr); in sec_create_qp_ctx()
586 idr_destroy(&qp_ctx->req_idr); in sec_release_qp_ctx()
/linux-6.12.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c125 struct idr req_idr; member
169 id = idr_alloc(&ctx->req_idr, NULL, 0, ctx->qp->sq_depth, GFP_ATOMIC); in hpre_alloc_req_id()
180 idr_remove(&ctx->req_idr, req_id); in hpre_free_req_id()
400 idr_init(&ctx->req_idr); in hpre_ctx_set()
408 idr_destroy(&ctx->req_idr); in hpre_ctx_clear()