Lines Matching defs:se_cmd
288 static int efct_lio_check_stop_free(struct se_cmd *se_cmd)
291 container_of(se_cmd, struct efct_scsi_tgt_io, cmd);
295 return target_put_sess_cmd(se_cmd);
308 efct_lio_aborted_task(struct se_cmd *se_cmd)
311 container_of(se_cmd, struct efct_scsi_tgt_io, cmd);
326 static void efct_lio_release_cmd(struct se_cmd *se_cmd)
329 container_of(se_cmd, struct efct_scsi_tgt_io, cmd);
353 static int efct_lio_get_cmd_state(struct se_cmd *cmd)
366 struct se_cmd *cmd = &ocp->cmd;
379 struct se_cmd *cmd = &ocp->cmd;
418 efct_lio_write_pending(struct se_cmd *cmd)
463 efct_lio_queue_data_in(struct se_cmd *cmd)
536 struct se_cmd *cmd = &io->tgt_io.cmd;
646 /* free struct efct_io only, no active se_cmd */
652 efct_lio_queue_status(struct se_cmd *cmd)
686 static void efct_lio_queue_tm_rsp(struct se_cmd *cmd)
1324 struct se_cmd *se_cmd = &io->tgt_io.cmd;
1373 efc_log_err(efct, "No session found to submit IO se_cmd: %p\n",
1380 rc = target_init_cmd(se_cmd, se_sess, &io->tgt_io.sense_buffer[0],
1384 efc_log_err(efct, "failed to init cmd se_cmd: %p\n", se_cmd);
1389 if (target_submit_prep(se_cmd, cdb, NULL, 0, NULL, 0,
1393 target_submit(se_cmd);