Searched refs:iser_chan (Results 1 – 4 of 4) sorted by relevance
411 iser_chan_t *iser_chan; in iser_xfer_buf_to_ini() local422 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 …]
45 iser_chan_t *iser_chan);47 iser_chan_t *iser_chan);52 iser_chan_t *iser_chan; in iser_ib_sendcq_handler() local55 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() argument98 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 …]
215 iser_chan_t *iser_chan; in iser_handle_cm_conn_est() local221 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()
154 iser_chan_t *iser_chan = NULL; in iser_ini_conn_create() local162 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 …]