Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
Dsec.h105 struct idr req_idr; member
Dsec_crypto.c94 req_id = idr_alloc_cyclic(&qp_ctx->req_idr, NULL, in sec_alloc_req_id()
121 idr_remove(&qp_ctx->req_idr, req_id); in sec_free_req_id()
387 idr_init(&qp_ctx->req_idr); in sec_create_qp_ctx()
421 idr_destroy(&qp_ctx->req_idr); in sec_create_qp_ctx()
437 idr_destroy(&qp_ctx->req_idr); in sec_release_qp_ctx()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c79 struct idr req_idr; member
107 id = idr_alloc(&ctx->req_idr, NULL, 0, QM_Q_DEPTH, GFP_ATOMIC); in hpre_alloc_req_id()
118 idr_remove(&ctx->req_idr, req_id); in hpre_free_req_id()
332 idr_init(&ctx->req_idr); in hpre_ctx_set()
340 idr_destroy(&ctx->req_idr); in hpre_ctx_clear()