Searched refs:cm_id_priv (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.3-release/sys/ofed/drivers/infiniband/core/
H A Diwcm.c90 static struct iwcm_work *get_work(struct iwcm_id_private *cm_id_priv) argument
94 if (list_empty(&cm_id_priv->work_free_list))
96 work = list_entry(cm_id_priv->work_free_list.next, struct iwcm_work,
107 static void dealloc_work_entries(struct iwcm_id_private *cm_id_priv) argument
111 list_for_each_safe(e, tmp, &cm_id_priv->work_free_list)
115 static int alloc_work_entries(struct iwcm_id_private *cm_id_priv, int count) argument
119 BUG_ON(!list_empty(&cm_id_priv->work_free_list));
123 dealloc_work_entries(cm_id_priv);
126 work->cm_id = cm_id_priv;
149 static void free_cm_id(struct iwcm_id_private *cm_id_priv) argument
160 iwcm_deref_id(struct iwcm_id_private *cm_id_priv) argument
174 struct iwcm_id_private *cm_id_priv; local
181 struct iwcm_id_private *cm_id_priv; local
197 struct iwcm_id_private *cm_id_priv; local
261 struct iwcm_id_private *cm_id_priv; local
328 struct iwcm_id_private *cm_id_priv; local
395 struct iwcm_id_private *cm_id_priv; local
416 struct iwcm_id_private *cm_id_priv; local
454 struct iwcm_id_private *cm_id_priv; local
491 struct iwcm_id_private *cm_id_priv; local
544 struct iwcm_id_private *cm_id_priv; local
614 struct iwcm_id_private *cm_id_priv; local
683 cm_conn_est_handler(struct iwcm_id_private *cm_id_priv, struct iw_cm_event *iw_event) argument
713 cm_conn_rep_handler(struct iwcm_id_private *cm_id_priv, struct iw_cm_event *iw_event) argument
753 cm_disconnect_handler(struct iwcm_id_private *cm_id_priv, struct iw_cm_event *iw_event) argument
775 cm_close_handler(struct iwcm_id_private *cm_id_priv, struct iw_cm_event *iw_event) argument
804 process_event(struct iwcm_id_private *cm_id_priv, struct iw_cm_event *iw_event) argument
845 struct iwcm_id_private *cm_id_priv = work->cm_id; local
900 struct iwcm_id_private *cm_id_priv; local
938 iwcm_init_qp_init_attr(struct iwcm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument
964 iwcm_init_qp_rts_attr(struct iwcm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument
992 struct iwcm_id_private *cm_id_priv; local
[all...]
H A Dcm.c258 static inline void cm_deref_id(struct cm_id_private *cm_id_priv) argument
260 if (atomic_dec_and_test(&cm_id_priv->refcount))
261 complete(&cm_id_priv->comp);
264 static int cm_alloc_msg(struct cm_id_private *cm_id_priv, argument
271 mad_agent = cm_id_priv->av.port->mad_agent;
272 ah = ib_create_ah(mad_agent->qp->pd, &cm_id_priv->av.ah_attr);
276 m = ib_create_send_mad(mad_agent, cm_id_priv->id.remote_cm_qpn,
277 cm_id_priv->av.pkey_index,
287 m->retries = cm_id_priv->max_cm_retries;
289 atomic_inc(&cm_id_priv
342 cm_set_private_data(struct cm_id_private *cm_id_priv, void *private_data, u8 private_data_len) argument
394 cm_alloc_id(struct cm_id_private *cm_id_priv) argument
423 struct cm_id_private *cm_id_priv; local
439 struct cm_id_private *cm_id_priv; local
508 cm_insert_listen(struct cm_id_private *cm_id_priv) argument
552 struct cm_id_private *cm_id_priv; local
663 cm_insert_remote_sidr(struct cm_id_private *cm_id_priv) argument
697 cm_reject_sidr_req(struct cm_id_private *cm_id_priv, enum ib_cm_sidr_status status) argument
711 struct cm_id_private *cm_id_priv; local
740 cm_dequeue_work(struct cm_id_private *cm_id_priv) argument
811 cm_enter_timewait(struct cm_id_private *cm_id_priv) argument
833 cm_reset_to_idle(struct cm_id_private *cm_id_priv) argument
849 struct cm_id_private *cm_id_priv; local
940 struct cm_id_private *cm_id_priv, *cur_cm_id_priv; local
988 cm_form_tid(struct cm_id_private *cm_id_priv, enum cm_msg_sequence msg_seq) argument
1010 cm_format_req(struct cm_req_msg *req_msg, struct cm_id_private *cm_id_priv, struct ib_cm_req_param *param) argument
1126 struct cm_id_private *cm_id_priv; local
1301 cm_format_req_event(struct cm_work *work, struct cm_id_private *cm_id_priv, struct ib_cm_id *listen_id) argument
1335 cm_process_work(struct cm_id_private *cm_id_priv, struct cm_work *work) argument
1358 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
1373 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
1414 cm_dup_req_handler(struct cm_work *work, struct cm_id_private *cm_id_priv) argument
1457 cm_match_req(struct cm_work *work, struct cm_id_private *cm_id_priv) argument
1543 struct cm_id_private *cm_id_priv, *listen_cm_id_priv; local
1634 cm_format_rep(struct cm_rep_msg *rep_msg, struct cm_id_private *cm_id_priv, struct ib_cm_rep_param *param) argument
1661 struct cm_id_private *cm_id_priv; local
1707 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
1724 struct cm_id_private *cm_id_priv; local
1794 struct cm_id_private *cm_id_priv; local
1837 struct cm_id_private *cm_id_priv; local
1924 struct cm_id_private *cm_id_priv; local
1956 struct cm_id_private *cm_id_priv; local
1994 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
2013 struct cm_id_private *cm_id_priv; local
2054 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
2071 struct cm_id_private *cm_id_priv; local
2142 struct cm_id_private *cm_id_priv; local
2212 struct cm_id_private *cm_id_priv; local
2255 struct cm_id_private *cm_id_priv; local
2325 struct cm_id_private *cm_id_priv; local
2358 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
2584 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
2620 struct cm_id_private *cm_id_priv; local
2668 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
2694 struct cm_id_private *cm_id_priv; local
2766 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
2795 struct cm_id_private *cm_id_priv; local
2834 struct cm_id_private *cm_id_priv; local
2878 struct cm_id_private *cm_id_priv; local
2913 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
2931 struct cm_id_private *cm_id_priv; local
3001 struct cm_id_private *cm_id_priv, *cur_cm_id_priv; local
3057 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
3080 struct cm_id_private *cm_id_priv; local
3141 struct cm_id_private *cm_id_priv; local
3169 struct cm_id_private *cm_id_priv; local
3314 struct cm_id_private *cm_id_priv; local
3363 struct cm_id_private *cm_id_priv; local
3468 cm_init_qp_init_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument
3504 cm_init_qp_rtr_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument
3550 cm_init_qp_rts_attr(struct cm_id_private *cm_id_priv, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument
3607 struct cm_id_private *cm_id_priv; local
[all...]
/freebsd-10.3-release/contrib/ofed/libibcm/src/
H A Dcm.c229 static void ib_cm_free_id(struct cm_id_private *cm_id_priv) argument
231 pthread_cond_destroy(&cm_id_priv->cond);
232 pthread_mutex_destroy(&cm_id_priv->mut);
233 free(cm_id_priv);
239 struct cm_id_private *cm_id_priv; local
241 cm_id_priv = malloc(sizeof *cm_id_priv);
242 if (!cm_id_priv)
245 memset(cm_id_priv, 0, sizeof *cm_id_priv);
263 struct cm_id_private *cm_id_priv; local
293 struct cm_id_private *cm_id_priv; local
823 struct cm_id_private *cm_id_priv; local
1000 struct cm_id_private *cm_id_priv; local
[all...]

Completed in 108 milliseconds