Debian Codegraph @

doc/man/nvme_id_ctrl_nwpc.2

raw
1 .TH "libnvme" 9 "enum nvme_id_ctrl_nwpc" "November 2025" "API Manual" LINUX
2 .SH NAME
3 enum nvme_id_ctrl_nwpc \- This field indicates the optional namespace write protection capabilities supported by the controller.
4 .SH SYNOPSIS
5 enum nvme_id_ctrl_nwpc {
6 .br
7 .BI " NVME_CTRL_NWPC_WRITE_PROTECT"
8 ,
9 .br
10 .br
11 .BI " NVME_CTRL_NWPC_WRITE_PROTECT_POWER_CYCLE"
12 ,
13 .br
14 .br
15 .BI " NVME_CTRL_NWPC_WRITE_PROTECT_PERMANENT"
16
17 };
18 .SH Constants
19 .IP "NVME_CTRL_NWPC_WRITE_PROTECT" 12
20 If set, then the controller shall
21 support the No Write Protect and
22 Write Protect namespace write
23 protection states and may support
24 the Write Protect Until Power
25 Cycle state and Permanent Write
26 Protect namespace write
27 protection states.
28 .IP "NVME_CTRL_NWPC_WRITE_PROTECT_POWER_CYCLE" 12
29 If set, then the controller
30 supports the Write Protect Until
31 Power Cycle state.
32 .IP "NVME_CTRL_NWPC_WRITE_PROTECT_PERMANENT" 12
33 If set, then the controller
34 supports the Permanent Write
35 Protect state.