libnvme(9)
β¨ libnvme(9) β API Manual β¨
okay bestie, so this is a page out of the libnvme API manual (that's section 9, the kernel/API girlies know π
), and today's main character is a struct that's honestly kind of a baddie: struct nvme_copy_range_f3, aka the Copy - Source Range Entries Descriptor Format 3h. yes that's a whole mouthful, we love a long title π
πΈ NAME πΈ
struct nvme_copy_range_f3 β Copy - Source Range Entries Descriptor Format 3h
like, it's a copy range entry descriptor, the format 3h one specifically, no cap π
β¨ SYNOPSIS β¨
struct nvme_copy_range_f3 {
__le32 snsid;
__u8 rsvd4[4];
__le64 slba;
__le16 nlb;
__u8 cetype;
__u8 rsvd19;
__le16 cev;
__le16 sopt;
__u8 rsvd24[2];
__u8 elbt[10];
__le16 elbat;
__le16 elbatm;
};
look at her. iconic struct layout, honestly π«Ά
π¦ Members π¦
so here's the full roster, every single field, we're not skipping a one of them:
snsidβ Source Namespace Identifier π« like, which namespace are we copying from, ykwimrsvd4β Reserved π (it's reserved, bestie, hands off)slbaβ Starting LBA, the starting logical block address, the ~beginning~ if you will πnlbβ Number of Logical Blocks π’cetypeβ Bits 3-0: Command Extension Type π§© only bits 3-0, mind yoursvd19β Reserved πcevβ Command Extension Value πsoptβ Source Options βοΈrsvd24β Reserved π (yes, another one, they really said save some room)elbtβ Expected Initial Logical Block Reference Tag / Expected Logical Block Storage Tag π·οΈ (it's giving two-jobs energy, and honestly? she's serving both)elbatβ Expected Logical Block Application Tag πelbatmβ Expected Logical Block Application Tag Mask π
ngl the reserved fields are giving "saving seats for friends who never show up" π but that's the struct, we respect her π
π a lil sign-off π
this page was living in the libnvme(9) manual, dated October 2026, and it's literally all about struct nvme_copy_range_f3. periodt, that's the whole vibe, go copy some ranges responsibly bestie πβ¨
π¦ 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