libnvme(9) API Manual libnvme(9)

# [NAME](#NAME)

enum nvme\_lba\_status\_lbars - LBA Range Status (LBARS), used with the &struct nvme\_lba\_status\_desc.status field.

# [SYNOPSIS](#SYNOPSIS)

enum nvme\_lba\_status\_lbars {  
**NVME\_LBA\_STATUS\_LBARS\_SHIFT** ,  
**NVME\_LBA\_STATUS\_LBARS\_MASK** ,  
**NVME\_LBA\_STATUS\_LBARS\_MAY\_ERR** ,  
**NVME\_LBA\_STATUS\_LBARS\_ERR** ,  
**NVME\_LBA\_STATUS\_LBARS\_ALLOCATED** ,  
**NVME\_LBA\_STATUS\_LBARS\_WRITE\_UNC**

};

# [Constants](#Constants)

[NVME\_LBA\_STATUS\_LBARS\_SHIFT](#NVME_LBA_STATUS_LBARS_SHIFT)

Shift amount to get the value of LBARS

[NVME\_LBA\_STATUS\_LBARS\_MASK](#NVME_LBA_STATUS_LBARS_MASK)

Mask to get the value of LBARS

[NVME\_LBA\_STATUS\_LBARS\_MAY\_ERR](#NVME_LBA_STATUS_LBARS_MAY_ERR)

Each logical block may report Unrecovered Read Error status, be a logical block most recently written by a Write Uncorrectable command, or be read successfully. Used with ATYPE 10h/11h.

[NVME\_LBA\_STATUS\_LBARS\_ERR](#NVME_LBA_STATUS_LBARS_ERR)

Each logical block may report Unrecovered Read Error status or be a logical block most recently written by a Write Uncorrectable command. Used with ATYPE 10h/11h.

[NVME\_LBA\_STATUS\_LBARS\_ALLOCATED](#NVME_LBA_STATUS_LBARS_ALLOCATED)

One or more of the reported logical blocks are allocated. Used with ATYPE 02h.

[NVME\_LBA\_STATUS\_LBARS\_WRITE\_UNC](#NVME_LBA_STATUS_LBARS_WRITE_UNC)

Each logical block was most recently written by a Write Uncorrectable command. Used with ATYPE 10h/11h.

enum nvme\_lba\_status\_lbars October 2026

---

Document: nvme_lba_status_lbars-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
