libnvme(2)

πŸ’– libnvme β€” the enum nvme_id_ctrl_nvmsr page πŸ’–

okay bestie, welcome to the libnvme manual, section 2 (that's the API section, iykyk). this one's a lil baby page and it's literally all about one enum, but the way it eats?? we love a focused queen. πŸŽ€


✨ NAME ✨

enum nvme_id_ctrl_nvmsr β€” this field reports info that's associated with the NVM Subsystem, see &struct nvme_id_ctrl.nvmsr.

like, that's the whole vibe. it's a field. it tells you stuff about the NVM Subsystem. go look at &struct nvme_id_ctrl.nvmsr for the whole story. πŸ’…


🌸 SYNOPSIS 🌸

here's the shape of her, no cap:

enum nvme_id_ctrl_nvmsr {
    NVME_CTRL_NVMSR_NVMESD ,
    NVME_CTRL_NVMSR_NVMEE

};

two constants, one enum, zero drama. periooooodt. πŸ’…


πŸ¦‹ Constants πŸ¦‹

okay so these are the two girls in the group chat. here's what each one is actually saying:

  • NVME_CTRL_NVMSR_NVMESD β€” if this is set, then the NVM Subsystem is part of an NVMe Storage Device. if it's cleared, then the NVM Subsystem is not part of an NVMe Storage Device. that's it, that's the tea. πŸ“
  • NVME_CTRL_NVMSR_NVMEE β€” if this is set, then the NVM Subsystem is part of an NVMe Enclosure. if it's cleared, then the NVM Subsystem is not part of an NVMe Enclosure. iconic behavior honestly. ✨
fr fr: these are bit-style flags, bestie β€” "set" vs "cleared" is the whole language here, so don't go reading them as vibes, read them as bits. πŸ’…

and that's the page!! slay. 🫢

kisses, this was the enum nvme_id_ctrl_nvmsr page out of the libnvme API Manual, dated July 2026. go forth and check your nvmsr field, bestie, you've got this. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from