Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/irdma/
H A Dvirtchnl.c98 static int irdma_vchnl_req_verify_resp(struct irdma_vchnl_req *vchnl_req, in irdma_vchnl_req_verify_resp() argument
101 switch (vchnl_req->vchnl_msg->op_code) { in irdma_vchnl_req_verify_resp()
105 if (resp_len != vchnl_req->parm_len) in irdma_vchnl_req_verify_resp()
125 static void irdma_free_vchnl_req_msg(struct irdma_vchnl_req *vchnl_req) in irdma_free_vchnl_req_msg() argument
127 kfree(vchnl_req->vchnl_msg); in irdma_free_vchnl_req_msg()
130 static int irdma_alloc_vchnl_req_msg(struct irdma_vchnl_req *vchnl_req, in irdma_alloc_vchnl_req_msg() argument
140 vchnl_msg->op_ctx = (uintptr_t)vchnl_req; in irdma_alloc_vchnl_req_msg()
147 vchnl_req->vchnl_msg = vchnl_msg; in irdma_alloc_vchnl_req_msg()
148 vchnl_req->parm = info->resp_parm; in irdma_alloc_vchnl_req_msg()
149 vchnl_req->parm_len = info->resp_parm_len; in irdma_alloc_vchnl_req_msg()
[all …]