| 1 |
.TH "libnvme" 9 "struct nvme_copy_args" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_copy_args \- Arguments for the NVMe Copy command |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_copy_args { |
| 6 |
.br |
| 7 |
.BI " __u64 sdlba;" |
| 8 |
.br |
| 9 |
.BI " __u32 *result;" |
| 10 |
.br |
| 11 |
.BI " struct nvme_copy_range *copy;" |
| 12 |
.br |
| 13 |
.BI " int args_size;" |
| 14 |
.br |
| 15 |
.BI " int fd;" |
| 16 |
.br |
| 17 |
.BI " __u32 timeout;" |
| 18 |
.br |
| 19 |
.BI " __u32 nsid;" |
| 20 |
.br |
| 21 |
.BI " __u32 ilbrt;" |
| 22 |
.br |
| 23 |
.BI " int lr;" |
| 24 |
.br |
| 25 |
.BI " int fua;" |
| 26 |
.br |
| 27 |
.BI " __u16 nr;" |
| 28 |
.br |
| 29 |
.BI " __u16 dspec;" |
| 30 |
.br |
| 31 |
.BI " __u16 lbatm;" |
| 32 |
.br |
| 33 |
.BI " __u16 lbat;" |
| 34 |
.br |
| 35 |
.BI " __u8 prinfor;" |
| 36 |
.br |
| 37 |
.BI " __u8 prinfow;" |
| 38 |
.br |
| 39 |
.BI " __u8 dtype;" |
| 40 |
.br |
| 41 |
.BI " __u8 format;" |
| 42 |
.br |
| 43 |
.BI " __u64 ilbrt_u64;" |
| 44 |
.br |
| 45 |
.BI " |
| 46 |
}; |
| 47 |
.br |
| 48 |
|
| 49 |
.SH Members |
| 50 |
.IP "sdlba" 12 |
| 51 |
Start destination LBA |
| 52 |
.IP "result" 12 |
| 53 |
The command completion result from CQE dword0 |
| 54 |
.IP "copy" 12 |
| 55 |
Range description |
| 56 |
.IP "args_size" 12 |
| 57 |
Size of \fIstruct nvme_copy_args\fP |
| 58 |
.IP "fd" 12 |
| 59 |
File descriptor of the nvme device |
| 60 |
.IP "timeout" 12 |
| 61 |
Timeout in ms |
| 62 |
.IP "nsid" 12 |
| 63 |
Namespace identifier |
| 64 |
.IP "ilbrt" 12 |
| 65 |
Initial logical block reference tag |
| 66 |
.IP "lr" 12 |
| 67 |
Limited retry |
| 68 |
.IP "fua" 12 |
| 69 |
Force unit access |
| 70 |
.IP "nr" 12 |
| 71 |
Number of ranges |
| 72 |
.IP "dspec" 12 |
| 73 |
Directive specific value |
| 74 |
.IP "lbatm" 12 |
| 75 |
Logical block application tag mask |
| 76 |
.IP "lbat" 12 |
| 77 |
Logical block application tag |
| 78 |
.IP "prinfor" 12 |
| 79 |
Protection information field for read |
| 80 |
.IP "prinfow" 12 |
| 81 |
Protection information field for write |
| 82 |
.IP "dtype" 12 |
| 83 |
Directive type |
| 84 |
.IP "format" 12 |
| 85 |
Descriptor format |
| 86 |
.IP "ilbrt_u64" 12 |
| 87 |
Initial logical block reference tag - 8 byte |
| 88 |
version required for enhanced protection info |