rej_msg 1495 drivers/infiniband/core/cm.c struct cm_rej_msg *rej_msg, *rcv_msg; rej_msg 1504 drivers/infiniband/core/cm.c rej_msg = (struct cm_rej_msg *) msg->mad; rej_msg 1506 drivers/infiniband/core/cm.c cm_format_mad_hdr(&rej_msg->hdr, CM_REJ_ATTR_ID, rcv_msg->hdr.tid); rej_msg 1507 drivers/infiniband/core/cm.c rej_msg->remote_comm_id = rcv_msg->local_comm_id; rej_msg 1508 drivers/infiniband/core/cm.c rej_msg->local_comm_id = rcv_msg->remote_comm_id; rej_msg 1509 drivers/infiniband/core/cm.c cm_rej_set_msg_rejected(rej_msg, msg_rejected); rej_msg 1510 drivers/infiniband/core/cm.c rej_msg->reason = cpu_to_be16(reason); rej_msg 1513 drivers/infiniband/core/cm.c cm_rej_set_reject_info_len(rej_msg, ari_length); rej_msg 1514 drivers/infiniband/core/cm.c memcpy(rej_msg->ari, ari, ari_length); rej_msg 1756 drivers/infiniband/core/cm.c static void cm_format_rej(struct cm_rej_msg *rej_msg, rej_msg 1764 drivers/infiniband/core/cm.c cm_format_mad_hdr(&rej_msg->hdr, CM_REJ_ATTR_ID, cm_id_priv->tid); rej_msg 1765 drivers/infiniband/core/cm.c rej_msg->remote_comm_id = cm_id_priv->id.remote_id; rej_msg 1769 drivers/infiniband/core/cm.c rej_msg->local_comm_id = 0; rej_msg 1770 drivers/infiniband/core/cm.c cm_rej_set_msg_rejected(rej_msg, CM_MSG_RESPONSE_REQ); rej_msg 1773 drivers/infiniband/core/cm.c rej_msg->local_comm_id = cm_id_priv->id.local_id; rej_msg 1774 drivers/infiniband/core/cm.c cm_rej_set_msg_rejected(rej_msg, CM_MSG_RESPONSE_REQ); rej_msg 1778 drivers/infiniband/core/cm.c rej_msg->local_comm_id = cm_id_priv->id.local_id; rej_msg 1779 drivers/infiniband/core/cm.c cm_rej_set_msg_rejected(rej_msg, CM_MSG_RESPONSE_REP); rej_msg 1782 drivers/infiniband/core/cm.c rej_msg->local_comm_id = cm_id_priv->id.local_id; rej_msg 1783 drivers/infiniband/core/cm.c cm_rej_set_msg_rejected(rej_msg, CM_MSG_RESPONSE_OTHER); rej_msg 1787 drivers/infiniband/core/cm.c rej_msg->reason = cpu_to_be16(reason); rej_msg 1789 drivers/infiniband/core/cm.c cm_rej_set_reject_info_len(rej_msg, ari_length); rej_msg 1790 drivers/infiniband/core/cm.c memcpy(rej_msg->ari, ari, ari_length); rej_msg 1794 drivers/infiniband/core/cm.c memcpy(rej_msg->private_data, private_data, private_data_len); rej_msg 2794 drivers/infiniband/core/cm.c struct cm_rej_msg *rej_msg; rej_msg 2797 drivers/infiniband/core/cm.c rej_msg = (struct cm_rej_msg *)work->mad_recv_wc->recv_buf.mad; rej_msg 2799 drivers/infiniband/core/cm.c param->ari = rej_msg->ari; rej_msg 2800 drivers/infiniband/core/cm.c param->ari_length = cm_rej_get_reject_info_len(rej_msg); rej_msg 2801 drivers/infiniband/core/cm.c param->reason = __be16_to_cpu(rej_msg->reason); rej_msg 2802 drivers/infiniband/core/cm.c work->cm_event.private_data = &rej_msg->private_data; rej_msg 2805 drivers/infiniband/core/cm.c static struct cm_id_private * cm_acquire_rejected_id(struct cm_rej_msg *rej_msg) rej_msg 2811 drivers/infiniband/core/cm.c remote_id = rej_msg->local_comm_id; rej_msg 2813 drivers/infiniband/core/cm.c if (__be16_to_cpu(rej_msg->reason) == IB_CM_REJ_TIMEOUT) { rej_msg 2815 drivers/infiniband/core/cm.c timewait_info = cm_find_remote_id( *((__be64 *) rej_msg->ari), rej_msg 2830 drivers/infiniband/core/cm.c } else if (cm_rej_get_msg_rejected(rej_msg) == CM_MSG_RESPONSE_REQ) rej_msg 2831 drivers/infiniband/core/cm.c cm_id_priv = cm_acquire_id(rej_msg->remote_comm_id, 0); rej_msg 2833 drivers/infiniband/core/cm.c cm_id_priv = cm_acquire_id(rej_msg->remote_comm_id, remote_id); rej_msg 2841 drivers/infiniband/core/cm.c struct cm_rej_msg *rej_msg; rej_msg 2844 drivers/infiniband/core/cm.c rej_msg = (struct cm_rej_msg *)work->mad_recv_wc->recv_buf.mad; rej_msg 2845 drivers/infiniband/core/cm.c cm_id_priv = cm_acquire_rejected_id(rej_msg); rej_msg 2861 drivers/infiniband/core/cm.c if (__be16_to_cpu(rej_msg->reason) == IB_CM_REJ_STALE_CONN) rej_msg 466 drivers/infiniband/core/cm_msgs.h static inline u8 cm_rej_get_msg_rejected(struct cm_rej_msg *rej_msg) rej_msg 468 drivers/infiniband/core/cm_msgs.h return (u8) (rej_msg->offset8 >> 6); rej_msg 471 drivers/infiniband/core/cm_msgs.h static inline void cm_rej_set_msg_rejected(struct cm_rej_msg *rej_msg, u8 msg) rej_msg 473 drivers/infiniband/core/cm_msgs.h rej_msg->offset8 = (u8) ((rej_msg->offset8 & 0x3F) | (msg << 6)); rej_msg 476 drivers/infiniband/core/cm_msgs.h static inline u8 cm_rej_get_reject_info_len(struct cm_rej_msg *rej_msg) rej_msg 478 drivers/infiniband/core/cm_msgs.h return (u8) (rej_msg->offset9 >> 1); rej_msg 481 drivers/infiniband/core/cm_msgs.h static inline void cm_rej_set_reject_info_len(struct cm_rej_msg *rej_msg, rej_msg 484 drivers/infiniband/core/cm_msgs.h rej_msg->offset9 = (u8) ((rej_msg->offset9 & 0x1) | (len << 1)); rej_msg 1539 drivers/nvme/host/rdma.c const char *rej_msg; rej_msg 1543 drivers/nvme/host/rdma.c rej_msg = rdma_reject_msg(cm_id, status); rej_msg 1551 drivers/nvme/host/rdma.c status, rej_msg, sts, nvme_rdma_cm_msg(sts)); rej_msg 1554 drivers/nvme/host/rdma.c "Connect rejected: status %d (%s).\n", status, rej_msg);