Scroll to navigation

libnvme(2) API Manual libnvme(2)

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

Shift amount to get the Zone State (ZS) from the struct nvme_zns_desc.zs field.
Mask to get ZS from the struct nvme_zns_desc.zs field.
Empty state
Implicitly open state
Explicitly open state
Closed state
Read only state
Full state
Offline state
enum nvme_zns_zs October 2026