---
name: "nvme_status_result-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_status_result-libnvme3"
---

# nvme\_status\_result-libnvme3(2)

Result of the device self-test operation

## NAME

enum nvme\_status\_result - Result of the device self-test operation

## SYNOPSIS

enum nvme\_status\_result {\
     **NVME\_ST\_RESULT\_NO\_ERR** , \
\
     **NVME\_ST\_RESULT\_ABORTED** , \
\
     **NVME\_ST\_RESULT\_CLR** , \
\
     **NVME\_ST\_RESULT\_NS\_REMOVED** , \
\
     **NVME\_ST\_RESULT\_ABORTED\_FORMAT** , \
\
     **NVME\_ST\_RESULT\_FATAL\_ERR** , \
\
     **NVME\_ST\_RESULT\_UNKNOWN\_SEG\_FAIL** , \
\
     **NVME\_ST\_RESULT\_KNOWN\_SEG\_FAIL** , \
\
     **NVME\_ST\_RESULT\_ABORTED\_UNKNOWN** , \
\
     **NVME\_ST\_RESULT\_ABORTED\_SANITIZE** , \
\
     **NVME\_ST\_RESULT\_NOT\_USED** , \
\
     **NVME\_ST\_RESULT\_SHIFT** , \
\
     **NVME\_ST\_RESULT\_MASK**

};

## Constants

- NVME\_ST\_RESULT\_NO\_ERR

  Operation completed without error.

- NVME\_ST\_RESULT\_ABORTED

  Operation was aborted by a Device Self-test command.

- NVME\_ST\_RESULT\_CLR

  Operation was aborted by a Controller Level Reset.

- NVME\_ST\_RESULT\_NS\_REMOVED

  Operation was aborted due to a removal of a namespace from the namespace inventory.

- NVME\_ST\_RESULT\_ABORTED\_FORMAT

  Operation was aborted due to the processing of a Format NVM command.

- NVME\_ST\_RESULT\_FATAL\_ERR

  A fatal error or unknown test error occurred while the controller was executing the device self-test operation and the operation did not complete.

- NVME\_ST\_RESULT\_UNKNOWN\_SEG\_FAIL

  Operation completed with a segment that failed and the segment that failed is not known.

- NVME\_ST\_RESULT\_KNOWN\_SEG\_FAIL

  Operation completed with one or more failed segments and the first segment that failed is indicated in the Segment Number field.

- NVME\_ST\_RESULT\_ABORTED\_UNKNOWN

  Operation was aborted for unknown reason.

- NVME\_ST\_RESULT\_ABORTED\_SANITIZE

  Operation was aborted due to a sanitize operation.

- NVME\_ST\_RESULT\_NOT\_USED

  Entry not used (does not contain a test result).

- NVME\_ST\_RESULT\_SHIFT

  Device self-test result shift

- NVME\_ST\_RESULT\_MASK

  Mask to get the status result value from the *struct nvme\_st\_result*.dsts field.
