Home
last modified time | relevance | path

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

/linux/drivers/target/loopback/
H A Dtcm_loop.c67 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_release_cmd() local
69 struct scsi_cmnd *sc = tl_cmd->sc; in tcm_loop_release_cmd()
72 kmem_cache_free(tcm_loop_cmd_cache, tl_cmd); in tcm_loop_release_cmd()
101 static void tcm_loop_target_queue_cmd(struct tcm_loop_cmd *tl_cmd) in tcm_loop_target_queue_cmd() argument
103 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_target_queue_cmd()
104 struct scsi_cmnd *sc = tl_cmd->sc; in tcm_loop_target_queue_cmd()
146 se_cmd->tag = tl_cmd->sc_cmd_tag; in tcm_loop_target_queue_cmd()
147 target_init_cmd(se_cmd, tl_nexus->se_sess, &tl_cmd->tl_sense_buf[0], in tcm_loop_target_queue_cmd()
148 tl_cmd->sc->device->lun, transfer_length, in tcm_loop_target_queue_cmd()
170 struct tcm_loop_cmd *tl_cmd = scsi_cmd_priv(sc); in tcm_loop_queuecommand() local
[all …]