Lines Matching refs:send_buf
382 struct ib_mad_send_buf *send_buf;
388 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR,
391 if (IS_ERR(send_buf))
400 memcpy(send_buf->mad, mad, sizeof *mad);
401 if ((send_buf->ah = dev->sm_ah[port_num - 1]))
402 ret = ib_post_send_mad(send_buf, NULL);
408 ib_free_send_mad(send_buf);
988 if (mad_send_wc->send_buf->context[0])
989 ib_destroy_ah(mad_send_wc->send_buf->context[0]);
990 ib_free_send_mad(mad_send_wc->send_buf);