Home
last modified time | relevance | path

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

/openbmc/linux/drivers/target/
H A Dtarget_core_transport.c788 transport_generic_request_failure(cmd, cmd->sense_reason); in target_complete_failure_work()
907 sense_reason_t sense_reason) in target_complete_cmd_with_sense() argument
917 cmd->sense_reason = sense_reason; in target_complete_cmd_with_sense()
2031 sense_reason_t sense_reason) in transport_generic_request_failure() argument
2036 sense_reason); in transport_generic_request_failure()
2053 switch (sense_reason) { in transport_generic_request_failure()
2111 cmd->t_task_cdb[0], sense_reason); in transport_generic_request_failure()
2112 sense_reason = TCM_UNSUPPORTED_SCSI_OPCODE; in transport_generic_request_failure()
2116 ret = transport_send_check_condition_and_sense(cmd, sense_reason, 0); in transport_generic_request_failure()
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target.c1205 cmd->sense_reason = target_cmd_init_cdb(&cmd->se_cmd, cdb, in iscsit_setup_scsi_cmd()
1211 if (cmd->sense_reason) { in iscsit_setup_scsi_cmd()
1212 if (cmd->sense_reason == TCM_OUT_OF_RESOURCES) { in iscsit_setup_scsi_cmd()
1220 cmd->sense_reason = transport_lookup_cmd_lun(&cmd->se_cmd); in iscsit_setup_scsi_cmd()
1221 if (cmd->sense_reason) in iscsit_setup_scsi_cmd()
1224 cmd->sense_reason = target_cmd_parse_cdb(&cmd->se_cmd); in iscsit_setup_scsi_cmd()
1225 if (cmd->sense_reason) in iscsit_setup_scsi_cmd()
1288 if (!cmd->sense_reason && cmd->unsolicited_data) in iscsit_process_scsi_cmd()
1290 if (!cmd->sense_reason) in iscsit_process_scsi_cmd()
1302 if (cmd->sense_reason) in iscsit_process_scsi_cmd()
[all …]
H A Discsi_target_erl1.c903 if (cmd->sense_reason) { in iscsit_execute_cmd()
904 if (cmd->sense_reason == TCM_RESERVATION_CONFLICT) { in iscsit_execute_cmd()
915 cmd->sense_reason, 0); in iscsit_execute_cmd()
H A Discsi_target_configfs.c1412 if (cmd->se_cmd.scsi_status || cmd->sense_reason) { in lio_queue_status()
/openbmc/linux/include/target/iscsi/
H A Discsi_target_core.h498 sense_reason_t sense_reason; member
/openbmc/linux/include/target/
H A Dtarget_core_base.h463 sense_reason_t sense_reason; member
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_target.c939 if (cmd->sense_reason || cmdsn_ret == CMDSN_LOWER_THAN_EXP) { in cxgbit_get_immediate_data()