---
name: "nvme_id_ctrl_nwpc"
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_nwpc"
---

# nvme\_id\_ctrl\_nwpc(2)

This field indicates the optional namespace write protection capabilities supported by the controller.

## NAME

enum nvme\_id\_ctrl\_nwpc - This field indicates the optional namespace write protection capabilities supported by the controller.

## SYNOPSIS

enum nvme\_id\_ctrl\_nwpc {\
     **NVME\_CTRL\_NWPC\_WRITE\_PROTECT** , \
\
     **NVME\_CTRL\_NWPC\_WRITE\_PROTECT\_POWER\_CYCLE** , \
\
     **NVME\_CTRL\_NWPC\_WRITE\_PROTECT\_PERMANENT**

};

## Constants

- NVME\_CTRL\_NWPC\_WRITE\_PROTECT

  If set, then the controller shall support the No Write Protect and Write Protect namespace write protection states and may support the Write Protect Until Power Cycle state and Permanent Write Protect namespace write protection states.

- NVME\_CTRL\_NWPC\_WRITE\_PROTECT\_POWER\_CYCLE

  If set, then the controller supports the Write Protect Until Power Cycle state.

- NVME\_CTRL\_NWPC\_WRITE\_PROTECT\_PERMANENT

  If set, then the controller supports the Permanent Write Protect state.
