nvme_init_m..._controllers(9)
π« NAME π«
okay so bestie, welcome to the libnvme API manual, section 9 β the page the header squishes down to nvme_init_m..._controllers(9) because apparently even manpage headers get tired π
The star of the show is nvme_init_manage_export_nvms_receive_list_controllers β no cap, that's the whole name, we're not abbreviating, we're not skipping a single syllable π
And what does she do? She initializes the passthru command for the Manage Exported NVM Subsystem Receive β List Exported Controllers command. And bestie, hear me: this is message-based transports only. That's the vibe check right there π¦
β¨ SYNOPSIS β¨
void nvme_init_manage_export_nvms_receive_list_controllers (struct
libnvme_passthru_cmd *cmd , __u16 ecntlid , struct
nvme_exported_ctrl_list *list , __u32 len );
look at her go π four arguments, zero drama, returns void because she gives, she doesn't take π«Ά
π ARGUMENTS π
cmdβ the passthru command you're gonna use. hand it over, she'll fill it in for you πecntlidβ an__u16, and here's the tea: it returns Exported Controllers with an Exported Controller Identifier greater than or equal to this value. so it's like the starting line for the controller list, iykyk πΈlistβ the user address where the Exported Controller List data structure gets stored. peepstruct nvme_exported_ctrl_listif you wanna know the shape of it πlenβ an__u32, and it's the allocated length oflist. like, how much room you gave her. don't skimp or she'll be sad π
π₯ DESCRIPTION π₯
So what actually happens when you call her? She initializes the passthru command buffer for the Manage Exported NVM Subsystem Receive command, and she sets the SEL value to:
NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_CONTROLLERS
that's the whole job, and she does it flawlessly, periodt β like, the select field is literally the entire personality of this function and honestly? iconic π§
fr fr reminder: this is for message-based transports only. don't come for her on anything else, she's not that girl in that context π
and that's the page, bestie!! π
this lil masterpiece came from the libnvme API manual, dated October 2026 β go off, October 2026, you ate π β¨
mwah, stay slaying, and may all your controller lists be greater than or equal to your expectations ππ¦π
π¦ 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