nvme_init_copy_range_f1(9)
π nvme_init_copy_range_f1(9) β a libnvme API manual moment
okay bestie, welcome to the libnvme API manual, page for nvme_init_copy_range_f1 π β yes that's a whole mouthful, yes it's iconic, and yes we're gonna get through it together.
β¨ NAME β¨
nvme_init_copy_range_f1 β constructs a copy range f1 structure π¦
like, literally it builds you the structure. that's the whole job. and it slays at it.
πΈ SYNOPSIS πΈ
void nvme_init_copy_range_f1 (struct nvme_copy_range_f1 *copy , __u16
*nlbs , __u64 *slbas , __u64 *eilbrts , __u16 *elbatms , __u16 *elbats ,
__u16 nr );
no cap, that's seven (7) things going in and nothing coming out β void return, we love a function that just does the thing and leaves π
π ARGUMENTS π
copyβ the copy range array π«Ά this is the main character, the thing being filled innlbsβ number of logical blocks, aka how many lblocks bestie π₯slbasβ starting LBA, the spot where it all begins βeilbrtsβ expected initial logical block reference tag, say that five times fast πelbatmsβ expected logical block application tag mask (it's the mask one, don't mix it up with the next one π)elbatsβ expected logical block application tag, no mask, just tag πnrβ number of descriptors to construct β how many you wanna build, you tell it, it builds π
lowkey note:elbatmsandelbatsdiffer by exactly one letter and they're both__u16 *, so likeβ¦ vibe check your variable names before you call this, bestie. iykyk π
π§ a lil sign-off π§
this page is nvme_init_copy_range_f1(9) from the libnvme API manual, dated October 2026 β go forth and construct those copy range f1 structures, you absolute icon πβ¨πΈ
π¦ 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