/usr/src/linux-headers-5.15.0-190/include/scsi
NameSizeModeActions
fc/-0755rm
fcoe_sysfs.h32230644editdlrm
fc_frame.h71990644editdlrm
iscsi_if.h262160644editdlrm
iscsi_proto.h159150644editdlrm
iser.h23970644editdlrm
libfc.h316760644editdlrm
libfcoe.h137210644editdlrm
libiscsi.h148010644editdlrm
libiscsi_tcp.h38940644editdlrm
libsas.h188660644editdlrm
sas.h128120644editdlrm
sas_ata.h21280644editdlrm
scsi.h59190644editdlrm
scsicam.h6360644editdlrm
scsi_bsg_iscsi.h22110644editdlrm
scsi_cmnd.h109410644editdlrm
scsi_common.h23290644editdlrm
scsi_dbg.h21320644editdlrm
scsi_device.h220340644editdlrm
scsi_devinfo.h38350644editdlrm
scsi_dh.h26010644editdlrm
scsi_driver.h8970644editdlrm
scsi_eh.h16740644editdlrm
scsi_host.h276970644editdlrm
scsi_ioctl.h15510644editdlrm
scsi_proto.h107060644editdlrm
scsi_request.h6200644editdlrm
scsi_status.h27810644editdlrm
scsi_tcq.h9930644editdlrm
scsi_transport.h26150644editdlrm
scsi_transport_fc.h287230644editdlrm
scsi_transport_iscsi.h179270644editdlrm
scsi_transport_sas.h70100644editdlrm
scsi_transport_spi.h66900644editdlrm
scsi_transport_srp.h48830644editdlrm
sg.h151640644editdlrm
srp.h70200644editdlrm
viosrp.h55400644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/include/scsi/scsi_status.h (2781B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SCSI_SCSI_STATUS_H #define _SCSI_SCSI_STATUS_H #include #include /* Message codes. */ enum scsi_msg_byte { COMMAND_COMPLETE = 0x00, EXTENDED_MESSAGE = 0x01, SAVE_POINTERS = 0x02, RESTORE_POINTERS = 0x03, DISCONNECT = 0x04, INITIATOR_ERROR = 0x05, ABORT_TASK_SET = 0x06, MESSAGE_REJECT = 0x07, NOP = 0x08, MSG_PARITY_ERROR = 0x09, LINKED_CMD_COMPLETE = 0x0a, LINKED_FLG_CMD_COMPLETE = 0x0b, TARGET_RESET = 0x0c, ABORT_TASK = 0x0d, CLEAR_TASK_SET = 0x0e, INITIATE_RECOVERY = 0x0f, /* SCSI-II only */ RELEASE_RECOVERY = 0x10, /* SCSI-II only */ TERMINATE_IO_PROC = 0x11, /* SCSI-II only */ CLEAR_ACA = 0x16, LOGICAL_UNIT_RESET = 0x17, SIMPLE_QUEUE_TAG = 0x20, HEAD_OF_QUEUE_TAG = 0x21, ORDERED_QUEUE_TAG = 0x22, IGNORE_WIDE_RESIDUE = 0x23, ACA = 0x24, QAS_REQUEST = 0x55, /* Old SCSI2 names, don't use in new code */ BUS_DEVICE_RESET = TARGET_RESET, ABORT = ABORT_TASK_SET, }; /* Host byte codes. */ enum scsi_host_status { DID_OK = 0x00, /* NO error */ DID_NO_CONNECT = 0x01, /* Couldn't connect before timeout period */ DID_BUS_BUSY = 0x02, /* BUS stayed busy through time out period */ DID_TIME_OUT = 0x03, /* TIMED OUT for other reason */ DID_BAD_TARGET = 0x04, /* BAD target. */ DID_ABORT = 0x05, /* Told to abort for some other reason */ DID_PARITY = 0x06, /* Parity error */ DID_ERROR = 0x07, /* Internal error */ DID_RESET = 0x08, /* Reset by somebody. */ DID_BAD_INTR = 0x09, /* Got an interrupt we weren't expecting. */ DID_PASSTHROUGH = 0x0a, /* Force command past mid-layer */ DID_SOFT_ERROR = 0x0b, /* The low level driver just wish a retry */ DID_IMM_RETRY = 0x0c, /* Retry without decrementing retry count */ DID_REQUEUE = 0x0d, /* Requeue command (no immediate retry) also * without decrementing the retry count */ DID_TRANSPORT_DISRUPTED = 0x0e, /* Transport error disrupted execution * and the driver blocked the port to * recover the link. Transport class will * retry or fail IO */ DID_TRANSPORT_FAILFAST = 0x0f, /* Transport class fastfailed the io */ DID_TARGET_FAILURE = 0x10, /* Permanent target failure, do not retry on * other paths */ DID_NEXUS_FAILURE = 0x11, /* Permanent nexus failure, retry on other * paths might yield different results */ DID_ALLOC_FAILURE = 0x12, /* Space allocation on the device failed */ DID_MEDIUM_ERROR = 0x13, /* Medium error */ DID_TRANSPORT_MARGINAL = 0x14, /* Transport marginal errors */ }; #endif /* _SCSI_SCSI_STATUS_H */