libnvme(9) API Manual libnvme(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#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](#Constants)

[NVME\_ST\_CURR\_OP\_NOT\_RUNNING](#NVME_ST_CURR_OP_NOT_RUNNING)

No device self-test operation in progress.

[NVME\_ST\_CURR\_OP\_SHORT](#NVME_ST_CURR_OP_SHORT)

Short device self-test operation in progress.

[NVME\_ST\_CURR\_OP\_EXTENDED](#NVME_ST_CURR_OP_EXTENDED)

Extended device self-test operation in progress.

[NVME\_ST\_CURR\_OP\_VS](#NVME_ST_CURR_OP_VS)

Vendor specific.

[NVME\_ST\_CURR\_OP\_RESERVED](#NVME_ST_CURR_OP_RESERVED)

Reserved.

[NVME\_ST\_CURR\_OP\_SHIFT](#NVME_ST_CURR_OP_SHIFT)

Device self-test operation status shift

[NVME\_ST\_CURR\_OP\_MASK](#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](#NVME_ST_CURR_OP_CMPL_SHIFT)

Current device self-test completion shift

[NVME\_ST\_CURR\_OP\_CMPL\_MASK](#NVME_ST_CURR_OP_CMPL_MASK)

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

enum nvme\_st\_curr\_op October 2026

---

Document: nvme_st_curr_op-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
