libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– 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