nvme_init_get_features_write_protect-libnvme32
Initialize passthru command for get features - write protect
Usage
void nvme_init_get_features_write_protect (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_get_features_sel sel );
Arguments
cmd
|
Passthru command to use |
|---|---|
nsid
|
Namespace ID |
sel
|
Select which type of attribute to return, see enum nvme_get_features_sel |
Overview
Initializes the passthru command buffer for the Get Features command with FID value NVME_FEAT_FID_WRITE_PROTECT