libnvme(9)

πŸ“¦ version 3.2, in arch rolling

✨ 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 __u8 doing absolutely nothing and honestly? same. πŸ’€

ok quick heads-up 🫢 the types matter here β€” rslba is a __le64, rnlb is a __le32, and rsvd12 is a __u8 array 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