Lines Matching refs:send_buf
354 struct ib_mad_send_buf *send_buf;
360 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR,
362 if (IS_ERR(send_buf))
371 memcpy(send_buf->mad, mad, sizeof *mad);
372 if ((send_buf->ah = dev->sm_ah[port_num - 1]))
373 ret = ib_post_send_mad(send_buf, NULL);
379 ib_free_send_mad(send_buf);
1043 if (mad_send_wc->send_buf->context[0])
1044 ib_destroy_ah(mad_send_wc->send_buf->context[0]);
1045 ib_free_send_mad(mad_send_wc->send_buf);