NAME
nvme_init_identify - Initialize passthru command for NVMe Identify
SYNOPSIS
void nvme_init_identify (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_csi csi , enum nvme_identify_cns cns , void *data , __u32 len );
ARGUMENTS
- cmd
-
Command data structure to initialize
- nsid
-
Namespace identifier
- csi
-
Command Set Identifier
- cns
-
The Controller or Namespace structure, see enum nvme_identify_cns
- data
-
User space destination address to transfer the data
- len
-
Length of provided user buffer to hold the data in bytes
DESCRIPTION
Prepare the cmd data structure for the NVMe Identify command.