nvme_init_sanitize_ns-libnvme32
Initialize passthru command to start a sanitize namespace operation
Usage
void nvme_init_sanitize_ns (struct libnvme_passthru_cmd *cmd , enum nvme_sanitize_sanact sanact , bool ause , bool emvs , bool preq );
Arguments
- cmd
-
Passthru command to use
- sanact
-
Sanitize action, see enum nvme_sanitize_sanact
- ause
-
Set to allow unrestricted sanitize exit
- emvs
-
Set to enter media verification state
- preq
-
Set to require the sanitize operation to purge user data, as defined by IEEE Std 2883, or fail
Overview
Initializes the passthru command buffer for the Sanitize namespace command.