---
name: "nvme_zns_zs-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_zns_zs-libnvme3"
---

# nvme\_zns\_zs-libnvme3(2)

Zone Descriptor Data Structure - Zone State Attributes

## NAME

enum nvme\_zns\_zs - Zone Descriptor Data Structure - Zone State Attributes

## SYNOPSIS

enum nvme\_zns\_zs {\
     **NVME\_ZNS\_DESC\_ZS\_SHIFT** , \
\
     **NVME\_ZNS\_DESC\_ZS\_MASK** , \
\
     **NVME\_ZNS\_ZS\_EMPTY** , \
\
     **NVME\_ZNS\_ZS\_IMPL\_OPEN** , \
\
     **NVME\_ZNS\_ZS\_EXPL\_OPEN** , \
\
     **NVME\_ZNS\_ZS\_CLOSED** , \
\
     **NVME\_ZNS\_ZS\_READ\_ONLY** , \
\
     **NVME\_ZNS\_ZS\_FULL** , \
\
     **NVME\_ZNS\_ZS\_OFFLINE**

};

## Constants

- NVME\_ZNS\_DESC\_ZS\_SHIFT

  Shift amount to get the Zone State (ZS) from the *struct nvme\_zns\_desc*.zs field.

- NVME\_ZNS\_DESC\_ZS\_MASK

  Mask to get ZS from the *struct nvme\_zns\_desc*.zs field.

- NVME\_ZNS\_ZS\_EMPTY

  Empty state

- NVME\_ZNS\_ZS\_IMPL\_OPEN

  Implicitly open state

- NVME\_ZNS\_ZS\_EXPL\_OPEN

  Explicitly open state

- NVME\_ZNS\_ZS\_CLOSED

  Closed state

- NVME\_ZNS\_ZS\_READ\_ONLY

  Read only state

- NVME\_ZNS\_ZS\_FULL

  Full state

- NVME\_ZNS\_ZS\_OFFLINE

  Offline state
