Lines Matching refs:apr_msg
2754 static void cm_format_apr(struct cm_apr_msg *apr_msg, in cm_format_apr() argument
2762 cm_format_mad_hdr(&apr_msg->hdr, CM_APR_ATTR_ID, cm_id_priv->tid); in cm_format_apr()
2763 apr_msg->local_comm_id = cm_id_priv->id.local_id; in cm_format_apr()
2764 apr_msg->remote_comm_id = cm_id_priv->id.remote_id; in cm_format_apr()
2765 apr_msg->ap_status = (u8) status; in cm_format_apr()
2768 apr_msg->info_length = info_length; in cm_format_apr()
2769 memcpy(apr_msg->info, info, info_length); in cm_format_apr()
2773 memcpy(apr_msg->private_data, private_data, private_data_len); in cm_format_apr()
2823 struct cm_apr_msg *apr_msg; in cm_apr_handler() local
2826 apr_msg = (struct cm_apr_msg *)work->mad_recv_wc->recv_buf.mad; in cm_apr_handler()
2827 cm_id_priv = cm_acquire_id(apr_msg->remote_comm_id, in cm_apr_handler()
2828 apr_msg->local_comm_id); in cm_apr_handler()
2832 work->cm_event.param.apr_rcvd.ap_status = apr_msg->ap_status; in cm_apr_handler()
2833 work->cm_event.param.apr_rcvd.apr_info = &apr_msg->info; in cm_apr_handler()
2834 work->cm_event.param.apr_rcvd.info_len = apr_msg->info_length; in cm_apr_handler()
2835 work->cm_event.private_data = &apr_msg->private_data; in cm_apr_handler()