H A D | cm.c | 249 static inline void cm_deref_id(struct cm_id_private *cm_id_priv) argument 251 if (atomic_dec_and_test(&cm_id_priv->refcount)) 252 complete(&cm_id_priv->comp); 255 static int cm_alloc_msg(struct cm_id_private *cm_id_priv, argument 262 mad_agent = cm_id_priv->av.port->mad_agent; 263 ah = ib_create_ah(mad_agent->qp->pd, &cm_id_priv->av.ah_attr); 267 m = ib_create_send_mad(mad_agent, cm_id_priv->id.remote_cm_qpn, 268 cm_id_priv->av.pkey_index, 278 m->retries = cm_id_priv->max_cm_retries; 280 atomic_inc(&cm_id_priv 333 cm_set_private_data(struct cm_id_private *cm_id_priv, void *private_data, u8 private_data_len) argument 388 cm_alloc_id(struct cm_id_private *cm_id_priv) argument 415 struct cm_id_private *cm_id_priv; local 431 struct cm_id_private *cm_id_priv; local 500 cm_insert_listen(struct cm_id_private *cm_id_priv) argument 544 struct cm_id_private *cm_id_priv; local 655 cm_insert_remote_sidr(struct cm_id_private *cm_id_priv) argument 689 cm_reject_sidr_req(struct cm_id_private *cm_id_priv, enum ib_cm_sidr_status status) argument 703 struct cm_id_private *cm_id_priv; local 732 cm_dequeue_work(struct cm_id_private *cm_id_priv) argument 803 cm_enter_timewait(struct cm_id_private *cm_id_priv) argument 825 cm_reset_to_idle(struct cm_id_private *cm_id_priv) argument 841 struct cm_id_private *cm_id_priv; local 934 struct cm_id_private *cm_id_priv, *cur_cm_id_priv; local 982 cm_form_tid(struct cm_id_private *cm_id_priv, enum cm_msg_sequence msg_seq) argument 1004 cm_format_req(struct cm_req_msg *req_msg, struct cm_id_private *cm_id_priv, struct ib_cm_req_param *param) argument 1112 struct cm_id_private *cm_id_priv; local 1282 cm_format_req_event(struct cm_work *work, struct cm_id_private *cm_id_priv, struct ib_cm_id *listen_id) argument 1316 cm_process_work(struct cm_id_private *cm_id_priv, struct cm_work *work) argument 1339 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 1354 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 1395 cm_dup_req_handler(struct cm_work *work, struct cm_id_private *cm_id_priv) argument 1438 cm_match_req(struct cm_work *work, struct cm_id_private *cm_id_priv) argument 1524 struct cm_id_private *cm_id_priv, *listen_cm_id_priv; local 1611 cm_format_rep(struct cm_rep_msg *rep_msg, struct cm_id_private *cm_id_priv, struct ib_cm_rep_param *param) argument 1644 struct cm_id_private *cm_id_priv; local 1690 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 1707 struct cm_id_private *cm_id_priv; local 1777 struct cm_id_private *cm_id_priv; local 1820 struct cm_id_private *cm_id_priv; local 1907 struct cm_id_private *cm_id_priv; local 1939 struct cm_id_private *cm_id_priv; local 1977 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 1996 struct cm_id_private *cm_id_priv; local 2041 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 2058 struct cm_id_private *cm_id_priv; local 2129 struct cm_id_private *cm_id_priv; local 2203 struct cm_id_private *cm_id_priv; local 2246 struct cm_id_private *cm_id_priv; local 2316 struct cm_id_private *cm_id_priv; local 2349 struct cm_id_private *cm_id_priv; local 2418 struct cm_id_private *cm_id_priv; local 2507 struct cm_id_private *cm_id_priv; local 2578 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 2614 struct cm_id_private *cm_id_priv; local 2662 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 2688 struct cm_id_private *cm_id_priv; local 2760 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 2789 struct cm_id_private *cm_id_priv; local 2828 struct cm_id_private *cm_id_priv; local 2872 struct cm_id_private *cm_id_priv; local 2907 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 2925 struct cm_id_private *cm_id_priv; local 2989 struct cm_id_private *cm_id_priv, *cur_cm_id_priv; local 3046 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 3069 struct cm_id_private *cm_id_priv; local 3130 struct cm_id_private *cm_id_priv; local 3158 struct cm_id_private *cm_id_priv; local 3303 struct cm_id_private *cm_id_priv; local 3352 struct cm_id_private *cm_id_priv; local 3457 cm_init_qp_init_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3493 cm_init_qp_rtr_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3566 cm_init_qp_rts_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument 3629 struct cm_id_private *cm_id_priv; local [all...] |