Lines Matching refs:se_cmd
288 static int efct_lio_check_stop_free(struct se_cmd *se_cmd) in efct_lio_check_stop_free() argument
291 container_of(se_cmd, struct efct_scsi_tgt_io, cmd); in efct_lio_check_stop_free()
295 return target_put_sess_cmd(se_cmd); in efct_lio_check_stop_free()
308 efct_lio_aborted_task(struct se_cmd *se_cmd) in efct_lio_aborted_task() argument
311 container_of(se_cmd, struct efct_scsi_tgt_io, cmd); in efct_lio_aborted_task()
326 static void efct_lio_release_cmd(struct se_cmd *se_cmd) in efct_lio_release_cmd() argument
329 container_of(se_cmd, struct efct_scsi_tgt_io, cmd); in efct_lio_release_cmd()
353 static int efct_lio_get_cmd_state(struct se_cmd *cmd) in efct_lio_get_cmd_state()
366 struct se_cmd *cmd = &ocp->cmd; in efct_lio_sg_map()
379 struct se_cmd *cmd = &ocp->cmd; in efct_lio_sg_unmap()
418 efct_lio_write_pending(struct se_cmd *cmd) in efct_lio_write_pending()
463 efct_lio_queue_data_in(struct se_cmd *cmd) in efct_lio_queue_data_in()
536 struct se_cmd *cmd = &io->tgt_io.cmd; in efct_lio_send_resp()
652 efct_lio_queue_status(struct se_cmd *cmd) in efct_lio_queue_status()
686 static void efct_lio_queue_tm_rsp(struct se_cmd *cmd) in efct_lio_queue_tm_rsp()
1324 struct se_cmd *se_cmd = &io->tgt_io.cmd; in efct_scsi_recv_cmd() local
1380 rc = target_init_cmd(se_cmd, se_sess, &io->tgt_io.sense_buffer[0], in efct_scsi_recv_cmd()
1384 efc_log_err(efct, "failed to init cmd se_cmd: %p\n", se_cmd); in efct_scsi_recv_cmd()
1389 if (target_submit_prep(se_cmd, cdb, NULL, 0, NULL, 0, in efct_scsi_recv_cmd()
1393 target_submit(se_cmd); in efct_scsi_recv_cmd()