libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– 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 ATYPE 10h/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 ATYPE 10h/11h. 😭
  • 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 β€” each logical block was most recently written by a Write Uncorrectable command. Used with ATYPE 10h/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