Lines Matching defs:apr_msg
2531 static void cm_format_apr(struct cm_apr_msg *apr_msg,
2539 cm_format_mad_hdr(&apr_msg->hdr, CM_APR_ATTR_ID, cm_id_priv->tid);
2540 apr_msg->local_comm_id = cm_id_priv->id.local_id;
2541 apr_msg->remote_comm_id = cm_id_priv->id.remote_id;
2542 apr_msg->ap_status = (u8) status;
2545 apr_msg->info_length = info_length;
2546 memcpy(apr_msg->info, info, info_length);
2550 memcpy(apr_msg->private_data, private_data, private_data_len);
2600 struct cm_apr_msg *apr_msg;
2604 apr_msg = (struct cm_apr_msg *)work->mad_recv_wc->recv_buf.mad;
2605 cm_id_priv = cm_acquire_id(apr_msg->remote_comm_id,
2606 apr_msg->local_comm_id);
2610 work->cm_event.param.apr_rcvd.ap_status = apr_msg->ap_status;
2611 work->cm_event.param.apr_rcvd.apr_info = &apr_msg->info;
2612 work->cm_event.param.apr_rcvd.info_len = apr_msg->info_length;
2613 work->cm_event.private_data = &apr_msg->private_data;