nvme_init_m..._controllers(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’« 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. peep struct nvme_exported_ctrl_list if you wanna know the shape of it πŸ‘‘
  • len β€” an __u32, and it's the allocated length of list. 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