Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/irdma/
H A Dvirtchnl.c101 switch (vchnl_req->vchnl_msg->op_code) { in irdma_vchnl_req_verify_resp()
127 kfree(vchnl_req->vchnl_msg); in irdma_free_vchnl_req_msg()
133 struct irdma_vchnl_op_buf *vchnl_msg; in irdma_alloc_vchnl_req_msg() local
135 vchnl_msg = kzalloc(IRDMA_VCHNL_MAX_MSG_SIZE, GFP_KERNEL); in irdma_alloc_vchnl_req_msg()
137 if (!vchnl_msg) in irdma_alloc_vchnl_req_msg()
140 vchnl_msg->op_ctx = (uintptr_t)vchnl_req; in irdma_alloc_vchnl_req_msg()
141 vchnl_msg->buf_len = sizeof(*vchnl_msg) + info->req_parm_len; in irdma_alloc_vchnl_req_msg()
143 memcpy(vchnl_msg->buf, info->req_parm, info->req_parm_len); in irdma_alloc_vchnl_req_msg()
144 vchnl_msg->op_code = info->op_code; in irdma_alloc_vchnl_req_msg()
145 vchnl_msg->op_ver = info->op_ver; in irdma_alloc_vchnl_req_msg()
[all …]
H A Dvirtchnl.h141 struct irdma_vchnl_op_buf *vchnl_msg; member