nvme_init_i...tive_ns_list(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… NAME πŸ’…

nvme_init_identify_csi_active_ns_list β€” okay so this one initializes the passthru command for the Active namespace ID list, and yes bestie it's literally that iconic ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void nvme_init_identify_csi_active_ns_list (struct libnvme_passthru_cmd
*cmd , __u32 nsid , enum nvme_csi csi , struct nvme_ns_list *ns_list );

No cap, that's the whole signature. Copy it exactly, don't get cute with it 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • cmd β€” the command data structure you're initializing, like this is the main character and you're setting it up for its moment πŸ’…
  • nsid β€” return namespaces greater than this identifier, so it's giving "everything after this point please" 🌸
  • csi β€” the Command Set Identifier, iconic little enum doing its thing ✨
  • ns_list β€” the user space destination address to transfer the data to, i.e. where the good stuff lands πŸ“

🌈 DESCRIPTION 🌈

So what this does is initialize the passthru command buffer for the Identify command, with the CNS value set to NVME_IDENTIFY_CNS_CSI_NS_ACTIVE_LIST. That's it, that's the vibe β€” one job, done slay πŸ”₯

Fr fr keep that CNS value exactly as written: NVME_IDENTIFY_CNS_CSI_NS_ACTIVE_LIST. No improvising, bestie πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

No SEE ALSO section on this one, so nothing to link β€” we move 🧚


Anyway that's the whole page, mwah πŸ’– This was the libnvme API manual, nvme_init_i...tive_ns_list(9), dated October 2026 β€” catch you in the next one, periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from