| nvme_init_sanitize_nvm(9) | libnvme API manual | nvme_init_sanitize_nvm(9) |
NAME
nvme_init_sanitize_nvm - Initialize passthru command to start a sanitize operation
SYNOPSIS
void nvme_init_sanitize_nvm (struct libnvme_passthru_cmd *cmd , enum nvme_sanitize_sanact sanact , bool ause , __u8 owpass , bool oipbp , bool ndas , bool emvs , bool preq , __u32 ovrpat );
ARGUMENTS
- cmd
- Passthru command to use
- sanact
- Sanitize action, see enum nvme_sanitize_sanact
- ause
- Set to allow unrestricted sanitize exit
- owpass
- Overwrite pass count
- oipbp
- Set to overwrite invert pattern between passes
- ndas
- Set to not deallocate blocks after sanitizing
- 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
- ovrpat
- Overwrite pattern
DESCRIPTION
Initializes the passthru command buffer for the Sanitize NVM command.
| nvme_init_sanitize_nvm | October 2026 |