Home
last modified time | relevance | path

Searched refs:iser_chan (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/io/ib/clients/iser/
H A Diser_xfer.c411 iser_chan_t *iser_chan; in iser_xfer_buf_to_ini() local
422 iser_chan = iser_conn->ic_chan; in iser_xfer_buf_to_ini()
424 mutex_enter(&iser_chan->ic_conn->ic_lock); in iser_xfer_buf_to_ini()
426 if ((iser_chan->ic_conn->ic_stage == ISER_CONN_STAGE_CLOSING) || in iser_xfer_buf_to_ini()
427 (iser_chan->ic_conn->ic_stage == ISER_CONN_STAGE_CLOSED)) { in iser_xfer_buf_to_ini()
428 mutex_exit(&iser_chan->ic_conn->ic_lock); in iser_xfer_buf_to_ini()
452 mutex_exit(&iser_chan->ic_conn->ic_lock); in iser_xfer_buf_to_ini()
479 mutex_enter(&iser_chan->ic_sq_post_lock); in iser_xfer_buf_to_ini()
480 iser_chan->ic_sq_post_count++; in iser_xfer_buf_to_ini()
481 if (iser_chan->ic_sq_post_count > iser_chan->ic_sq_max_post_count) in iser_xfer_buf_to_ini()
[all …]
H A Diser_cq.c45 iser_chan_t *iser_chan);
47 iser_chan_t *iser_chan);
52 iser_chan_t *iser_chan; in iser_ib_sendcq_handler() local
55 iser_chan = (iser_chan_t *)arg; in iser_ib_sendcq_handler()
62 status = iser_ib_poll_send_completions(cq_hdl, iser_chan); in iser_ib_sendcq_handler()
78 cq_hdl, iser_chan); in iser_ib_sendcq_handler()
84 iser_ib_poll_send_completions(ibt_cq_hdl_t cq_hdl, iser_chan_t *iser_chan) in iser_ib_poll_send_completions() argument
98 iser_conn = iser_chan->ic_conn; in iser_ib_poll_send_completions()
118 DTRACE_PROBE3(iser__send__cqe, iser_chan_t *, iser_chan, in iser_ib_poll_send_completions()
125 mutex_enter(&iser_chan->ic_sq_post_lock); in iser_ib_poll_send_completions()
[all …]
H A Diser_cm.c215 iser_chan_t *iser_chan; in iser_handle_cm_conn_est() local
221 iser_chan = (iser_chan_t *)ibt_get_chan_private(evp->cm_channel); in iser_handle_cm_conn_est()
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()
277 &iser_conn->ic_chan->ic_localip, iser_chan->ic_lport); in iser_handle_cm_conn_est()
279 &iser_conn->ic_chan->ic_remoteip, iser_chan->ic_rport); in iser_handle_cm_conn_est()
292 iser_ib_post_recv(iser_chan->ic_chanhdl); in iser_handle_cm_conn_est()
H A Diser_idm.c154 iser_chan_t *iser_chan = NULL; in iser_ini_conn_create() local
162 iser_chan = iser_channel_alloc(NULL, &cr->cr_ini_dst_addr); in iser_ini_conn_create()
163 if (iser_chan == NULL) { in iser_ini_conn_create()
179 iser_chan->ic_rport = ntohs(cr->cr_ini_dst_addr.sin4.sin_port); in iser_ini_conn_create()
182 iser_chan->ic_rport = ntohs(cr->cr_ini_dst_addr.sin6.sin6_port); in iser_ini_conn_create()
185 iser_chan->ic_rport = ISCSI_LISTEN_PORT; in iser_ini_conn_create()
187 iser_chan->ic_lport = 0; in iser_ini_conn_create()
192 iser_conn->ic_chan = iser_chan; in iser_ini_conn_create()
199 iser_chan->ic_conn = iser_conn; in iser_ini_conn_create()
1102 iser_chan_t *iser_chan; in iser_buf_setup() local
[all …]