Lines Matching defs:mad_buf
80 struct ib_mad_send_buf *mad_buf;
457 struct ib_mad_send_buf *mad_buf;
465 mad_buf = query->mad_buf;
468 ib_cancel_mad(agent, mad_buf);
536 query->mad_buf = ib_create_send_mad(query->port->agent, 1,
540 if (IS_ERR(query->mad_buf)) {
545 query->mad_buf->ah = query->sm_ah->ah;
552 ib_free_send_mad(query->mad_buf);
588 query->mad_buf->timeout_ms = timeout_ms;
589 query->mad_buf->context[0] = query;
592 ret = ib_post_send_mad(query->mad_buf, NULL);
698 mad = query->sa_query.mad_buf->mad;
820 mad = query->sa_query.mad_buf->mad;
912 mad = query->sa_query.mad_buf->mad;
977 struct ib_mad_send_buf *mad_buf;
979 mad_buf = (void *) (unsigned long) mad_recv_wc->wc->wr_id;
980 query = mad_buf->context[0];