Lines Matching refs:se_cmd
1338 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state() argument
1340 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in iscsi_get_cmd_state()
1364 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in() argument
1366 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_data_in()
1373 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending() argument
1375 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_write_pending()
1384 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status() argument
1386 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_status()
1391 if (cmd->se_cmd.scsi_status || cmd->sense_reason) { in lio_queue_status()
1397 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp() argument
1399 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_tm_rsp()
1405 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task() argument
1407 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_aborted_task()
1515 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free() argument
1517 return target_put_sess_cmd(se_cmd); in lio_check_stop_free()
1520 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd() argument
1522 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_release_cmd()
1524 pr_debug("Entering lio_release_cmd for se_cmd: %p\n", se_cmd); in lio_release_cmd()