nvme_init_identify(9) libnvme API manual nvme_init_identify(9)

nvme_init_identify - Initialize passthru command for NVMe Identify

void nvme_init_identify (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_csi csi , enum nvme_identify_cns cns , void *data , __u32 len );

Command data structure to initialize
Namespace identifier
Command Set Identifier
The Controller or Namespace structure, see enum nvme_identify_cns
User space destination address to transfer the data
Length of provided user buffer to hold the data in bytes

Prepare the cmd data structure for the NVMe Identify command.

nvme_init_identify October 2026