libnvme(9)
π enum nvme_pmrsts π
okay so bestie, we're in the libnvme(9) API manual, and this page is literally all about enum nvme_pmrsts β the field that tells you the persistent memory region status. no cap, that's the whole main character of this page π«Ά.
πΈ NAME πΈ
enum nvme_pmrsts β this field indicates the persistent memory region status. simple as that, bestie β¨.
π¦ SYNOPSIS π¦
okay here's the exact shape, copied character for character bc we do not mess with the source:
enum nvme_pmrsts {
NVME_PMRSTS_ERR_SHIFT ,
NVME_PMRSTS_NRDY_SHIFT ,
NVME_PMRSTS_HSTS_SHIFT ,
NVME_PMRSTS_CBAI_SHIFT ,
NVME_PMRSTS_ERR_MASK ,
NVME_PMRSTS_NRDY_MASK ,
NVME_PMRSTS_HSTS_MASK ,
NVME_PMRSTS_CBAI_MASK
};
π Constants π
these are all the constants in the enum, and yes every single one is here β no skipping the boring parts, that's the rules π :
NVME_PMRSTS_ERR_SHIFTβ shift amount to get the error.NVME_PMRSTS_NRDY_SHIFTβ shift amount to get the not ready.NVME_PMRSTS_HSTS_SHIFTβ shift amount to get the health status.NVME_PMRSTS_CBAI_SHIFTβ shift amount to get the controller base address invalid.NVME_PMRSTS_ERR_MASKβ mask to get the error.NVME_PMRSTS_NRDY_MASKβ mask to get the not ready.NVME_PMRSTS_HSTS_MASKβ mask to get the health status.NVME_PMRSTS_CBAI_MASKβ mask to get the controller base address invalid.
that's the whole thing, bestie π«Ά β from the libnvme(9) manual, footer source enum nvme_pmrsts, dated October 2026. slay β¨π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms