---
name: "nvme_st_curr_op"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_st_curr_op"
---

# nvme\_st\_curr\_op(2)

Current Device Self-Test Operation

## NAME

enum nvme\_st\_curr\_op - Current Device Self-Test Operation

## SYNOPSIS

enum nvme\_st\_curr\_op {\
     **NVME\_ST\_CURR\_OP\_NOT\_RUNNING** , \
\
     **NVME\_ST\_CURR\_OP\_SHORT** , \
\
     **NVME\_ST\_CURR\_OP\_EXTENDED** , \
\
     **NVME\_ST\_CURR\_OP\_VS** , \
\
     **NVME\_ST\_CURR\_OP\_RESERVED** , \
\
     **NVME\_ST\_CURR\_OP\_MASK** , \
\
     **NVME\_ST\_CURR\_OP\_CMPL\_MASK**

};

## Constants

- NVME\_ST\_CURR\_OP\_NOT\_RUNNING

  No device self-test operation in progress.

- NVME\_ST\_CURR\_OP\_SHORT

  Short device self-test operation in progress.

- NVME\_ST\_CURR\_OP\_EXTENDED

  Extended device self-test operation in progress.

- NVME\_ST\_CURR\_OP\_VS

  Vendor specific.

- NVME\_ST\_CURR\_OP\_RESERVED

  Reserved.

- NVME\_ST\_CURR\_OP\_MASK

  Mask to get the current operation value from the *struct nvme\_self\_test\_log*.current\_operation field.

- NVME\_ST\_CURR\_OP\_CMPL\_MASK

  Mask to get the current operation completion value from the *struct nvme\_self\_test\_log*.completion field.
