| 1 |
.TH "libnvme" 9 "enum nvme_status_result" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
enum nvme_status_result \- Result of the device self-test operation |
| 4 |
.SH SYNOPSIS |
| 5 |
enum nvme_status_result { |
| 6 |
.br |
| 7 |
.BI " NVME_ST_RESULT_NO_ERR" |
| 8 |
, |
| 9 |
.br |
| 10 |
.br |
| 11 |
.BI " NVME_ST_RESULT_ABORTED" |
| 12 |
, |
| 13 |
.br |
| 14 |
.br |
| 15 |
.BI " NVME_ST_RESULT_CLR" |
| 16 |
, |
| 17 |
.br |
| 18 |
.br |
| 19 |
.BI " NVME_ST_RESULT_NS_REMOVED" |
| 20 |
, |
| 21 |
.br |
| 22 |
.br |
| 23 |
.BI " NVME_ST_RESULT_ABORTED_FORMAT" |
| 24 |
, |
| 25 |
.br |
| 26 |
.br |
| 27 |
.BI " NVME_ST_RESULT_FATAL_ERR" |
| 28 |
, |
| 29 |
.br |
| 30 |
.br |
| 31 |
.BI " NVME_ST_RESULT_UNKNOWN_SEG_FAIL" |
| 32 |
, |
| 33 |
.br |
| 34 |
.br |
| 35 |
.BI " NVME_ST_RESULT_KNOWN_SEG_FAIL" |
| 36 |
, |
| 37 |
.br |
| 38 |
.br |
| 39 |
.BI " NVME_ST_RESULT_ABORTED_UNKNOWN" |
| 40 |
, |
| 41 |
.br |
| 42 |
.br |
| 43 |
.BI " NVME_ST_RESULT_ABORTED_SANITIZE" |
| 44 |
, |
| 45 |
.br |
| 46 |
.br |
| 47 |
.BI " NVME_ST_RESULT_NOT_USED" |
| 48 |
, |
| 49 |
.br |
| 50 |
.br |
| 51 |
.BI " NVME_ST_RESULT_MASK" |
| 52 |
|
| 53 |
}; |
| 54 |
.SH Constants |
| 55 |
.IP "NVME_ST_RESULT_NO_ERR" 12 |
| 56 |
Operation completed without error. |
| 57 |
.IP "NVME_ST_RESULT_ABORTED" 12 |
| 58 |
Operation was aborted by a Device Self-test command. |
| 59 |
.IP "NVME_ST_RESULT_CLR" 12 |
| 60 |
Operation was aborted by a Controller Level Reset. |
| 61 |
.IP "NVME_ST_RESULT_NS_REMOVED" 12 |
| 62 |
Operation was aborted due to a removal of |
| 63 |
a namespace from the namespace inventory. |
| 64 |
.IP "NVME_ST_RESULT_ABORTED_FORMAT" 12 |
| 65 |
Operation was aborted due to the processing |
| 66 |
of a Format NVM command. |
| 67 |
.IP "NVME_ST_RESULT_FATAL_ERR" 12 |
| 68 |
A fatal error or unknown test error occurred |
| 69 |
while the controller was executing the device |
| 70 |
self-test operation and the operation did |
| 71 |
not complete. |
| 72 |
.IP "NVME_ST_RESULT_UNKNOWN_SEG_FAIL" 12 |
| 73 |
Operation completed with a segment that failed |
| 74 |
and the segment that failed is not known. |
| 75 |
.IP "NVME_ST_RESULT_KNOWN_SEG_FAIL" 12 |
| 76 |
Operation completed with one or more failed |
| 77 |
segments and the first segment that failed |
| 78 |
is indicated in the Segment Number field. |
| 79 |
.IP "NVME_ST_RESULT_ABORTED_UNKNOWN" 12 |
| 80 |
Operation was aborted for unknown reason. |
| 81 |
.IP "NVME_ST_RESULT_ABORTED_SANITIZE" 12 |
| 82 |
Operation was aborted due to a sanitize operation. |
| 83 |
.IP "NVME_ST_RESULT_NOT_USED" 12 |
| 84 |
Entry not used (does not contain a test result). |
| 85 |
.IP "NVME_ST_RESULT_MASK" 12 |
| 86 |
Mask to get the status result value from |
| 87 |
the \fIstruct nvme_st_result\fP.dsts field. |