H A D | cm.c | 255 static inline void cm_deref_id(struct cm_id_private *cm_id_priv) argument 257 if (atomic_dec_and_test(&cm_id_priv->refcount)) 258 complete(&cm_id_priv->comp); 261 static int cm_alloc_msg(struct cm_id_private *cm_id_priv, argument 268 mad_agent = cm_id_priv->av.port->mad_agent; 269 ah = ib_create_ah(mad_agent->qp->pd, &cm_id_priv->av.ah_attr); 273 m = ib_create_send_mad(mad_agent, cm_id_priv->id.remote_cm_qpn, 274 cm_id_priv->av.pkey_index, 284 m->retries = cm_id_priv->max_cm_retries; 286 atomic_inc(&cm_id_priv 339 cm_set_private_data(struct cm_id_private *cm_id_priv, void *private_data, u8 private_data_len) argument 391 cm_alloc_id(struct cm_id_private *cm_id_priv) argument 420 struct cm_id_private *cm_id_priv; local 436 struct cm_id_private *cm_id_priv; local 505 cm_insert_listen(struct cm_id_private *cm_id_priv) argument 549 struct cm_id_private *cm_id_priv; local 660 cm_insert_remote_sidr(struct cm_id_private *cm_id_priv) argument 694 cm_reject_sidr_req(struct cm_id_private *cm_id_priv, enum ib_cm_sidr_status status) argument 708 struct cm_id_private *cm_id_priv; local 737 cm_dequeue_work(struct cm_id_private *cm_id_priv) argument 808 cm_enter_timewait(struct cm_id_private *cm_id_priv) argument 830 cm_reset_to_idle(struct cm_id_private *cm_id_priv) argument 846 struct cm_id_private *cm_id_priv; local 937 struct cm_id_private *cm_id_priv, *cur_cm_id_priv; local 985 cm_form_tid(struct cm_id_private *cm_id_priv, enum cm_msg_sequence msg_seq) argument 1007 cm_format_req(struct cm_req_msg *req_msg, struct cm_id_private *cm_id_priv, struct ib_cm_req_param *param) argument 1123 struct cm_id_private *cm_id_priv; local 1298 cm_format_req_event(struct cm_work *work, struct cm_id_private *cm_id_priv, struct ib_cm_id *listen_id) argument 1332 cm_process_work(struct cm_id_private *cm_id_priv, struct cm_work *work) argument 1355 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 1370 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 1411 cm_dup_req_handler(struct cm_work *work, struct cm_id_private *cm_id_priv) argument 1454 cm_match_req(struct cm_work *work, struct cm_id_private *cm_id_priv) argument 1540 struct cm_id_private *cm_id_priv, *listen_cm_id_priv; local 1631 cm_format_rep(struct cm_rep_msg *rep_msg, struct cm_id_private *cm_id_priv, struct ib_cm_rep_param *param) argument 1658 struct cm_id_private *cm_id_priv; local 1704 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 1721 struct cm_id_private *cm_id_priv; local 1791 struct cm_id_private *cm_id_priv; local 1834 struct cm_id_private *cm_id_priv; local 1921 struct cm_id_private *cm_id_priv; local 1953 struct cm_id_private *cm_id_priv; local 1991 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 2010 struct cm_id_private *cm_id_priv; local 2051 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 2068 struct cm_id_private *cm_id_priv; local 2139 struct cm_id_private *cm_id_priv; local 2209 struct cm_id_private *cm_id_priv; local 2252 struct cm_id_private *cm_id_priv; local 2322 struct cm_id_private *cm_id_priv; local 2355 struct cm_id_private *cm_id_priv; local 2415 struct cm_id_private *cm_id_priv; local 2504 struct cm_id_private *cm_id_priv; local 2581 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 2617 struct cm_id_private *cm_id_priv; local 2665 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 2691 struct cm_id_private *cm_id_priv; local 2763 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 2792 struct cm_id_private *cm_id_priv; local 2831 struct cm_id_private *cm_id_priv; local 2875 struct cm_id_private *cm_id_priv; local 2910 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 2928 struct cm_id_private *cm_id_priv; local 2998 struct cm_id_private *cm_id_priv, *cur_cm_id_priv; local 3054 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 3077 struct cm_id_private *cm_id_priv; local 3138 struct cm_id_private *cm_id_priv; local 3166 struct cm_id_private *cm_id_priv; local 3311 struct cm_id_private *cm_id_priv; local 3360 struct cm_id_private *cm_id_priv; local 3465 cm_init_qp_init_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3501 cm_init_qp_rtr_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3547 cm_init_qp_rts_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3604 struct cm_id_private *cm_id_priv; local [all...] |