NVME_INIT_IDENTIFY_NVMSET_LIST-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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-up
  • nsid β€” the Namespace identifier, __u32, no cap
  • nvmsetid β€” 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 __u16 and 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