Reference

nvme_init_sanitize_ns-libnvme3(2)

Initialize passthru command to start a sanitize namespace operation

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

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

DESCRIPTION

Initializes the passthru command buffer for the Sanitize namespace command.