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