Searched refs:req_idr (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/crypto/hisilicon/sec2/ |
D | sec.h | 120 struct idr req_idr; member
|
D | sec_crypto.c | 144 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/ |
D | hpre_crypto.c | 125 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()
|