libnvme(9)
π 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
- 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