NVME_INIT_IDENTIFY_NVMSET_LIST-LIBNVME3(2)
π nvme_init_identify_nvmset_list(9) β libnvme API manual π¦
okay so bestie, welcome to the libnvme API manual, section 9, and today's main character is nvme_init_identify_nvmset_list β¨
π NAME π
nvme_init_identify_nvmset_list β the glow-up function that initializes the passthru command for the NVM Set List data structure π
πΈ SYNOPSIS πΈ
void nvme_init_identify_nvmset_list (struct libnvme_passthru_cmd *cmd ,
__u32 nsid , __u16 nvmsetid , struct nvme_id_nvmset_list *nvmset );
like yes, she returns nothing (void) β she just sets things up and leaves, iconic behavior honestly π
β¨ ARGUMENTS β¨
cmdβ the command data structure you're initializing π«Ά this is the one getting prepped for the glow-upnsidβ the Namespace identifier,__u32, no capnvmsetidβ the NVM Set Identifier,__u16, tiny but mighty πnvmsetβ the user space destination address where the data gets transferred π«
π₯ DESCRIPTION π₯
So what she actually does: she initializes the passthru command buffer for the Identify command, with the CNS value set to NVME_IDENTIFY_CNS_NS_ACTIVE_LIST β
that's it, that's the whole vibe. the command buffer gets its passthru setup, CNS gets NVME_IDENTIFY_CNS_NS_ACTIVE_LIST, and your nvmset destination is ready for the data to land π slay.
ngl bestie, don't skip the argument order βcmd,nsid,nvmsetid,nvmsetβ you know how the compiler gets when you mix up your__u16and your__u32ππ
mwah π that's the whole page β courtesy of the libnvme API manual, dated October 2026. go forth and identify those NVM Sets, periodt π§π
π¦ 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