NVME_INIT_IDENTIFY_ALLOCATED_NS_LIST-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’… nvme_init_identify_allocated_ns_list β€” the libnvme API manual, section 9, but make it cute

okay so you found the nvme_init_identify_allocated_ns_list(9) page, welcome bestie, this is the libnvme API manual and we're gonna get you comfy 🫢


✨ NAME ✨

nvme_init_identify_allocated_ns_list β€” bestie, this one sets up your passthru command for the Allocated namespace ID list. that's literally it, that's the whole job πŸ’…


🌸 SYNOPSIS 🌸

void nvme_init_identify_allocated_ns_list (struct libnvme_passthru_cmd
*cmd , __u32 nsid , struct nvme_ns_list *ns_list );

no cap, that's the exact signature, copy it character for character and don't get creative with it πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the command data structure you're gonna initialize. give it a little kiss first, it deserves it πŸ’–
  • nsid β€” return namespaces greater than this identifier. yeah, greater than, not greater-or-equal, don't come for me πŸ™ˆ
  • ns_list β€” the user space destination address where the data gets transferred. like a little mailbox for your namespace IDs πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea: this function initializes the passthru command buffer for the Identify command, and it does that with the CNS value NVME_IDENTIFY_CNS_ALLOCATED_NS_LIST. that's the whole vibe check β€” passthru buffer ready, CNS set, go off πŸ‘‘

the way that constant is spelled exactly NVME_IDENTIFY_CNS_ALLOCATED_NS_LIST and you should absolutely not typo it, periodt ✨


heads up bestie: it's void, so it gives you nothing back. no return value, no exit status, no little treat. the buffer just gets initialized and that's it 😭

and that's the page!! no extra options, no environment variables, no files, no bug notes β€” she's short and iconic and we respect her for it 🌈

kiss kiss, this was the libnvme API manual, section 9, dated October 2026 β€” mwah, go initialize some buffers bestie πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from