libnvme(9)

πŸ“¦ version 3.2, in arch rolling

libnvme(9)

okay so bestie, welcome to the API Manual πŸ’– this is the page for libnvme, and we're about to talk about one specific little enum. grab a snack, it's gonna be cute and it's gonna be thorough.


✨ NAME ✨

enum nvme_zns_id_ns_ozcs β€” Optional Zoned Command Support

yes that's the whole name. it's a mouthful, i know. say it three times fast and you summon a ZNS drive 🧚


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing, exactly as it lives, no cap:

enum nvme_zns_id_ns_ozcs {
    NVME_ZNS_ID_NS_OZCS_RAZB_SHIFT ,
    NVME_ZNS_ID_NS_OZCS_RAZB_MASK ,
    NVME_ZNS_ID_NS_OZCS_ZRWASUP_SHIFT ,
    NVME_ZNS_ID_NS_OZCS_ZRWASUP_MASK

};

four constants. that's the whole enum. it's giving minimal, it's giving "i have a job and i do it" πŸ’…


πŸ‘‘ Constants

each one of these is a little helper for pulling info out of the optional zoned command support bits. let's meet them 🫢

  • NVME_ZNS_ID_NS_OZCS_RAZB_SHIFT β€” the shift amount you use to get Read Across Zone Boundaries (RAZB). it's the "how far do i slide over" number, bestie ✨
  • NVME_ZNS_ID_NS_OZCS_RAZB_MASK β€” the mask you use to get RAZB. slide first, then mask. that's the whole routine πŸŽ€
  • NVME_ZNS_ID_NS_OZCS_ZRWASUP_SHIFT β€” the shift amount you use to get ZRWA Supported (ZRWASUP). another shift, another slay πŸ”₯
  • NVME_ZNS_ID_NS_OZCS_ZRWASUP_MASK β€” the mask you use to get ZRWASUP. mask goes brrr, info comes out ⭐
ngl, these four are a matched set: two shifts, two masks. shift gets you into position, mask keeps only the bits you actually want. iconic teamwork fr fr 🌈

and that's the page!! short and sweet, just how we like it πŸ“

kisses and bitwise love, this was enum nvme_zns_id_ns_ozcs from the libnvme(9) API Manual, dated October 2026 πŸ’œ see you in the next manpage, bestie β€” mwah 😭✨

πŸ“¦ where this page comes from