libnvme(2)

πŸ’– NAME πŸ’–

okay bestie, welcome to libnvme(2) β€” the API manual, no big deal πŸ’… β€” and today's main character is struct nvme_zns_desc, aka the Zone Descriptor Data Structure. it's giving "I hold the receipts on your zones." periodt ✨


🌸 SYNOPSIS 🌸

here's the whole girl, verbatim, don't touch her 🫢

struct nvme_zns_desc {
    __u8 zt;
    __u8 zs;
    __u8 za;
    __u8 zai;
    __u8 rsvd4[4];
    __le64 zcap;
    __le64 zslba;
    __le64 wp;
    __u8 rsvd32[32];
 };

πŸ¦‹ Members πŸ¦‹

✨ the field-by-field vibe check ✨

  • zt β€” Zone Type. literally which flavour of zone this is πŸ’–
  • zs β€” Zone State. the zone's current mood, fr fr 🌈
  • za β€” Zone Attributes. the lil extras it's carrying around πŸŽ€
  • zai β€” Zone Attributes Information. the ✨info✨ about those attributes, iykyk
  • rsvd4 β€” Reserved. not for you, bestie πŸ™ˆ hands off
  • zcap β€” Zone Capacity. how much it can hold, lowkey the important number πŸ‘‘
  • zslba β€” Zone Start Logical Block Address. where this zone begins, exactly, no cap πŸ“
  • wp β€” Write Pointer. where the writing is currently at πŸ”₯ main character of the write path honestly
  • rsvd32 β€” Reserved. also not for you πŸ’€ stay out of it
no cap on any of this β€” every single member is listed, every single one is accounted for. the reserved fields stay reserved. that is not a suggestion, that's the rules πŸ’…

πŸŽ€ that's the whole page πŸŽ€

and that's a wrap, angel! this was struct nvme_zns_desc from the libnvme(2) API Manual, dated July 2026 🌸 go forth and zone responsibly, you ate this fr fr πŸ’œπŸ§š

πŸ“¦ where this page comes from