libnvme(9)
π libnvme(9) β enum nvme_lba_status_lbars π
okay so bestie, welcome to the libnvme(9) API Manual page that's literally all about enum nvme_lba_status_lbars. It's giving LBA Range Status energy β that's LBARS, iykyk β and it's used with the &struct nvme_lba_status_desc.status field. No cap, that's the whole vibe. π¦
β¨ NAME β¨
enum nvme_lba_status_lbars β LBA Range Status (LBARS), used with the &struct nvme_lba_status_desc.status field. π
π¦ 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 π
okay, here's the whole squad of constants, and yes every single one is important:
NVME_LBA_STATUS_LBARS_SHIFTβ the shift amount you use to get the value of LBARS. Slay. β¨NVME_LBA_STATUS_LBARS_MASKβ the mask you use to get the value of LBARS. Iconic combo with the shift one, fr fr.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 ATYPE10h/11h. π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 ATYPE10h/11h. πNVME_LBA_STATUS_LBARS_ALLOCATEDβ One or more of the reported logical blocks are allocated. Used with ATYPE02h. πNVME_LBA_STATUS_LBARS_WRITE_UNCβ each logical block was most recently written by a Write Uncorrectable command. Used with ATYPE10h/11h. π₯
mwah π that's the whole libnvme(9) page, October 2026 edition β enum nvme_lba_status_lbars and all its constants, out. π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms