Lines Matching refs:mad
117 struct ib_rmpp_mad *ack = msg->mad;
139 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class);
146 format_ack(msg, (struct ib_rmpp_mad *) recv_wc->recv_buf.mad, rmpp_recv);
165 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class);
190 rmpp_mad = msg->mad;
191 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len);
223 rmpp_mad = msg->mad;
224 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len);
312 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr;
330 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr;
376 rmpp_mad = (struct ib_rmpp_mad *) seg->mad;
384 rmpp_mad = (struct ib_rmpp_mad *) seg->mad;
435 rmpp_mad = (struct ib_rmpp_mad *)rmpp_recv->cur_seg_buf->mad;
567 rmpp_mad = mad_send_wr->send_buf.mad;
649 rmpp_mad = (struct ib_rmpp_mad *)mad_recv_wc->recv_buf.mad;
742 rmpp_hdr = &((struct ib_rmpp_mad *)mad_recv_wc->recv_buf.mad)->rmpp_hdr;
773 rmpp_mad = (struct ib_rmpp_mad *)mad_recv_wc->recv_buf.mad;
787 rmpp_mad = (struct ib_rmpp_mad *)mad_recv_wc->recv_buf.mad;
803 rmpp_mad = (struct ib_rmpp_mad *)mad_recv_wc->recv_buf.mad;
838 struct ib_mad_hdr *mad_hdr = mad_send_wr->send_buf.mad;
873 rmpp_mad = mad_send_wr->send_buf.mad;
899 rmpp_mad = mad_send_wr->send_buf.mad;
937 rmpp_mad = mad_send_wr->send_buf.mad;