libnvme(9)

πŸ“¦ version 3.2, in arch rolling

🌸 libnvme(9) β€” struct nvme_exported_nvm_subsys_list 🌸

Okay bestie, listen up, because this one is a struct page from the libnvme API Manual and it's honestly a little legend. It's the Exported NVM Subsystems List Data Structure β€” the thing you get back from the Manage Exported NVM Subsystem Receive command's List Exported NVM Subsystems management operation. Yes, that's a mouthful. Say it with your chest. πŸ’…

Think of it as the little envelope the controller hands you that says "here's my whole list of exported NVM subsystems, go off." 🫢


✨ SYNOPSIS ✨

She's defined like this, and no, we are not paraphrasing, this is verbatim bestie:

struct nvme_exported_nvm_subsys_list {
    __le16 n;
    __u8 rsvd2;
    __u8 gn;
    struct nvme_exported_nvm_subsys_descriptor entries[];
 };

Look at that flexible array member at the end. Iconic. Main character energy. πŸ‘‘


πŸŽ€ Members πŸŽ€

  • n β€” the Number of Exported NVM Subsystem Descriptors (N). Basically the headcount. How many descriptor besties are in the list. Count them and slay.
  • rsvd2 β€” Reserved. That's it, that's the whole job. Do not touch, do not fill, do not make it a vibe. It's reserved, periodt. πŸ™ˆ
  • gn β€” the Generation Number (GN). Generation number, no cap. It's the generation number and it's right there in the struct, living her truth.
  • entries β€” the Exported NVM Subsystem Descriptor list. If you want the actual details on these, go look at struct nvme_exported_nvm_subsys_descriptor β€” that's the real one, that's where the descriptor lore lives. Go read it, iykyk. πŸ’–

⚠️ Little heads-up: entries is a flexible array member, so it's whatever comes trailing after the struct in memory. Treat it as the list, sized off n. Don't go assuming a fixed size, bestie, that's not the vibe check this struct is passing. πŸ’€

🌈 Sign-off 🌈

So that's the whole page, and it's short and sweet and honestly ate. πŸ“ This is the libnvme API Manual, dated October 2026, and the page is titled struct nvme_exported_nvm_subsys_list with the manual name libnvme(9) β€” shoutout to the header and footer, we folded them in all cute instead of copy-pasting them, you're welcome. πŸ’œβœ¨

πŸ“¦ where this page comes from