NVME_INIT_IDENTIFY_ALLOCATED_NS_LIST-LIBNVME3(2)
π 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
- 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