libnvme(9)
β¨ libnvme(9) β API Manual β¨
okay bestie, buckle up π this is a page from the libnvme API manual, and today's main character is a struct. yes, a struct. she's giving "quiet but essential" and honestly? iconic.
πΈ NAME πΈ
struct nvme_lba_range_type_entry β LBA Range Type - Data Structure Entry
like, literally the data structure entry for an LBA range type. that's her whole job. no cap. π
π¦ SYNOPSIS π¦
struct nvme_lba_range_type_entry {
__u8 type;
__u8 attributes;
__u8 rsvd2[14];
__le64 slba;
__le64 nlb;
__u8 guid[16];
__u8 rsvd48[16];
};
look at her. seven fields. perfectly balanced. the padding is doing its thing, the little rsvd arrays are just vibing in the background, and the two __le64s are the actual moment. π
π Members π
okay so here's the breakdown, field by field, no skipping, i promise π«Ά
typeβ Specifies the Type of the LBA range. like, what kind of range are we even talking about here. main character energy, honestly.attributesβ Specifies attributes of the LBA range. the little extra details that make her her. β¨rsvd2β Reserved. she's not for you. leave her alone. πslbaβ Starting LBA. where the range begins, fr fr. the origin story.nlbβ Number of Logical Blocks. how many blocks we're working with β the count, the whole vibe check. π₯guidβ Unique Identifier. one of a kind, obviously. she's that girl. πrsvd48β Reserved. also not for you. reserved means reserved, bestie. π
none of the reserved fields are yours to touch, okay? they're reserved for a reason and i'm not gonna sit here and pretend otherwise. iykyk.
and that's the whole page, bestie π§ you read the whole struct, you read every field, you did not skip the reserved ones β proud of you. π
this lil page came from the libnvme API Manual, dated October 2026, and it's filed under struct nvme_lba_range_type_entry (yes, her again, she's the moment). catch you on the next page β mwah! ππβ
π¦ 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