Home
last modified time | relevance | path

Searched refs:ic_conn (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/common/io/ib/clients/iser/
H A Diser_cm.c193 chan->ic_conn = iser_conn; in iser_ib_handle_cm_req()
239 if (iser_chan->ic_conn->ic_type == ISER_CONN_TYPE_TGT) { in iser_handle_cm_conn_est()
241 iser_conn = iser_chan->ic_conn; in iser_handle_cm_conn_est()
323 mutex_enter(&chan->ic_conn->ic_lock); in iser_handle_cm_conn_closed()
324 switch (chan->ic_conn->ic_stage) { in iser_handle_cm_conn_closed()
328 mutex_exit(&chan->ic_conn->ic_lock); in iser_handle_cm_conn_closed()
337 mutex_exit(&chan->ic_conn->ic_lock); in iser_handle_cm_conn_closed()
338 iser_internal_conn_destroy(chan->ic_conn); in iser_handle_cm_conn_closed()
345 chan->ic_conn->ic_stage = ISER_CONN_STAGE_CLOSED; in iser_handle_cm_conn_closed()
346 mutex_exit(&chan->ic_conn->ic_lock); in iser_handle_cm_conn_closed()
[all …]
H A Diser_xfer.c241 mutex_enter(&chan->ic_conn->ic_lock); in iser_xfer_ctrlpdu()
243 if ((chan->ic_conn->ic_stage == ISER_CONN_STAGE_CLOSING) || in iser_xfer_ctrlpdu()
244 (chan->ic_conn->ic_stage == ISER_CONN_STAGE_CLOSED)) { in iser_xfer_ctrlpdu()
245 mutex_exit(&chan->ic_conn->ic_lock); in iser_xfer_ctrlpdu()
249 ic = chan->ic_conn->ic_idmc; in iser_xfer_ctrlpdu()
271 mutex_exit(&chan->ic_conn->ic_lock); in iser_xfer_ctrlpdu()
279 mutex_exit(&chan->ic_conn->ic_lock); in iser_xfer_ctrlpdu()
358 mutex_exit(&chan->ic_conn->ic_lock); in iser_xfer_ctrlpdu()
392 mutex_exit(&chan->ic_conn->ic_lock); in iser_xfer_ctrlpdu()
396 mutex_exit(&chan->ic_conn->ic_lock); in iser_xfer_ctrlpdu()
[all …]
H A Diser_cq.c98 iser_conn = iser_chan->ic_conn; in iser_ib_poll_send_completions()
386 mutex_enter(&iser_chan->ic_conn->ic_lock); in iser_ib_poll_recv_completions()
392 (iser_chan->ic_conn->ic_stage >= ISER_CONN_STAGE_IC_CONNECTED) && in iser_ib_poll_recv_completions()
393 (iser_chan->ic_conn->ic_stage <= ISER_CONN_STAGE_LOGGED_IN)) { in iser_ib_poll_recv_completions()
419 switch (iser_chan->ic_conn->ic_stage) { in iser_ib_poll_recv_completions()
427 idm_conn_event(iser_chan->ic_conn->ic_idmc, in iser_ib_poll_recv_completions()
429 iser_chan->ic_conn->ic_stage = in iser_ib_poll_recv_completions()
432 mutex_exit(&iser_chan->ic_conn->ic_lock); in iser_ib_poll_recv_completions()
437 mutex_exit(&iser_chan->ic_conn->ic_lock); in iser_ib_poll_recv_completions()
454 iser_conn_t *iser_conn = chan->ic_conn; in iser_msg_handle()
[all …]
H A Diser_ib.c678 mutex_exit(&chan->ic_conn->ic_lock); in iser_ib_free_rc_channel()
680 mutex_enter(&chan->ic_conn->ic_lock); in iser_ib_free_rc_channel()
689 mutex_exit(&chan->ic_conn->ic_lock); in iser_ib_free_rc_channel()
691 mutex_enter(&chan->ic_conn->ic_lock); in iser_ib_free_rc_channel()
735 ASSERT(mutex_owned(&chan->ic_conn->ic_lock)); in iser_ib_post_recv_async()
736 ASSERT((chan->ic_conn->ic_stage >= ISER_CONN_STAGE_ALLOCATED) && in iser_ib_post_recv_async()
737 (chan->ic_conn->ic_stage <= ISER_CONN_STAGE_LOGGED_IN)); in iser_ib_post_recv_async()
738 idm_conn_hold(chan->ic_conn->ic_idmc); in iser_ib_post_recv_async()
742 idm_conn_rele(chan->ic_conn->ic_idmc); in iser_ib_post_recv_async()
758 idm_conn_rele(chan->ic_conn->ic_idmc); in iser_ib_post_recv_task()
[all …]
H A Diser_idm.c199 iser_chan->ic_conn = iser_conn; in iser_ini_conn_create()
/titanic_41/usr/src/uts/common/sys/ib/clients/iser/
H A Diser_ib.h156 struct iser_conn_s *ic_conn; member