Lines Matching defs:apr_msg
2717 static void cm_format_apr(struct cm_apr_msg *apr_msg,
2725 cm_format_mad_hdr(&apr_msg->hdr, CM_APR_ATTR_ID, cm_id_priv->tid);
2726 apr_msg->local_comm_id = cm_id_priv->id.local_id;
2727 apr_msg->remote_comm_id = cm_id_priv->id.remote_id;
2728 apr_msg->ap_status = (u8) status;
2731 apr_msg->info_length = info_length;
2732 memcpy(apr_msg->info, info, info_length);
2736 memcpy(apr_msg->private_data, private_data, private_data_len);
2786 struct cm_apr_msg *apr_msg;
2789 apr_msg = (struct cm_apr_msg *)work->mad_recv_wc->recv_buf.mad;
2790 cm_id_priv = cm_acquire_id(apr_msg->remote_comm_id,
2791 apr_msg->local_comm_id);
2795 work->cm_event.param.apr_rcvd.ap_status = apr_msg->ap_status;
2796 work->cm_event.param.apr_rcvd.apr_info = &apr_msg->info;
2797 work->cm_event.param.apr_rcvd.info_len = apr_msg->info_length;
2798 work->cm_event.private_data = &apr_msg->private_data;