Lines Matching refs:sess
1231 tag = sbitmap_queue_get(&ch->sess->sess_tag_pool, &cpu); in srpt_get_send_ioctx()
1537 rc = target_init_cmd(cmd, ch->sess, &send_ioctx->sense_data[0], in srpt_handle_cmd()
1592 struct se_session *sess = ch->sess; in srpt_handle_tsk_mgmt() local
1603 ch->sess); in srpt_handle_tsk_mgmt()
1608 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL, in srpt_handle_tsk_mgmt()
2094 se_sess = ch->sess; in srpt_release_channel_work()
2101 ch->sess = NULL; in srpt_release_channel_work()
2325 if (!IS_ERR_OR_NULL(ch->sess)) in srpt_cm_req_recv()
2327 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv()
2337 if (!IS_ERR_OR_NULL(ch->sess)) in srpt_cm_req_recv()
2339 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv()
2342 if (!IS_ERR_OR_NULL(ch->sess)) in srpt_cm_req_recv()
2345 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv()
2352 if (IS_ERR_OR_NULL(ch->sess)) { in srpt_cm_req_recv()
2353 WARN_ON_ONCE(ch->sess == NULL); in srpt_cm_req_recv()
2354 ret = PTR_ERR(ch->sess); in srpt_cm_req_recv()
2355 ch->sess = NULL; in srpt_cm_req_recv()
2408 pr_debug("Establish connection sess=%p name=%s ch=%p\n", ch->sess, in srpt_cm_req_recv()
2515 if (ch && ch->sess) { in srpt_cm_req_recv()