Lines Matching refs:reply
138 struct c2wr_qp_modify_rep *reply; in c2_qp_modify() local
217 reply = (struct c2wr_qp_modify_rep *) (unsigned long) vq_req->reply_msg; in c2_qp_modify()
218 if (!reply) { in c2_qp_modify()
223 err = c2_errno(reply); in c2_qp_modify()
242 vq_repbuf_free(c2dev, reply); in c2_qp_modify()
257 struct c2wr_qp_modify_rep *reply; in c2_qp_set_read_limits() local
288 reply = (struct c2wr_qp_modify_rep *) (unsigned long) in c2_qp_set_read_limits()
290 if (!reply) { in c2_qp_set_read_limits()
295 err = c2_errno(reply); in c2_qp_set_read_limits()
296 vq_repbuf_free(c2dev, reply); in c2_qp_set_read_limits()
306 struct c2wr_qp_destroy_rep *reply; in destroy_qp() local
362 reply = (struct c2wr_qp_destroy_rep *) (unsigned long) (vq_req->reply_msg); in destroy_qp()
363 if (!reply) { in destroy_qp()
375 vq_repbuf_free(c2dev, reply); in destroy_qp()
420 struct c2wr_qp_create_rep *reply; in c2_alloc_qp() local
495 reply = (struct c2wr_qp_create_rep *) (unsigned long) (vq_req->reply_msg); in c2_alloc_qp()
496 if (!reply) { in c2_alloc_qp()
501 if ((err = c2_wr_get_result(reply)) != 0) { in c2_alloc_qp()
507 qp->adapter_handle = reply->qp_handle; in c2_alloc_qp()
515 q_size = be32_to_cpu(reply->sq_depth); in c2_alloc_qp()
516 msg_size = be32_to_cpu(reply->sq_msg_size); in c2_alloc_qp()
517 peer_pa = c2dev->pa + be32_to_cpu(reply->sq_mq_start); in c2_alloc_qp()
526 be32_to_cpu(reply->sq_mq_index), in c2_alloc_qp()
534 q_size = be32_to_cpu(reply->rq_depth); in c2_alloc_qp()
535 msg_size = be32_to_cpu(reply->rq_msg_size); in c2_alloc_qp()
536 peer_pa = c2dev->pa + be32_to_cpu(reply->rq_mq_start); in c2_alloc_qp()
545 be32_to_cpu(reply->rq_mq_index), in c2_alloc_qp()
552 vq_repbuf_free(c2dev, reply); in c2_alloc_qp()
562 vq_repbuf_free(c2dev, reply); in c2_alloc_qp()