Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_sanitize_nvm_args - Arguments for the NVMe Sanitize NVM command

SYNOPSIS

struct nvme_sanitize_nvm_args {
__u32 *result;
int args_size;
int fd;
__u32 timeout;
enum nvme_sanitize_sanact sanact;
__u32 ovrpat;
bool ause;
__u8 owpass;
bool oipbp;
bool nodas;
bool emvs;
};

Members

The command completion result from CQE dword0
Size of struct nvme_sanitize_nvm_args
File descriptor of nvme device
Timeout in ms
Sanitize action, see enum nvme_sanitize_sanact
Overwrite pattern
Set to allow unrestricted sanitize exit
Overwrite pass count
Set to overwrite invert pattern between passes
Set to not deallocate blocks after sanitizing
Set to enter media verification state
struct nvme_sanitize_nvm_args December 2025