---
name: "nvme_st_curr_op-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_st_curr_op-libnvme3"
---

# nvme\_st\_curr\_op-libnvme3(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\_SHIFT** , \
\
     **NVME\_ST\_CURR\_OP\_MASK** , \
\
     **NVME\_ST\_CURR\_OP\_CMPL\_SHIFT** , \
\
     **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\_SHIFT

  Device self-test operation status shift

- 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\_SHIFT

  Current device self-test completion shift

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

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