| 1 |
.TH "libnvme" 9 "enum nvme_smart_crit" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
enum nvme_smart_crit \- Critical Warning |
| 4 |
.SH SYNOPSIS |
| 5 |
enum nvme_smart_crit { |
| 6 |
.br |
| 7 |
.BI " NVME_SMART_CW_ASCBT_SHIFT" |
| 8 |
, |
| 9 |
.br |
| 10 |
.br |
| 11 |
.BI " NVME_SMART_CW_TTC_SHIFT" |
| 12 |
, |
| 13 |
.br |
| 14 |
.br |
| 15 |
.BI " NVME_SMART_CW_NDR_SHIFT" |
| 16 |
, |
| 17 |
.br |
| 18 |
.br |
| 19 |
.BI " NVME_SMART_CW_AMRO_SHIFT" |
| 20 |
, |
| 21 |
.br |
| 22 |
.br |
| 23 |
.BI " NVME_SMART_CW_VMBF_SHIFT" |
| 24 |
, |
| 25 |
.br |
| 26 |
.br |
| 27 |
.BI " NVME_SMART_CW_PMRRO_SHIFT" |
| 28 |
, |
| 29 |
.br |
| 30 |
.br |
| 31 |
.BI " NVME_SMART_CW_ASCBT_MASK" |
| 32 |
, |
| 33 |
.br |
| 34 |
.br |
| 35 |
.BI " NVME_SMART_CW_TTC_MASK" |
| 36 |
, |
| 37 |
.br |
| 38 |
.br |
| 39 |
.BI " NVME_SMART_CW_NDR_MASK" |
| 40 |
, |
| 41 |
.br |
| 42 |
.br |
| 43 |
.BI " NVME_SMART_CW_AMRO_MASK" |
| 44 |
, |
| 45 |
.br |
| 46 |
.br |
| 47 |
.BI " NVME_SMART_CW_VMBF_MASK" |
| 48 |
, |
| 49 |
.br |
| 50 |
.br |
| 51 |
.BI " NVME_SMART_CW_PMRRO_MASK" |
| 52 |
, |
| 53 |
.br |
| 54 |
.br |
| 55 |
.BI " NVME_SMART_CRIT_SPARE" |
| 56 |
, |
| 57 |
.br |
| 58 |
.br |
| 59 |
.BI " NVME_SMART_CRIT_TEMPERATURE" |
| 60 |
, |
| 61 |
.br |
| 62 |
.br |
| 63 |
.BI " NVME_SMART_CRIT_DEGRADED" |
| 64 |
, |
| 65 |
.br |
| 66 |
.br |
| 67 |
.BI " NVME_SMART_CRIT_MEDIA" |
| 68 |
, |
| 69 |
.br |
| 70 |
.br |
| 71 |
.BI " NVME_SMART_CRIT_VOLATILE_MEMORY" |
| 72 |
, |
| 73 |
.br |
| 74 |
.br |
| 75 |
.BI " NVME_SMART_CRIT_PMR_RO" |
| 76 |
|
| 77 |
}; |
| 78 |
.SH Constants |
| 79 |
.IP "NVME_SMART_CW_ASCBT_SHIFT" 12 |
| 80 |
Shift amount to get the available spare capacity has fallen |
| 81 |
below the threshold. |
| 82 |
.IP "NVME_SMART_CW_TTC_SHIFT" 12 |
| 83 |
Shift amount to get the temperature is either greater |
| 84 |
than or equal to an over temperature threshold; or |
| 85 |
less than or equal to an under temperature threshold. |
| 86 |
.IP "NVME_SMART_CW_NDR_SHIFT" 12 |
| 87 |
Shift amount to get the NVM subsystem reliability has |
| 88 |
been degraded due to significant media related errors |
| 89 |
or any internal error that degrades NVM subsystem |
| 90 |
reliability. |
| 91 |
.IP "NVME_SMART_CW_AMRO_SHIFT" 12 |
| 92 |
Shift amount to get the all of the media has been placed in read |
| 93 |
only mode. The controller shall not set this bit if |
| 94 |
the read-only condition on the media is a result of |
| 95 |
a change in the write protection state of a namespace. |
| 96 |
.IP "NVME_SMART_CW_VMBF_SHIFT" 12 |
| 97 |
Shift amount to get the volatile memory backup |
| 98 |
device has failed. This field is only valid if the |
| 99 |
controller has a volatile memory backup solution. |
| 100 |
.IP "NVME_SMART_CW_PMRRO_SHIFT" 12 |
| 101 |
Shift amount to get the Persistent Memory Region has become |
| 102 |
read-only or unreliable. |
| 103 |
.IP "NVME_SMART_CW_ASCBT_MASK" 12 |
| 104 |
If set, then the available spare capacity has fallen |
| 105 |
below the threshold. |
| 106 |
.IP "NVME_SMART_CW_TTC_MASK" 12 |
| 107 |
Mask to get the temperature is either greater |
| 108 |
than or equal to an over temperature threshold; or |
| 109 |
less than or equal to an under temperature threshold. |
| 110 |
.IP "NVME_SMART_CW_NDR_MASK" 12 |
| 111 |
Mask to get the NVM subsystem reliability has |
| 112 |
been degraded due to significant media related errors |
| 113 |
or any internal error that degrades NVM subsystem |
| 114 |
reliability. |
| 115 |
.IP "NVME_SMART_CW_AMRO_MASK" 12 |
| 116 |
Mask to get the all of the media has been placed in read |
| 117 |
only mode. The controller shall not set this bit if |
| 118 |
the read-only condition on the media is a result of |
| 119 |
a change in the write protection state of a namespace. |
| 120 |
.IP "NVME_SMART_CW_VMBF_MASK" 12 |
| 121 |
Mask to get the volatile memory backup |
| 122 |
device has failed. This field is only valid if the |
| 123 |
controller has a volatile memory backup solution. |
| 124 |
.IP "NVME_SMART_CW_PMRRO_MASK" 12 |
| 125 |
Mask to get the Persistent Memory Region has become |
| 126 |
read-only or unreliable. |
| 127 |
.IP "NVME_SMART_CRIT_SPARE" 12 |
| 128 |
If set, then the available spare capacity has fallen |
| 129 |
below the threshold. |
| 130 |
.IP "NVME_SMART_CRIT_TEMPERATURE" 12 |
| 131 |
If set, then a temperature is either greater |
| 132 |
than or equal to an over temperature threshold; or |
| 133 |
less than or equal to an under temperature threshold. |
| 134 |
.IP "NVME_SMART_CRIT_DEGRADED" 12 |
| 135 |
If set, then the NVM subsystem reliability has |
| 136 |
been degraded due to significant media related errors |
| 137 |
or any internal error that degrades NVM subsystem |
| 138 |
reliability. |
| 139 |
.IP "NVME_SMART_CRIT_MEDIA" 12 |
| 140 |
If set, then all of the media has been placed in read |
| 141 |
only mode. The controller shall not set this bit if |
| 142 |
the read-only condition on the media is a result of |
| 143 |
a change in the write protection state of a namespace. |
| 144 |
.IP "NVME_SMART_CRIT_VOLATILE_MEMORY" 12 |
| 145 |
If set, then the volatile memory backup |
| 146 |
device has failed. This field is only valid if the |
| 147 |
controller has a volatile memory backup solution. |
| 148 |
.IP "NVME_SMART_CRIT_PMR_RO" 12 |
| 149 |
If set, then the Persistent Memory Region has become |
| 150 |
read-only or unreliable. |