Lines Matching refs:se_sess
147 target_init_cmd(se_cmd, tl_nexus->se_sess, &tl_cmd->tl_sense_buf[0], in tcm_loop_target_queue_cmd()
193 struct se_session *se_sess; in tcm_loop_issue_tmr() local
214 se_sess = tl_tpg->tl_nexus->se_sess; in tcm_loop_issue_tmr()
216 rc = target_submit_tmr(se_cmd, se_sess, tl_cmd->tl_sense_buf, lun, in tcm_loop_issue_tmr()
483 static u32 tcm_loop_sess_get_index(struct se_session *se_sess) in tcm_loop_sess_get_index() argument
672 struct se_session *se_sess, void *p) in tcm_loop_alloc_sess_cb() argument
698 tl_nexus->se_sess = target_setup_session(&tl_tpg->tl_se_tpg, 0, 0, in tcm_loop_make_nexus()
701 if (IS_ERR(tl_nexus->se_sess)) { in tcm_loop_make_nexus()
702 ret = PTR_ERR(tl_nexus->se_sess); in tcm_loop_make_nexus()
715 struct se_session *se_sess; in tcm_loop_drop_nexus() local
722 se_sess = tl_nexus->se_sess; in tcm_loop_drop_nexus()
723 if (!se_sess) in tcm_loop_drop_nexus()
734 tl_nexus->se_sess->se_node_acl->initiatorname); in tcm_loop_drop_nexus()
738 target_remove_session(se_sess); in tcm_loop_drop_nexus()
759 tl_nexus->se_sess->se_node_acl->initiatorname); in tcm_loop_tpg_nexus_show()
879 struct se_session *tl_sess = tl_tpg->tl_nexus->se_sess; in tcm_loop_tpg_transport_status_store()