libnvme(9) API Manual libnvme(9)

# [NAME](#NAME)

enum nvme\_id\_ctrl\_dsto - Flags indicating the optional Device Self-test command or operation behaviors supported by the controller or NVM subsystem.

# [SYNOPSIS](#SYNOPSIS)

enum nvme\_id\_ctrl\_dsto {  
**NVME\_CTRL\_DSTO\_SDSO\_SHIFT** ,  
**NVME\_CTRL\_DSTO\_HIRS\_SHIFT** ,  
**NVME\_CTRL\_DSTO\_SDSO\_MASK** ,  
**NVME\_CTRL\_DSTO\_HIRS\_MASK** ,  
**NVME\_CTRL\_DSTO\_ONE\_DST** ,  
**NVME\_CTRL\_DSTO\_HIRS**

};

# [Constants](#Constants)

[NVME\_CTRL\_DSTO\_SDSO\_SHIFT](#NVME_CTRL_DSTO_SDSO_SHIFT)

Shift amount to get the value of Single Device Self-test Operation from Device Self-test Options field.

[NVME\_CTRL\_DSTO\_HIRS\_SHIFT](#NVME_CTRL_DSTO_HIRS_SHIFT)

Shift amount to get the value of Host-Initiated Refresh Support from Device Self-test Options field.

[NVME\_CTRL\_DSTO\_SDSO\_MASK](#NVME_CTRL_DSTO_SDSO_MASK)

Mask to get the value of Single Device Self-test Operation

[NVME\_CTRL\_DSTO\_HIRS\_MASK](#NVME_CTRL_DSTO_HIRS_MASK)

Mask to get the value of Host-Initiated Refresh Support

[NVME\_CTRL\_DSTO\_ONE\_DST](#NVME_CTRL_DSTO_ONE_DST)

If set, then the NVM subsystem supports only one device self-test operation in progress at a time. If cleared, then the NVM subsystem supports one device self-test operation per controller at a time.

[NVME\_CTRL\_DSTO\_HIRS](#NVME_CTRL_DSTO_HIRS)

If set, then the controller supports the Host-Initiated Refresh capability.

enum nvme\_id\_ctrl\_dsto October 2026

---

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