NVME_INIT_MANAGE_EXPORT_NVMS_RECEIVE-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ‘‘ NAME πŸ‘‘

nvme_init_manage_export_nvms_receive β€” bestie, this is the one that initializes the passthru command for Manage Exported NVM Subsystem Receive ✨ and like, that's literally the whole vibe of it.

This page lives in the libnvme API manual, section 9, and it's giving "fancy kernel-adjacent documentation but make it cute" πŸŽ€


🌸 SYNOPSIS 🌸

void nvme_init_manage_export_nvms_receive (struct libnvme_passthru_cmd
*cmd , __u8 sel , __u8 mos , __u16 mose , __u16 mosi , __u32 ol , __u32
ou , __u32 numdl , void *data , __u32 len );

okay so it returns void β€” nothing comes back, it just does the thing πŸ’… and it takes a whole lil friend group of arguments, which we are gonna go through one by one, no skipping, periodt.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the passthru command you're gonna use. This is the main character fr, everything gets written into it 🫢
  • sel β€” Select (SEL): the management operation you wanna perform. go look at enum nvme_manage_export_nvms_recv_sel for the list, iykyk πŸ‘€
  • mos β€” Management Operation Specific (MOS): this one's specific to sel
  • mose β€” Management Operation Specific Extended (MOSE): also specific to sel, yes it's a whole extended moment πŸ’«
  • mosi β€” Management Operation Specific Identifier (MOSI): once again, specific to sel
  • ol β€” Offset Lower (OL), in dwords: specific to sel. lowercase ol, lowercase keys, we love a consistent queen 🌈
  • ou β€” Offset Upper (OU), in dwords: specific to sel. the upper half of the offset situation, slay ⭐
  • numdl β€” Number of Dwords (NUMDL) requested, 0's based: specific to sel. yes bestie, zero-based, do not forget, that's an off-by-one waiting to humble you πŸ’€
  • data β€” pointer to the data buffer. this is where the actual payload hangs out 🌸
  • len β€” length of the data. gotta know how much data you're data-ing, fr fr
lowkey notice how mos, mose, mosi, ol, ou, and numdl are all "specific to sel"? yeah. sel is the main character here and everyone else is just following her lead πŸ’…

πŸ’– DESCRIPTION πŸ’–

It initializes the passthru command buffer for the Manage Exported NVM Subsystem Receive command.

That's it. That's the whole job. It sets up the buffer, hands it back through cmd, and you take it from there, bestie πŸŽ€


and that's a wrap on the libnvme API manual entry for nvme_init_manage_export_nvms_receive, section 9, dated October 2026 🌸 go forth and initialize your passthru commands, you iconic thing, you πŸ‘‘βœ¨

πŸ“¦ where this page comes from