---
name: "nvme_id_ctrl_fna"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_id_ctrl_fna"
---

# nvme\_id\_ctrl\_fna(2)

This field indicates attributes for the Format NVM command.

## NAME

enum nvme\_id\_ctrl\_fna - This field indicates attributes for the Format NVM command.

## SYNOPSIS

enum nvme\_id\_ctrl\_fna {\
     **NVME\_CTRL\_FNA\_FMT\_ALL\_NS\_SHIFT** , \
\
     **NVME\_CTRL\_FNA\_SEC\_ALL\_NS\_SHIFT** , \
\
     **NVME\_CTRL\_FNA\_CES\_SHIFT** , \
\
     **NVME\_CTRL\_FNA\_NSID\_ALL\_F\_SHIFT** , \
\
     **NVME\_CTRL\_FNA\_FMT\_ALL\_NS\_MASK** , \
\
     **NVME\_CTRL\_FNA\_SEC\_ALL\_NS\_MASK** , \
\
     **NVME\_CTRL\_FNA\_CES\_MASK** , \
\
     **NVME\_CTRL\_FNA\_NSID\_ALL\_F\_MASK** , \
\
     **NVME\_CTRL\_FNA\_FMT\_ALL\_NAMESPACES** , \
\
     **NVME\_CTRL\_FNA\_SEC\_ALL\_NAMESPACES** , \
\
     **NVME\_CTRL\_FNA\_CRYPTO\_ERASE** , \
\
     **NVME\_CTRL\_FNA\_NSID\_FFFFFFFF**

};

## Constants

- NVME\_CTRL\_FNA\_FMT\_ALL\_NS\_SHIFT

  Shift amount to get the format applied to all namespaces

- NVME\_CTRL\_FNA\_SEC\_ALL\_NS\_SHIFT

  Shift amount to get the secure erase applied to all namespaces

- NVME\_CTRL\_FNA\_CES\_SHIFT

  Shift amount to get the cryptographic erase supported

- NVME\_CTRL\_FNA\_NSID\_ALL\_F\_SHIFT

  Shift amount to get the format supported an NSID FFFFFFFFh

- NVME\_CTRL\_FNA\_FMT\_ALL\_NS\_MASK

  Mask to get the format applied to all namespaces

- NVME\_CTRL\_FNA\_SEC\_ALL\_NS\_MASK

  Mask to get the secure erase applied to all namespaces

- NVME\_CTRL\_FNA\_CES\_MASK

  Mask to get the cryptographic erase supported

- NVME\_CTRL\_FNA\_NSID\_ALL\_F\_MASK

  Mask to get the format supported an NSID FFFFFFFFh

- NVME\_CTRL\_FNA\_FMT\_ALL\_NAMESPACES

  If set, then all namespaces in an NVM subsystem shall be configured with the same attributes and a format (excluding secure erase) of any namespace results in a format of all namespaces in an NVM subsystem. If cleared, then the controller supports format on a per namespace basis.

- NVME\_CTRL\_FNA\_SEC\_ALL\_NAMESPACES

  If set, then any secure erase performed as part of a format operation results in a secure erase of all namespaces in the NVM subsystem. If cleared, then any secure erase performed as part of a format results in a secure erase of the particular namespace specified.

- NVME\_CTRL\_FNA\_CRYPTO\_ERASE

  If set, then cryptographic erase is supported. If cleared, then cryptographic erase is not supported.

- NVME\_CTRL\_FNA\_NSID\_FFFFFFFF

  If set, then format does not support nsid value set to FFFFFFFFh. If cleared, format supports nsid value set to FFFFFFFFh.
