Scroll to navigation

nvme_init_sanitize_ns(2) libnvme API manual nvme_init_sanitize_ns(2)

NAME

nvme_init_sanitize_ns - Initialize passthru command to start a sanitize namespace operation

SYNOPSIS

void nvme_init_sanitize_ns (struct libnvme_passthru_cmd *cmd , enum nvme_sanitize_sanact sanact , bool ause , bool emvs , bool preq );

ARGUMENTS

Passthru command to use
Sanitize action, see enum nvme_sanitize_sanact
Set to allow unrestricted sanitize exit
Set to enter media verification state
Set to require the sanitize operation to purge user data, as defined by IEEE Std 2883, or fail

DESCRIPTION

Initializes the passthru command buffer for the Sanitize namespace command.

nvme_init_sanitize_ns October 2026