libnvme(2)

πŸ’– NAME πŸ’–

struct nvme_id_domain_attr β€” the Domain Attributes Entry, bestie πŸ’… and yeah, this is a page from the libnvme API manual, so you know it's the real deal.


✨ SYNOPSIS ✨

struct nvme_id_domain_attr {
    __le16 dom_id;
    __u8 rsvd2[14];
    __u8 dom_cap[16];
    __u8 unalloc_dom_cap[16];
    __u8 max_egrp_dom_cap[16];
    __u8 rsvd64[64];
 };

πŸŽ€ Members πŸŽ€

okay so like, meet the whole squad, one field at a time 🫢

  • dom_id β€” the Domain Identifier. it's giving "which domain am I" energy πŸͺͺ
  • rsvd2 β€” Reserved. nothing to see here, it's just vibing πŸ™ˆ
  • dom_cap β€” the Total Domain Capacity. lowkey the main character of this struct πŸ‘‘
  • unalloc_dom_cap β€” the Unallocated Domain Capacity. aka the capacity that hasn't been claimed yet ✨
  • max_egrp_dom_cap β€” the Max Endurance Group Domain Capacity. say that five times fast, I dare you 😭
  • rsvd64 β€” Reserved. more reserved than me at a party fr fr πŸ’€

no cap: those rsvd* fields are Reserved. don't go writing your own lore into them, bestie, they're not yours to fill 🌸

and that's the whole page, periodt πŸ’œ this was libnvme(2), the API manual, from back in July 2026 β€” mwah, slay, go forth and query your domains πŸ¦‹

πŸ“¦ where this page comes from