Lines Matching refs:send_buf
87 struct ib_mad_send_buf *send_buf;
109 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0,
112 if (IS_ERR(send_buf)) {
117 memcpy(send_buf->mad, mad, sizeof *mad);
118 send_buf->ah = ah;
121 mad_send_wr = container_of(send_buf,
123 send_buf);
127 if (ib_post_send_mad(send_buf, NULL)) {
133 ib_free_send_mad(send_buf);
141 ib_destroy_ah(mad_send_wc->send_buf->ah);
142 ib_free_send_mad(mad_send_wc->send_buf);