nvme_init_verify-libnvme32
Initialize passthru command for a verify command
Usage
void nvme_init_verify (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u64 slba , __u16 nlb , __u16 control , __u8 cev , void *data , __u32 data_len , void *metadata , __u32 metadata_len );
Arguments
cmd
|
Passthru command to use |
|---|---|
nsid
|
Namespace ID |
slba
|
Starting logical block |
nlb
|
Number of logical blocks (0-based) |
control
|
Upper 16 bits of cdw12 |
cev
|
Command Extension Value (CETYPE is non-zero) |
data
|
Pointer to user address of the data buffer |
data_len
|
Length of user buffer, data, in bytes |
metadata
|
Pointer to user address of the metadata buffer |
metadata_len
|
Length of user buffer, metadata, in bytes |
Overview
Initializes the passthru command buffer for the Verify command.
Note
Verify command transfers data or metadata to the controller to perform the verification but not back to the host.