libnvme(9)
β¨ libnvme(9) β¨ β like, the API Manual, bestie π«Ά
okay so real talk, this page is from the libnvme API manual and it's about one tiny lil struct that handles LBA range descriptors. it's giving "small but mighty" energy ngl π
πΈ NAME πΈ
struct nvme_lba_rd β LBA Range Descriptor
like, that's the whole vibe. a descriptor. for an LBA range. iconic. π
π¦ SYNOPSIS π¦
here's the literal shape of it, copy-paste exact, no cap:
struct nvme_lba_rd {
__le64 rslba;
__le32 rnlb;
__u8 rsvd12[4];
};
that's it. that's the whole struct. three fields, one of which is just reserved (we love a placeholder that minds its own business π).
π Members π
rslbaβ Range Starting LBA. literally where the range begins, bestie. the starting line πrnlbβ Range Number of Logical Blocks. how many logical blocks are in the range. the count. the amount. the quantity πrsvd12β Reserved. it's just sitting there. 4 bytes of__u8doing absolutely nothing and honestly? same. π
ok quick heads-up π«Ά the types matter here βrslbais a__le64,rnlbis a__le32, andrsvd12is a__u8array of 4. if you're poking at this by hand, don't go messing with the reserved bytes, they're reserved for a reason, iykyk π
π SEE ALSO π
ngl bestie, this page doesn't list any SEE ALSO refs. it's a solo main character moment πβ¨
that's the whole page!! mwah π
sign-off szn π β this one's from the libnvme API Manual, all about struct nvme_lba_rd, and it's dated October 2026. go forth and describe your LBA ranges, queen ππ
π¦ 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