Lines Matching refs:req_id
139 int req_id; member
156 static void hpre_free_req_id(struct hpre_ctx *ctx, int req_id) in hpre_free_req_id() argument
161 idr_remove(&ctx->req_idr, req_id); in hpre_free_req_id()
177 hpre_req->req_id = id; in hpre_add_req_to_ctx()
189 int id = hpre_req->req_id; in hpre_rm_req_from_ctx()
191 if (hpre_req->req_id >= 0) { in hpre_rm_req_from_ctx()
192 hpre_req->req_id = HPRE_INVLD_REQ_ID; in hpre_rm_req_from_ctx()
502 int req_id; in hpre_msg_request_set() local
542 req_id = hpre_add_req_to_ctx(h_req); in hpre_msg_request_set()
543 if (req_id < 0) in hpre_msg_request_set()
546 msg->tag = cpu_to_le16((u16)req_id); in hpre_msg_request_set()
1476 int req_id; in hpre_ecdh_msg_request_set() local
1498 req_id = hpre_add_req_to_ctx(h_req); in hpre_ecdh_msg_request_set()
1499 if (req_id < 0) in hpre_ecdh_msg_request_set()
1502 msg->tag = cpu_to_le16((u16)req_id); in hpre_ecdh_msg_request_set()
1782 int req_id; in hpre_curve25519_msg_request_set() local
1804 req_id = hpre_add_req_to_ctx(h_req); in hpre_curve25519_msg_request_set()
1805 if (req_id < 0) in hpre_curve25519_msg_request_set()
1808 msg->tag = cpu_to_le16((u16)req_id); in hpre_curve25519_msg_request_set()