libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– libnvme(9) πŸ’–

okay so bestie, welcome to the libnvme API manual, section 9 β€” and today's main character is a tiny little enum that's gonna make your zoned namespace game absolutely slay. no cap, it's giving "small but iconic". πŸŽ€


✨ NAME ✨

enum nvme_zns_id_ctrl_zctratt β€” the Zoned Controller Attributes, aka the vibe check for what your zoned controller can actually do 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

enum nvme_zns_id_ctrl_zctratt {
    NVME_ZNS_CTRL_ZCTRATT_ZNRM_SHIFT ,
    NVME_ZNS_CTRL_ZCTRATT_ZNRM_MASK

};

πŸ‘‘ Constants πŸ‘‘

okay so there are literally TWO constants here and they're both about the same thing: ZNRM, which is short for Zoned Namespace Resource Management (say it with me, bestie 🫢). one gets you the shift, the other gets you the mask. iconic duo behaviour fr fr.

  • NVME_ZNS_CTRL_ZCTRATT_ZNRM_SHIFT β€” the shift amount you use to get Zoned Namespace Resource Management (ZNRM). like, you shift, and ZNRM comes out the other side ✨
  • NVME_ZNS_CTRL_ZCTRATT_ZNRM_MASK β€” the mask you use to get ZNRM. mask it, extract it, done πŸ’…
ngl bestie, that's the whole page. two constants, one ZNRM, zero drama. sometimes a legend is short and sweet πŸ“

and that's the entire page, no crumbs left behind πŸ˜­πŸ’œ this was enum nvme_zns_id_ctrl_zctratt from the libnvme(9) manual, October 2026 edition β€” go forth and manage those zoned namespace resources, you absolute icon ⭐🌈πŸ”₯

πŸ“¦ where this page comes from