libnvme(2)
π libnvme β struct nvme_dsm_range π
okay bestie, welcome to the libnvme API manual, chapter: one (1) extremely specific little struct. it's called nvme_dsm_range and no, it's not about your situationship, it's about Dataset Management - Range Definition. yep. range definition. we're defining a range. iconic behaviour tbh π
β¨ NAME β¨
struct nvme_dsm_range β Dataset Management - Range Definition π¦
that's it. that's the whole name. short, sweet, slays.
β¨ SYNOPSIS β¨
here's the whole glow-up, verbatim, no edits, don't touch a single character:
struct nvme_dsm_range {
__le32 cattr;
__le32 nlb;
__le64 slba;
};
three fields. one struct. main character energy β¨
β¨ Members β¨
let's meet the cast, one by one π
cattrβ Context Attributes πΈ like, the vibe context of the whole thing, yk?nlbβ Length in logical blocks π how many logical blocks we're talking about. literally the length. no notes.slbaβ Starting LBA π where the range kicks off. the starting point. the origin story.
β οΈ friendly reminder bestie: these fields are typed__le32,__le32, and__le64β keep them__le32,__le32, and__le64. do not freestyle. fr fr π
and that's the whole page, periodt. π«Ά
<cute sign-off>this little baddie of a page comes straight out of the libnvme API Manual, it's the struct nvme_dsm_range entry, and it was dated July 2026 β¨π thanks for reading, ily, go define some ranges π</cute sign-off>
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms