libnvme(9) API Manual libnvme(9)

# [NAME](#NAME)

enum nvme\_smart\_crit - Critical Warning

# [SYNOPSIS](#SYNOPSIS)

enum nvme\_smart\_crit {  
**NVME\_SMART\_CW\_ASCBT\_SHIFT** ,  
**NVME\_SMART\_CW\_TTC\_SHIFT** ,  
**NVME\_SMART\_CW\_NDR\_SHIFT** ,  
**NVME\_SMART\_CW\_AMRO\_SHIFT** ,  
**NVME\_SMART\_CW\_VMBF\_SHIFT** ,  
**NVME\_SMART\_CW\_PMRRO\_SHIFT** ,  
**NVME\_SMART\_CW\_IPS\_SHIFT** ,  
**NVME\_SMART\_CW\_ASCBT\_MASK** ,  
**NVME\_SMART\_CW\_TTC\_MASK** ,  
**NVME\_SMART\_CW\_NDR\_MASK** ,  
**NVME\_SMART\_CW\_AMRO\_MASK** ,  
**NVME\_SMART\_CW\_VMBF\_MASK** ,  
**NVME\_SMART\_CW\_PMRRO\_MASK** ,  
**NVME\_SMART\_CW\_IPS\_MASK** ,  
**NVME\_SMART\_CRIT\_SPARE** ,  
**NVME\_SMART\_CRIT\_TEMPERATURE** ,  
**NVME\_SMART\_CRIT\_DEGRADED** ,  
**NVME\_SMART\_CRIT\_MEDIA** ,  
**NVME\_SMART\_CRIT\_VOLATILE\_MEMORY** ,  
**NVME\_SMART\_CRIT\_PMR\_RO** ,  
**NVME\_SMART\_CRIT\_INDETERMINATE\_PERSONALITY**

};

# [Constants](#Constants)

[NVME\_SMART\_CW\_ASCBT\_SHIFT](#NVME_SMART_CW_ASCBT_SHIFT)

Shift amount to get the available spare capacity has fallen below the threshold.

[NVME\_SMART\_CW\_TTC\_SHIFT](#NVME_SMART_CW_TTC_SHIFT)

Shift amount to get the temperature is either greater than or equal to an over temperature threshold; or less than or equal to an under temperature threshold.

[NVME\_SMART\_CW\_NDR\_SHIFT](#NVME_SMART_CW_NDR_SHIFT)

Shift amount to get the NVM subsystem reliability has been degraded due to significant media related errors or any internal error that degrades NVM subsystem reliability.

[NVME\_SMART\_CW\_AMRO\_SHIFT](#NVME_SMART_CW_AMRO_SHIFT)

Shift amount to get the all of the media has been placed in read only mode. The controller shall not set this bit if the read-only condition on the media is a result of a change in the write protection state of a namespace.

[NVME\_SMART\_CW\_VMBF\_SHIFT](#NVME_SMART_CW_VMBF_SHIFT)

Shift amount to get the volatile memory backup device has failed. This field is only valid if the controller has a volatile memory backup solution.

[NVME\_SMART\_CW\_PMRRO\_SHIFT](#NVME_SMART_CW_PMRRO_SHIFT)

Shift amount to get the Persistent Memory Region has become read-only or unreliable.

[NVME\_SMART\_CW\_IPS\_SHIFT](#NVME_SMART_CW_IPS_SHIFT)

Shift amount to get the indeterminate Personality State.

[NVME\_SMART\_CW\_ASCBT\_MASK](#NVME_SMART_CW_ASCBT_MASK)

If set, then the available spare capacity has fallen below the threshold.

[NVME\_SMART\_CW\_TTC\_MASK](#NVME_SMART_CW_TTC_MASK)

Mask to get the temperature is either greater than or equal to an over temperature threshold; or less than or equal to an under temperature threshold.

[NVME\_SMART\_CW\_NDR\_MASK](#NVME_SMART_CW_NDR_MASK)

Mask to get the NVM subsystem reliability has been degraded due to significant media related errors or any internal error that degrades NVM subsystem reliability.

[NVME\_SMART\_CW\_AMRO\_MASK](#NVME_SMART_CW_AMRO_MASK)

Mask to get the all of the media has been placed in read only mode. The controller shall not set this bit if the read-only condition on the media is a result of a change in the write protection state of a namespace.

[NVME\_SMART\_CW\_VMBF\_MASK](#NVME_SMART_CW_VMBF_MASK)

Mask to get the volatile memory backup device has failed. This field is only valid if the controller has a volatile memory backup solution.

[NVME\_SMART\_CW\_PMRRO\_MASK](#NVME_SMART_CW_PMRRO_MASK)

Mask to get the Persistent Memory Region has become read-only or unreliable.

[NVME\_SMART\_CW\_IPS\_MASK](#NVME_SMART_CW_IPS_MASK)

Mask to get the indeterminate Personality State.

[NVME\_SMART\_CRIT\_SPARE](#NVME_SMART_CRIT_SPARE)

If set, then the available spare capacity has fallen below the threshold.

[NVME\_SMART\_CRIT\_TEMPERATURE](#NVME_SMART_CRIT_TEMPERATURE)

If set, then a temperature is either greater than or equal to an over temperature threshold; or less than or equal to an under temperature threshold.

[NVME\_SMART\_CRIT\_DEGRADED](#NVME_SMART_CRIT_DEGRADED)

If set, then the NVM subsystem reliability has been degraded due to significant media related errors or any internal error that degrades NVM subsystem reliability.

[NVME\_SMART\_CRIT\_MEDIA](#NVME_SMART_CRIT_MEDIA)

If set, then all of the media has been placed in read only mode. The controller shall not set this bit if the read-only condition on the media is a result of a change in the write protection state of a namespace.

[NVME\_SMART\_CRIT\_VOLATILE\_MEMORY](#NVME_SMART_CRIT_VOLATILE_MEMORY)

If set, then the volatile memory backup device has failed. This field is only valid if the controller has a volatile memory backup solution.

[NVME\_SMART\_CRIT\_PMR\_RO](#NVME_SMART_CRIT_PMR_RO)

If set, then the Persistent Memory Region has become read-only or unreliable.

[NVME\_SMART\_CRIT\_INDETERMINATE\_PERSONALITY](#NVME_SMART_CRIT_INDETERMINATE_PERSONALITY)

If set, then a requested change to the settings of a Configurable Device Personality did not complete successfully and the controller was not able to revert to the previous settings of that personality.

enum nvme\_smart\_crit October 2026

---

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