1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_id_ctrl_fna - This field indicates attributes for the Format
7 NVM command.
8
10 enum nvme_id_ctrl_fna {
11 NVME_CTRL_FNA_FMT_ALL_NAMESPACES ,
12 NVME_CTRL_FNA_SEC_ALL_NAMESPACES ,
13 NVME_CTRL_FNA_CRYPTO_ERASE
14
15 };
16
18 NVME_CTRL_FNA_FMT_ALL_NAMESPACES
19 If set, then all namespaces in an NVM subsystem shall be
20 configured with the same attributes and a format (excluding
21 secure erase) of any namespace results in a format of all
22 namespaces in an NVM subsystem. If cleared, then the con‐
23 troller supports format on a per namespace basis.
24
25 NVME_CTRL_FNA_SEC_ALL_NAMESPACES
26 If set, then any secure erase performed as part of a format
27 operation results in a secure erase of all namespaces in
28 the NVM subsystem. If cleared, then any secure erase per‐
29 formed as part of a format results in a secure erase of the
30 particular namespace specified.
31
32 NVME_CTRL_FNA_CRYPTO_ERASE
33 If set, then cryptographic erase is supported. If cleared,
34 then cryptographic erase is not supported.
35
36
37
38April 2022 enum nvme_id_ctrl_fna libnvme(9)