枚举值 |
---|
RT_NVME_SC_SUCCESS | 0x0 | |
RT_NVME_SC_INVALID_OPCODE | 0x1 | |
RT_NVME_SC_INVALID_FIELD | 0x2 | |
RT_NVME_SC_CMDID_CONFLICT | 0x3 | |
RT_NVME_SC_DATA_XFER_ERROR | 0x4 | |
RT_NVME_SC_POWER_LOSS | 0x5 | |
RT_NVME_SC_INTERNAL | 0x6 | |
RT_NVME_SC_ABORT_REQ | 0x7 | |
RT_NVME_SC_ABORT_QUEUE | 0x8 | |
RT_NVME_SC_FUSED_FAIL | 0x9 | |
RT_NVME_SC_FUSED_MISSING | 0xa | |
RT_NVME_SC_INVALID_NS | 0xb | |
RT_NVME_SC_CMD_SEQ_ERROR | 0xc | |
RT_NVME_SC_SGL_INVALID_LAST | 0xd | |
RT_NVME_SC_SGL_INVALID_COUNT | 0xe | |
RT_NVME_SC_SGL_INVALID_DATA | 0xf | |
RT_NVME_SC_SGL_INVALID_METADATA | 0x10 | |
RT_NVME_SC_SGL_INVALID_TYPE | 0x11 | |
RT_NVME_SC_CMB_INVALID_USE | 0x12 | |
RT_NVME_SC_PRP_INVALID_OFFSET | 0x13 | |
RT_NVME_SC_ATOMIC_WU_EXCEEDED | 0x14 | |
RT_NVME_SC_OP_DENIED | 0x15 | |
RT_NVME_SC_SGL_INVALID_OFFSET | 0x16 | |
RT_NVME_SC_RESERVED | 0x17 | |
RT_NVME_SC_HOST_ID_INCONSIST | 0x18 | |
RT_NVME_SC_KA_TIMEOUT_EXPIRED | 0x19 | |
RT_NVME_SC_KA_TIMEOUT_INVALID | 0x1a | |
RT_NVME_SC_ABORTED_PREEMPT_ABORT | 0x1b | |
RT_NVME_SC_SANITIZE_FAILED | 0x1c | |
RT_NVME_SC_SANITIZE_IN_PROGRESS | 0x1d | |
RT_NVME_SC_SGL_INVALID_GRANULARITY | 0x1e | |
RT_NVME_SC_CMD_NOT_SUP_CMB_QUEUE | 0x1f | |
RT_NVME_SC_NS_WRITE_PROTECTED | 0x20 | |
RT_NVME_SC_CMD_INTERRUPTED | 0x21 | |
RT_NVME_SC_TRANSIENT_TR_ERR | 0x22 | |
RT_NVME_SC_ADMIN_COMMAND_MEDIA_NOT_READY | 0x24 | |
RT_NVME_SC_INVALID_IO_CMD_SET | 0x2c | |
RT_NVME_SC_LBA_RANGE | 0x80 | |
RT_NVME_SC_CAP_EXCEEDED | 0x81 | |
RT_NVME_SC_NS_NOT_READY | 0x82 | |
RT_NVME_SC_RESERVATION_CONFLICT | 0x83 | |
RT_NVME_SC_FORMAT_IN_PROGRESS | 0x84 | |
RT_NVME_SC_CQ_INVALID | 0x100 | |
RT_NVME_SC_QID_INVALID | 0x101 | |
RT_NVME_SC_QUEUE_SIZE | 0x102 | |
RT_NVME_SC_ABORT_LIMIT | 0x103 | |
RT_NVME_SC_ABORT_MISSING | 0x104 | |
RT_NVME_SC_ASYNC_LIMIT | 0x105 | |
RT_NVME_SC_FIRMWARE_SLOT | 0x106 | |
RT_NVME_SC_FIRMWARE_IMAGE | 0x107 | |
RT_NVME_SC_INVALID_VECTOR | 0x108 | |
RT_NVME_SC_INVALID_LOG_PAGE | 0x109 | |
RT_NVME_SC_INVALID_FORMAT | 0x10a | |
RT_NVME_SC_FW_NEEDS_CONV_RESET | 0x10b | |
RT_NVME_SC_INVALID_QUEUE | 0x10c | |
RT_NVME_SC_FEATURE_NOT_SAVEABLE | 0x10d | |
RT_NVME_SC_FEATURE_NOT_CHANGEABLE | 0x10e | |
RT_NVME_SC_FEATURE_NOT_PER_NS | 0x10f | |
RT_NVME_SC_FW_NEEDS_SUBSYS_RESET | 0x110 | |
RT_NVME_SC_FW_NEEDS_RESET | 0x111 | |
RT_NVME_SC_FW_NEEDS_MAX_TIME | 0x112 | |
RT_NVME_SC_FW_ACTIVATE_PROHIBITED | 0x113 | |
RT_NVME_SC_OVERLAPPING_RANGE | 0x114 | |
RT_NVME_SC_NS_INSUFFICIENT_CAP | 0x115 | |
RT_NVME_SC_NS_ID_UNAVAILABLE | 0x116 | |
RT_NVME_SC_NS_ALREADY_ATTACHED | 0x118 | |
RT_NVME_SC_NS_IS_PRIVATE | 0x119 | |
RT_NVME_SC_NS_NOT_ATTACHED | 0x11a | |
RT_NVME_SC_THIN_PROV_NOT_SUPP | 0x11b | |
RT_NVME_SC_CTRL_LIST_INVALID | 0x11c | |
RT_NVME_SC_SELT_TEST_IN_PROGRESS | 0x11d | |
RT_NVME_SC_BP_WRITE_PROHIBITED | 0x11e | |
RT_NVME_SC_CTRL_ID_INVALID | 0x11f | |
RT_NVME_SC_SEC_CTRL_STATE_INVALID | 0x120 | |
RT_NVME_SC_CTRL_RES_NUM_INVALID | 0x121 | |
RT_NVME_SC_RES_ID_INVALID | 0x122 | |
RT_NVME_SC_PMR_SAN_PROHIBITED | 0x123 | |
RT_NVME_SC_ANA_GROUP_ID_INVALID | 0x124 | |
RT_NVME_SC_ANA_ATTACH_FAILED | 0x125 | |
RT_NVME_SC_BAD_ATTRIBUTES | 0x180 | |
RT_NVME_SC_INVALID_PI | 0x181 | |
RT_NVME_SC_READ_ONLY | 0x182 | |
RT_NVME_SC_ONCS_NOT_SUPPORTED | 0x183 | |
RT_NVME_SC_CONNECT_FORMAT | 0x180 | |
RT_NVME_SC_CONNECT_CTRL_BUSY | 0x181 | |
RT_NVME_SC_CONNECT_INVALID_PARAM | 0x182 | |
RT_NVME_SC_CONNECT_RESTART_DISC | 0x183 | |
RT_NVME_SC_CONNECT_INVALID_HOST | 0x184 | |
RT_NVME_SC_DISCOVERY_RESTART | 0x190 | |
RT_NVME_SC_AUTH_REQUIRED | 0x191 | |
RT_NVME_SC_ZONE_BOUNDARY_ERROR | 0x1b8 | |
RT_NVME_SC_ZONE_FULL | 0x1b9 | |
RT_NVME_SC_ZONE_READ_ONLY | 0x1ba | |
RT_NVME_SC_ZONE_OFFLINE | 0x1bb | |
RT_NVME_SC_ZONE_INVALID_WRITE | 0x1bc | |
RT_NVME_SC_ZONE_TOO_MANY_ACTIVE | 0x1bd | |
RT_NVME_SC_ZONE_TOO_MANY_OPEN | 0x1be | |
RT_NVME_SC_ZONE_INVALID_TRANSITION | 0x1bf | |
RT_NVME_SC_WRITE_FAULT | 0x280 | |
RT_NVME_SC_READ_ERROR | 0x281 | |
RT_NVME_SC_GUARD_CHECK | 0x282 | |
RT_NVME_SC_APPTAG_CHECK | 0x283 | |
RT_NVME_SC_REFTAG_CHECK | 0x284 | |
RT_NVME_SC_COMPARE_FAILED | 0x285 | |
RT_NVME_SC_ACCESS_DENIED | 0x286 | |
RT_NVME_SC_UNWRITTEN_BLOCK | 0x287 | |
RT_NVME_SC_INTERNAL_PATH_ERROR | 0x300 | |
RT_NVME_SC_ANA_PERSISTENT_LOSS | 0x301 | |
RT_NVME_SC_ANA_INACCESSIBLE | 0x302 | |
RT_NVME_SC_ANA_TRANSITION | 0x303 | |
RT_NVME_SC_CTRL_PATH_ERROR | 0x360 | |
RT_NVME_SC_HOST_PATH_ERROR | 0x370 | |
RT_NVME_SC_HOST_ABORTED_CMD | 0x371 | |
RT_NVME_SC_CRD | 0x1800 | |
RT_NVME_SC_MORE | 0x2000 | |
RT_NVME_SC_DNR | 0x4000 | |
21{
22
23
24
62
68
69
70
71
109
110
111
112
117
118
119
120
126
129
130
131
132
141
142
143
144
153
154
155
156
164
168};
@ RT_NVME_SC_PMR_SAN_PROHIBITED
@ RT_NVME_SC_CMD_INTERRUPTED
@ RT_NVME_SC_INVALID_FIELD
@ RT_NVME_SC_ZONE_INVALID_TRANSITION
@ RT_NVME_SC_RESERVATION_CONFLICT
@ RT_NVME_SC_NS_ALREADY_ATTACHED
@ RT_NVME_SC_SEC_CTRL_STATE_INVALID
@ RT_NVME_SC_NS_ID_UNAVAILABLE
@ RT_NVME_SC_SGL_INVALID_TYPE
@ RT_NVME_SC_SGL_INVALID_METADATA
@ RT_NVME_SC_DATA_XFER_ERROR
@ RT_NVME_SC_CMD_NOT_SUP_CMB_QUEUE
@ RT_NVME_SC_FW_NEEDS_MAX_TIME
@ RT_NVME_SC_SGL_INVALID_OFFSET
@ RT_NVME_SC_ANA_INACCESSIBLE
@ RT_NVME_SC_ZONE_TOO_MANY_ACTIVE
@ RT_NVME_SC_NS_WRITE_PROTECTED
@ RT_NVME_SC_FIRMWARE_SLOT
@ RT_NVME_SC_ABORT_MISSING
@ RT_NVME_SC_CTRL_PATH_ERROR
@ RT_NVME_SC_ZONE_OFFLINE
@ RT_NVME_SC_SANITIZE_FAILED
@ RT_NVME_SC_FEATURE_NOT_SAVEABLE
@ RT_NVME_SC_ZONE_READ_ONLY
@ RT_NVME_SC_FEATURE_NOT_PER_NS
@ RT_NVME_SC_BAD_ATTRIBUTES
@ RT_NVME_SC_ZONE_BOUNDARY_ERROR
@ RT_NVME_SC_CONNECT_INVALID_HOST
@ RT_NVME_SC_OVERLAPPING_RANGE
@ RT_NVME_SC_ATOMIC_WU_EXCEEDED
@ RT_NVME_SC_SGL_INVALID_LAST
@ RT_NVME_SC_PRP_INVALID_OFFSET
@ RT_NVME_SC_NS_INSUFFICIENT_CAP
@ RT_NVME_SC_SGL_INVALID_DATA
@ RT_NVME_SC_ADMIN_COMMAND_MEDIA_NOT_READY
@ RT_NVME_SC_KA_TIMEOUT_INVALID
@ RT_NVME_SC_FW_NEEDS_CONV_RESET
@ RT_NVME_SC_CMB_INVALID_USE
@ RT_NVME_SC_NS_NOT_READY
@ RT_NVME_SC_BP_WRITE_PROHIBITED
@ RT_NVME_SC_THIN_PROV_NOT_SUPP
@ RT_NVME_SC_FW_NEEDS_RESET
@ RT_NVME_SC_FORMAT_IN_PROGRESS
@ RT_NVME_SC_ONCS_NOT_SUPPORTED
@ RT_NVME_SC_HOST_ABORTED_CMD
@ RT_NVME_SC_ZONE_TOO_MANY_OPEN
@ RT_NVME_SC_CONNECT_RESTART_DISC
@ RT_NVME_SC_HOST_ID_INCONSIST
@ RT_NVME_SC_REFTAG_CHECK
@ RT_NVME_SC_AUTH_REQUIRED
@ RT_NVME_SC_NS_NOT_ATTACHED
@ RT_NVME_SC_SANITIZE_IN_PROGRESS
@ RT_NVME_SC_SGL_INVALID_GRANULARITY
@ RT_NVME_SC_KA_TIMEOUT_EXPIRED
@ RT_NVME_SC_CTRL_RES_NUM_INVALID
@ RT_NVME_SC_COMPARE_FAILED
@ RT_NVME_SC_CONNECT_INVALID_PARAM
@ RT_NVME_SC_HOST_PATH_ERROR
@ RT_NVME_SC_ANA_PERSISTENT_LOSS
@ RT_NVME_SC_ANA_GROUP_ID_INVALID
@ RT_NVME_SC_ANA_TRANSITION
@ RT_NVME_SC_UNWRITTEN_BLOCK
@ RT_NVME_SC_NS_IS_PRIVATE
@ RT_NVME_SC_INVALID_VECTOR
@ RT_NVME_SC_ZONE_INVALID_WRITE
@ RT_NVME_SC_SGL_INVALID_COUNT
@ RT_NVME_SC_CTRL_ID_INVALID
@ RT_NVME_SC_ACCESS_DENIED
@ RT_NVME_SC_ANA_ATTACH_FAILED
@ RT_NVME_SC_CMDID_CONFLICT
@ RT_NVME_SC_FUSED_MISSING
@ RT_NVME_SC_CTRL_LIST_INVALID
@ RT_NVME_SC_CAP_EXCEEDED
@ RT_NVME_SC_INVALID_QUEUE
@ RT_NVME_SC_RES_ID_INVALID
@ RT_NVME_SC_ABORTED_PREEMPT_ABORT
@ RT_NVME_SC_INVALID_LOG_PAGE
@ RT_NVME_SC_INTERNAL_PATH_ERROR
@ RT_NVME_SC_CONNECT_FORMAT
@ RT_NVME_SC_FEATURE_NOT_CHANGEABLE
@ RT_NVME_SC_DISCOVERY_RESTART
@ RT_NVME_SC_APPTAG_CHECK
@ RT_NVME_SC_CONNECT_CTRL_BUSY
@ RT_NVME_SC_INVALID_FORMAT
@ RT_NVME_SC_FIRMWARE_IMAGE
@ RT_NVME_SC_FW_ACTIVATE_PROHIBITED
@ RT_NVME_SC_FW_NEEDS_SUBSYS_RESET
@ RT_NVME_SC_INVALID_OPCODE
@ RT_NVME_SC_INVALID_IO_CMD_SET
@ RT_NVME_SC_SELT_TEST_IN_PROGRESS
@ RT_NVME_SC_CMD_SEQ_ERROR
@ RT_NVME_SC_TRANSIENT_TR_ERR