nvme_init_identify-libnvme32
Initialize passthru command for nvme identify
Usage
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 |
Overview
Prepare the cmd data structure for the NVMe Identify command.