nvme_init_copy(9)
hey bestie π welcome to the libnvme API manual page for nvme_init_copy(9) β yes, the function itself, and yes, she's iconic. this is the whole page, no skipped bits, no cap π«Ά
β¨ NAME β¨
nvme_init_copy β initialize the passthru command for the Copy command. that's the name, that's the assignment, periodt π
πΈ SYNOPSIS πΈ
void nvme_init_copy (struct libnvme_passthru_cmd *cmd , __u32 nsid ,
__u64 sdlba , __u16 nr , __u8 desfmt , __u8 prinfor , __u8 prinfow ,
__u8 cetype , __u8 dtype , bool stcw , bool stcr , bool fua , bool lr ,
__u16 cev , __u16 dspec , void *cpydsc );
π ARGUMENTS π
cmdβ the passthru command to use, bestie π«Άnsidβ namespace identifier β¨sdlbaβ start destination LBA π―nrβ number of ranges β it's 1-based here, but 0-based in the command, iykyk πdesfmtβ descriptor format π§prinforβ protection information field for read π₯prinfowβ protection information field for write π₯cetypeβ Command Extension Type π«dtypeβ Directive Type π«stcwβ Storage Tag Check Write π·οΈstcrβ Storage Tag Check Read π·οΈfuaβ Force unit access β‘lrβ Limited retry πcevβ Command Extension Value πdspecβ Directive specific value πcpydscβ range description buffer π§Ί
π DESCRIPTION π
okay so this function initializes the passthru command buffer for the Copy command. the way it does that? by calculating the data length and calling the generic I/O initializer. literally that's the vibe, and it ate π
that's the whole page, bestie π«Ά β with love from the October 2026 edition, source nvme_init_copy, manual nvme_init_copy(9). 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