libnvme(2)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the libnvme API manual (section 2 ofc, we're fancy here) πŸŽ€ and today's main character is literally:

enum nvme_mi_ccs β€” Get State Control Primitive Success Response Fields β€” Control Primitive Specific Response

that's it. that's the whole thing. it's giving "tiny enum, big responsibilities" ✨


🌸 SYNOPSIS 🌸

here's the whole squad, exactly as they show up in the header, no edits, no vibes-based renaming, i promise 🫢

enum nvme_mi_ccs {
    NVME_MI_CCS_RDY ,
    NVME_MI_CCS_CFS ,
    NVME_MI_CCS_SHST ,
    NVME_MI_CCS_NSSRO ,
    NVME_MI_CCS_CECO ,
    NVME_MI_CCS_NAC ,
    NVME_MI_CCS_FA ,
    NVME_MI_CCS_CSTS ,
    NVME_MI_CCS_CTEMP ,
    NVME_MI_CCS_PDLU ,
    NVME_MI_CCS_SPARE ,
    NVME_MI_CCS_CCWARN

};

like. look at that. twelve little constants, all lined up, all ready to tell you what a Control Primitive Specific Response is actually saying πŸ‘‘


⭐ Constants ⭐

okay so each one of these is a bit flag situation and here's what each one means, one by one, no skipping, no "you get the idea" energy, because you DO deserve the whole list πŸ’…

  • NVME_MI_CCS_RDY β€” Ready ✨ (yes queen, you're ready)
  • NVME_MI_CCS_CFS β€” Controller Fatal Status 😭 (not slay. very not slay.)
  • NVME_MI_CCS_SHST β€” Shutdown Status πŸ¦‹
  • NVME_MI_CCS_NSSRO β€” NVM Subsystem Reset Occurred 🌈
  • NVME_MI_CCS_CECO β€” Controller Enable Change Occurred πŸ”₯
  • NVME_MI_CCS_NAC β€” Namespace Attribute Changed πŸŽ€
  • NVME_MI_CCS_FA β€” Firmware Activated πŸ’«
  • NVME_MI_CCS_CSTS β€” Controller Status Change πŸ‘‘
  • NVME_MI_CCS_CTEMP β€” Composite Temperature Change 🌑️
  • NVME_MI_CCS_PDLU β€” Percentage Used πŸ“
  • NVME_MI_CCS_SPARE β€” Available Spare πŸ’œ
  • NVME_MI_CCS_CCWARN β€” Critical Warning πŸ’€
ngl bestie, if NVME_MI_CCS_CFS or NVME_MI_CCS_CCWARN light up, that's your cue to sit up straight. the enum is literally just reporting, it's not fixing anything for you πŸ™ˆ

and that's genuinely the whole enum β€” twelve constants, no hidden bonuses, no extra flags hiding in the back, and the array closes with that little spare blank line before the closing brace because that's just how the header rolls 😌


that's the page!! go forth and vibe check your Control Primitive Specific Response fields, i'm obsessed with you, mwah πŸ’–βœ¨

signing off from the libnvme API manual, page enum nvme_mi_ccs, section libnvme(2) β€” dated July 2026. periodt. πŸŽ€

πŸ“¦ where this page comes from