tl_cmd 59 drivers/target/loopback/tcm_loop.c struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, tl_cmd 62 drivers/target/loopback/tcm_loop.c kmem_cache_free(tcm_loop_cmd_cache, tl_cmd); tl_cmd 98 drivers/target/loopback/tcm_loop.c struct tcm_loop_cmd *tl_cmd = tl_cmd 100 drivers/target/loopback/tcm_loop.c struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; tl_cmd 101 drivers/target/loopback/tcm_loop.c struct scsi_cmnd *sc = tl_cmd->sc; tl_cmd 144 drivers/target/loopback/tcm_loop.c se_cmd->tag = tl_cmd->sc_cmd_tag; tl_cmd 146 drivers/target/loopback/tcm_loop.c &tl_cmd->tl_sense_buf[0], tl_cmd->sc->device->lun, tl_cmd 159 drivers/target/loopback/tcm_loop.c kmem_cache_free(tcm_loop_cmd_cache, tl_cmd); tl_cmd 169 drivers/target/loopback/tcm_loop.c struct tcm_loop_cmd *tl_cmd; tl_cmd 176 drivers/target/loopback/tcm_loop.c tl_cmd = kmem_cache_zalloc(tcm_loop_cmd_cache, GFP_ATOMIC); tl_cmd 177 drivers/target/loopback/tcm_loop.c if (!tl_cmd) { tl_cmd 183 drivers/target/loopback/tcm_loop.c tl_cmd->sc = sc; tl_cmd 184 drivers/target/loopback/tcm_loop.c tl_cmd->sc_cmd_tag = sc->request->tag; tl_cmd 185 drivers/target/loopback/tcm_loop.c INIT_WORK(&tl_cmd->work, tcm_loop_submission_work); tl_cmd 186 drivers/target/loopback/tcm_loop.c queue_work(tcm_loop_workqueue, &tl_cmd->work); tl_cmd 200 drivers/target/loopback/tcm_loop.c struct tcm_loop_cmd *tl_cmd; tl_cmd 212 drivers/target/loopback/tcm_loop.c tl_cmd = kmem_cache_zalloc(tcm_loop_cmd_cache, GFP_KERNEL); tl_cmd 213 drivers/target/loopback/tcm_loop.c if (!tl_cmd) tl_cmd 216 drivers/target/loopback/tcm_loop.c init_completion(&tl_cmd->tmr_done); tl_cmd 218 drivers/target/loopback/tcm_loop.c se_cmd = &tl_cmd->tl_se_cmd; tl_cmd 221 drivers/target/loopback/tcm_loop.c rc = target_submit_tmr(se_cmd, se_sess, tl_cmd->tl_sense_buf, lun, tl_cmd 226 drivers/target/loopback/tcm_loop.c wait_for_completion(&tl_cmd->tmr_done); tl_cmd 234 drivers/target/loopback/tcm_loop.c kmem_cache_free(tcm_loop_cmd_cache, tl_cmd); tl_cmd 527 drivers/target/loopback/tcm_loop.c struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, tl_cmd 530 drivers/target/loopback/tcm_loop.c return tl_cmd->sc_cmd_state; tl_cmd 550 drivers/target/loopback/tcm_loop.c struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, tl_cmd 552 drivers/target/loopback/tcm_loop.c struct scsi_cmnd *sc = tl_cmd->sc; tl_cmd 568 drivers/target/loopback/tcm_loop.c struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, tl_cmd 570 drivers/target/loopback/tcm_loop.c struct scsi_cmnd *sc = tl_cmd->sc; tl_cmd 596 drivers/target/loopback/tcm_loop.c struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, tl_cmd 600 drivers/target/loopback/tcm_loop.c complete(&tl_cmd->tmr_done);