libnvme(9)
π libnvme(9) β struct nvme_copy_range_f0
okay bestie, so this one is from the libnvme API Manual (that's the libnvme(9) manual name, iykyk) and it's literally just one little struct. but she's iconic and we're gonna read her together, no cap. π«Ά
β¨ NAME β¨
struct nvme_copy_range_f0 β the Copy Source Range Entries Descriptor, Format 0h. yes, that's her full government name π
πΈ SYNOPSIS πΈ
here's the whole glow-up, character for character, do not touch:
struct nvme_copy_range_f0 {
__u8 rsvd0[8];
__le64 slba;
__le16 nlb;
__u8 cetype;
__u8 rsvd19;
__le16 cev;
__u8 rsvd22[2];
__le32 elbt;
__le16 elbat;
__le16 elbatm;
};
like, she's a whole vibe check in struct form π¦
π Members π
okay so now the member-by-member breakdown, and bestie I am not skipping a single one, not even the reserved ones (they're reserved for a reason, respect her boundaries π):
rsvd0β Reserved. that's it, that's the whole personality. she's holding space πslbaβ Starting LBA. the main character of the range, the origin story β¨nlbβ Number of Logical Blocks. how many blocks we're talking about, periodt π₯cetypeβ Bits 3-0: Command Extension Type. mind the bits 3-0 specifically, she's precise like that πrsvd19β Reserved. another queen who said "not my moment" πcevβ Command Extension Value. the value that goes with the extension type, they're a matching set fr fr π«Άrsvd22β Reserved. reserved again bestie, it's giving "save my seat" πelbtβ Expected Initial Logical Block Reference Tag / Expected Logical Block Storage Tag. two names, one field, highkey main character energy πelbatβ Expected Logical Block Application Tag. and then there's her sister πelbatmβ Expected Logical Block Application Tag Mask. and the mask completes the family πΈ
ngl, all those rsvd fields are literally just padding β do not go writing your own lore into them. they're reserved, bestie, that's the whole point π
pro tip from me to you: the stuff labeled Reserved is reserved. don't be the girl who fills in reserved fields. it's not cute, it's undefined behavior territory π
and that's the page!! every field, every tag, every reserved little seat-saver accounted for. she's short but she ATE π β¨
β cute sign-off time π: this was struct nvme_copy_range_f0, from the API Manual (that's the source/version line, bestie), dated October 2026. love u, go read your struct fields responsibly π¦π
π¦ 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