libnvme(2)

πŸ’– libnvme(2) β€” API Manual πŸ’–

okay bestie, welcome to the libnvme API manual, page 2, and today's main character is a little struct called nvme_ns_list πŸ’… no cap, it's giving "small but booked and busy."


✨ NAME ✨

struct nvme_ns_list β€” Namespace List πŸŽ€

✨ SYNOPSIS ✨

here's the whole vibe, verbatim, don't touch a character:

struct nvme_ns_list {
    __le32 ns[NVME_ID_NS_LIST_MAX];
 };

✨ Members ✨

  • ns β€” Namespace Identifier πŸ¦‹

and that's literally it, she's a one-member wonder and we're obsessed with her for it πŸ’œ

fr fr: ns is a __le32 array of size NVME_ID_NS_LIST_MAX, so it's a whole lineup of Namespace Identifiers, not just one lonely little number. little-endian, always. iykyk 🌸

so like, to recap the whole entire thing:

  • the struct is struct nvme_ns_list ✨
  • it holds exactly one member, ns 🌈
  • ns is a Namespace Identifier πŸ‘‘
  • type is __le32, array size is NVME_ID_NS_LIST_MAX, both exactly as written, no edits, periodt πŸ’…

and that's the page, bestie 🫢 this was API Manual, libnvme(2), struct nvme_ns_list, dated July 2026 β€” go off, enjoy your namespaces, and remember: every single flag, member and constant stays exactly where it was, we just made it cute πŸ˜­πŸ’–πŸŽ€

πŸ“¦ where this page comes from