Reference

nvme_init_format_nvm-libnvme3(2)

Initialize passthru command for Format NVM

NAME

nvme_init_format_nvm - Initialize passthru command for Format NVM

SYNOPSIS

void nvme_init_format_nvm (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u8 lbaf , enum nvme_cmd_format_mset mset , enum nvme_cmd_format_pi pi , enum nvme_cmd_format_pil pil , enum nvme_cmd_format_ses ses );

ARGUMENTS

cmd

Passthru command to use

nsid

Namespace ID to format

lbaf

Logical block address format

mset

Metadata settings (extended or separated)

pi

Protection information type

pil

Protection information location (beginning or end)

ses

Secure erase settings

DESCRIPTION

Initializes the passthru command buffer for the Format NVM command.