Lines Matching defs:drep_msg
2739 static void cm_format_drep(struct cm_drep_msg *drep_msg,
2744 cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, cm_id_priv->tid);
2745 IBA_SET(CM_DREP_LOCAL_COMM_ID, drep_msg,
2747 IBA_SET(CM_DREP_REMOTE_COMM_ID, drep_msg,
2751 IBA_SET_MEM(CM_DREP_PRIVATE_DATA, drep_msg, private_data,
2816 struct cm_drep_msg *drep_msg;
2824 drep_msg = (struct cm_drep_msg *) msg->mad;
2826 cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, dreq_msg->hdr.tid);
2827 IBA_SET(CM_DREP_REMOTE_COMM_ID, drep_msg,
2829 IBA_SET(CM_DREP_LOCAL_COMM_ID, drep_msg,
2919 struct cm_drep_msg *drep_msg;
2921 drep_msg = (struct cm_drep_msg *)work->mad_recv_wc->recv_buf.mad;
2923 cpu_to_be32(IBA_GET(CM_DREP_REMOTE_COMM_ID, drep_msg)),
2924 cpu_to_be32(IBA_GET(CM_DREP_LOCAL_COMM_ID, drep_msg)));
2929 IBA_GET_MEM_PTR(CM_DREP_PRIVATE_DATA, drep_msg);