Lines Matching defs:sess
1231 tag = sbitmap_queue_get(&ch->sess->sess_tag_pool, &cpu);
1537 rc = target_init_cmd(cmd, ch->sess, &send_ioctx->sense_data[0],
1592 struct se_session *sess = ch->sess;
1601 pr_debug("recv tsk_mgmt fn %d for task_tag %lld and cmd tag %lld ch %p sess %p\n",
1603 ch->sess);
1608 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL,
2094 se_sess = ch->sess;
2101 ch->sess = NULL;
2325 if (!IS_ERR_OR_NULL(ch->sess))
2327 ch->sess = target_setup_session(&stpg->tpg, tag_num,
2337 if (!IS_ERR_OR_NULL(ch->sess))
2339 ch->sess = target_setup_session(&stpg->tpg, tag_num,
2342 if (!IS_ERR_OR_NULL(ch->sess))
2345 ch->sess = target_setup_session(&stpg->tpg, tag_num,
2352 if (IS_ERR_OR_NULL(ch->sess)) {
2353 WARN_ON_ONCE(ch->sess == NULL);
2354 ret = PTR_ERR(ch->sess);
2355 ch->sess = NULL;
2408 pr_debug("Establish connection sess=%p name=%s ch=%p\n", ch->sess,
2515 if (ch && ch->sess) {