Lines Matching refs:mad
45 int join, union ib_mad *mad ) { in ib_mcast_mad() argument
46 struct ib_mad_sa *sa = &mad->sa; in ib_mcast_mad()
78 int rc, union ib_mad *mad, in ib_mcast_complete() argument
84 &mad->sa.sa_data.mc_member_record; in ib_mcast_complete()
89 if ( ( rc == 0 ) && ( mad->hdr.status != htons ( IB_MGMT_STATUS_OK ) )) in ib_mcast_complete()
98 joined = ( mad->hdr.method == IB_MGMT_METHOD_GET_RESP ); in ib_mcast_complete()
120 membership->complete ( ibdev, qp, membership, rc, mad ); in ib_mcast_complete()
143 int rc, union ib_mad *mad ) ) { in ib_mcast_join() argument
144 union ib_mad mad; in ib_mcast_join() local
165 ib_mcast_mad ( ibdev, gid, 1, &mad ); in ib_mcast_join()
166 membership->madx = ib_create_madx ( ibdev, ibdev->gsi, &mad, NULL, in ib_mcast_join()
195 union ib_mad mad; in ib_mcast_leave() local
213 ib_mcast_mad ( ibdev, &membership->gid, 0, &mad ); in ib_mcast_leave()
214 if ( ( rc = ib_mi_send ( ibdev, ibdev->gsi, &mad, NULL ) ) != 0 ) { in ib_mcast_leave()