Lines Matching refs:send_buf
91 struct ib_mad_send_buf *send_buf;
116 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0,
121 if (IS_ERR(send_buf)) {
126 memcpy(send_buf->mad, mad_hdr, resp_mad_len);
127 send_buf->ah = ah;
130 mad_send_wr = container_of(send_buf,
132 send_buf);
136 if (ib_post_send_mad(send_buf, NULL)) {
142 ib_free_send_mad(send_buf);
150 ib_destroy_ah(mad_send_wc->send_buf->ah);
151 ib_free_send_mad(mad_send_wc->send_buf);