libnvme(9)
πΈ 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 atstruct nvme_exported_nvm_subsys_descriptorβ that's the real one, that's where the descriptor lore lives. Go read it, iykyk. π
β οΈ Little heads-up:entriesis a flexible array member, so it's whatever comes trailing after the struct in memory. Treat it as the list, sized offn. 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms