summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_status_result.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_status_result.2')
-rw-r--r--doc/man/nvme_status_result.287
1 files changed, 87 insertions, 0 deletions
diff --git a/doc/man/nvme_status_result.2 b/doc/man/nvme_status_result.2
new file mode 100644
index 0000000..e1e51ad
--- /dev/null
+++ b/doc/man/nvme_status_result.2
@@ -0,0 +1,87 @@
+.TH "libnvme" 9 "enum nvme_status_result" "April 2022" "API Manual" LINUX
+.SH NAME
+enum nvme_status_result \- Result of the device self-test operation
+.SH SYNOPSIS
+enum nvme_status_result {
+.br
+.BI " NVME_ST_RESULT_NO_ERR"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_ABORTED"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_CLR"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_NS_REMOVED"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_ABORTED_FORMAT"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_FATAL_ERR"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_UNKNOWN_SEG_FAIL"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_KNOWN_SEG_FAIL"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_ABORTED_UNKNOWN"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_ABORTED_SANITIZE"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_NOT_USED"
+,
+.br
+.br
+.BI " NVME_ST_RESULT_MASK"
+
+};
+.SH Constants
+.IP "NVME_ST_RESULT_NO_ERR" 12
+Operation completed without error.
+.IP "NVME_ST_RESULT_ABORTED" 12
+Operation was aborted by a Device Self-test command.
+.IP "NVME_ST_RESULT_CLR" 12
+Operation was aborted by a Controller Level Reset.
+.IP "NVME_ST_RESULT_NS_REMOVED" 12
+Operation was aborted due to a removal of
+a namespace from the namespace inventory.
+.IP "NVME_ST_RESULT_ABORTED_FORMAT" 12
+Operation was aborted due to the processing
+of a Format NVM command.
+.IP "NVME_ST_RESULT_FATAL_ERR" 12
+A fatal error or unknown test error occurred
+while the controller was executing the device
+self-test operation and the operation did
+not complete.
+.IP "NVME_ST_RESULT_UNKNOWN_SEG_FAIL" 12
+Operation completed with a segment that failed
+and the segment that failed is not known.
+.IP "NVME_ST_RESULT_KNOWN_SEG_FAIL" 12
+Operation completed with one or more failed
+segments and the first segment that failed
+is indicated in the Segment Number field.
+.IP "NVME_ST_RESULT_ABORTED_UNKNOWN" 12
+Operation was aborted for unknown reason.
+.IP "NVME_ST_RESULT_ABORTED_SANITIZE" 12
+Operation was aborted due to a sanitize operation.
+.IP "NVME_ST_RESULT_NOT_USED" 12
+Entry not used (does not contain a test result).
+.IP "NVME_ST_RESULT_MASK" 12
+Mask to get the status result value from
+the \fIstruct nvme_st_result\fP.dsts field.