H A D | cm.c | 164 static inline void cm_deref_id(struct cm_id_private *cm_id_priv) argument 166 if (atomic_dec_and_test(&cm_id_priv->refcount)) 167 complete(&cm_id_priv->comp); 170 static int cm_alloc_msg(struct cm_id_private *cm_id_priv, argument 177 mad_agent = cm_id_priv->av.port->mad_agent; 178 ah = ib_create_ah(mad_agent->qp->pd, &cm_id_priv->av.ah_attr); 182 m = ib_create_send_mad(mad_agent, cm_id_priv->id.remote_cm_qpn, 183 cm_id_priv->av.pkey_index, 193 m->retries = cm_id_priv->max_cm_retries; 195 atomic_inc(&cm_id_priv 248 cm_set_private_data(struct cm_id_private *cm_id_priv, void *private_data, u8 private_data_len) argument 300 cm_alloc_id(struct cm_id_private *cm_id_priv) argument 331 struct cm_id_private *cm_id_priv; local 347 struct cm_id_private *cm_id_priv; local 392 cm_insert_listen(struct cm_id_private *cm_id_priv) argument 436 struct cm_id_private *cm_id_priv; local 547 cm_insert_remote_sidr(struct cm_id_private *cm_id_priv) argument 581 cm_reject_sidr_req(struct cm_id_private *cm_id_priv, enum ib_cm_sidr_status status) argument 595 struct cm_id_private *cm_id_priv; local 624 cm_dequeue_work(struct cm_id_private *cm_id_priv) argument 676 cm_enter_timewait(struct cm_id_private *cm_id_priv) argument 698 cm_reset_to_idle(struct cm_id_private *cm_id_priv) argument 714 struct cm_id_private *cm_id_priv; local 806 struct cm_id_private *cm_id_priv, *cur_cm_id_priv; local 855 cm_form_tid(struct cm_id_private *cm_id_priv, enum cm_msg_sequence msg_seq) argument 877 cm_format_req(struct cm_req_msg *req_msg, struct cm_id_private *cm_id_priv, struct ib_cm_req_param *param) argument 965 struct cm_id_private *cm_id_priv; local 1135 cm_format_req_event(struct cm_work *work, struct cm_id_private *cm_id_priv, struct ib_cm_id *listen_id) argument 1169 cm_process_work(struct cm_id_private *cm_id_priv, struct cm_work *work) argument 1193 cm_format_mra(struct cm_mra_msg *mra_msg, struct cm_id_private *cm_id_priv, enum cm_msg_response msg_mraed, u8 service_timeout, const void *private_data, u8 private_data_len) argument 1208 cm_format_rej(struct cm_rej_msg *rej_msg, struct cm_id_private *cm_id_priv, enum ib_cm_rej_reason reason, void *ari, u8 ari_length, const void *private_data, u8 private_data_len) argument 1249 cm_dup_req_handler(struct cm_work *work, struct cm_id_private *cm_id_priv) argument 1290 cm_match_req(struct cm_work *work, struct cm_id_private *cm_id_priv) argument 1349 struct cm_id_private *cm_id_priv, *listen_cm_id_priv; local 1432 cm_format_rep(struct cm_rep_msg *rep_msg, struct cm_id_private *cm_id_priv, struct ib_cm_rep_param *param) argument 1458 struct cm_id_private *cm_id_priv; local 1504 cm_format_rtu(struct cm_rtu_msg *rtu_msg, struct cm_id_private *cm_id_priv, const void *private_data, u8 private_data_len) argument 1521 struct cm_id_private *cm_id_priv; local 1591 struct cm_id_private *cm_id_priv; local 1633 struct cm_id_private *cm_id_priv; local 1714 struct cm_id_private *cm_id_priv; local 1747 struct cm_id_private *cm_id_priv; local 1784 cm_format_dreq(struct cm_dreq_msg *dreq_msg, struct cm_id_private *cm_id_priv, const void *private_data, u8 private_data_len) argument 1803 struct cm_id_private *cm_id_priv; local 1844 cm_format_drep(struct cm_drep_msg *drep_msg, struct cm_id_private *cm_id_priv, const void *private_data, u8 private_data_len) argument 1861 struct cm_id_private *cm_id_priv; local 1932 struct cm_id_private *cm_id_priv; local 1995 struct cm_id_private *cm_id_priv; local 2039 struct cm_id_private *cm_id_priv; local 2109 struct cm_id_private *cm_id_priv; local 2143 struct cm_id_private *cm_id_priv; local 2204 struct cm_id_private *cm_id_priv; local 2296 struct cm_id_private *cm_id_priv; local 2358 cm_format_lap(struct cm_lap_msg *lap_msg, struct cm_id_private *cm_id_priv, struct ib_sa_path_rec *alternate_path, const void *private_data, u8 private_data_len) argument 2393 struct cm_id_private *cm_id_priv; local 2438 cm_format_path_from_lap(struct cm_id_private *cm_id_priv, struct ib_sa_path_rec *path, struct cm_lap_msg *lap_msg) argument 2464 struct cm_id_private *cm_id_priv; local 2531 cm_format_apr(struct cm_apr_msg *apr_msg, struct cm_id_private *cm_id_priv, enum ib_cm_apr_status status, void *info, u8 info_length, const void *private_data, u8 private_data_len) argument 2560 struct cm_id_private *cm_id_priv; local 2599 struct cm_id_private *cm_id_priv; local 2644 struct cm_id_private *cm_id_priv; local 2679 cm_format_sidr_req(struct cm_sidr_req_msg *sidr_req_msg, struct cm_id_private *cm_id_priv, struct ib_cm_sidr_req_param *param) argument 2697 struct cm_id_private *cm_id_priv; local 2761 struct cm_id_private *cm_id_priv, *cur_cm_id_priv; local 2817 cm_format_sidr_rep(struct cm_sidr_rep_msg *sidr_rep_msg, struct cm_id_private *cm_id_priv, struct ib_cm_sidr_rep_param *param) argument 2840 struct cm_id_private *cm_id_priv; local 2901 struct cm_id_private *cm_id_priv; local 2930 struct cm_id_private *cm_id_priv; local 3055 struct cm_id_private *cm_id_priv; local 3104 struct cm_id_private *cm_id_priv; local 3203 cm_init_qp_init_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3239 cm_init_qp_rtr_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3286 cm_init_qp_rts_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3345 struct cm_id_private *cm_id_priv; local [all...] |