libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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