Lines Matching refs:mad_buf

113 	struct ib_mad_send_buf *mad_buf;  member
706 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs()
707 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs()
713 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs()
802 mad = query->mad_buf->mad; in ib_nl_make_request()
890 mad = query->mad_buf->mad; in ib_nl_process_good_resolve_rsp()
952 mad_send_wc.send_buf = query->mad_buf; in ib_nl_process_good_resolve_rsp()
954 send_handler(query->mad_buf->mad_agent, &mad_send_wc); in ib_nl_process_good_resolve_rsp()
984 ret = ib_post_send_mad(query->mad_buf, NULL); in ib_nl_request_timeout()
986 mad_send_wc.send_buf = query->mad_buf; in ib_nl_request_timeout()
1106 send_buf = query->mad_buf; in ib_nl_handle_resolve_resp()
1111 ret = ib_post_send_mad(query->mad_buf, NULL); in ib_nl_handle_resolve_resp()
1161 struct ib_mad_send_buf *mad_buf; in ib_sa_cancel_query() local
1168 mad_buf = query->mad_buf; in ib_sa_cancel_query()
1177 ib_cancel_mad(mad_buf); in ib_sa_cancel_query()
1298 query->mad_buf = ib_create_send_mad(query->port->agent, 1, in alloc_mad()
1305 if (IS_ERR(query->mad_buf)) { in alloc_mad()
1310 query->mad_buf->ah = query->sm_ah->ah; in alloc_mad()
1317 ib_free_send_mad(query->mad_buf); in free_mad()
1323 struct ib_sa_mad *mad = query->mad_buf->mad; in init_mad()
1355 query->mad_buf->timeout_ms = timeout_ms / nmbr_sa_query_retries; in send_mad()
1356 query->mad_buf->retries = nmbr_sa_query_retries; in send_mad()
1357 if (!query->mad_buf->timeout_ms) { in send_mad()
1359 query->mad_buf->timeout_ms = 1; in send_mad()
1360 query->mad_buf->retries = timeout_ms; in send_mad()
1362 query->mad_buf->context[0] = query; in send_mad()
1374 ret = ib_post_send_mad(query->mad_buf, NULL); in send_mad()
1634 mad = query->sa_query.mad_buf->mad; in ib_sa_path_rec_get()
1658 query->sa_query.mad_buf->context[1] = (query->conv_pr) ? in ib_sa_path_rec_get()
1740 mad = query->sa_query.mad_buf->mad; in ib_sa_mcmember_rec_query()
1837 mad = query->sa_query.mad_buf->mad; in ib_sa_guid_info_rec_query()
1968 mad = query->sa_query.mad_buf->mad; in ib_sa_classport_info_rec_query()