1libnvme(9)                        API Manual                        libnvme(9)
2
3
4

NAME

6       struct nvme_copy_args - Arguments for the NVMe Copy command
7

SYNOPSIS

9       struct nvme_copy_args {
10           __u64 sdlba;
11           __u32 *result;
12           struct nvme_copy_range *copy;
13           int args_size;
14           int fd;
15           __u32 timeout;
16           __u32 nsid;
17           __u32 ilbrt;
18           int lr;
19           int fua;
20           __u16 nr;
21           __u16 dspec;
22           __u16 lbatm;
23           __u16 lbat;
24           __u8 prinfor;
25           __u8 prinfow;
26           __u8 dtype;
27           __u8 format;
28        };
29
30

Members

32       sdlba       Start destination LBA
33
34       result      The command completion result from CQE dword0
35
36       copy        Range descriptior
37
38       args_size   Size of struct nvme_copy_args
39
40       fd          File descriptor of the nvme device
41
42       timeout     Timeout in ms
43
44       nsid        Namespace identifier
45
46       ilbrt       Initial logical block reference tag
47
48       lr          Limited retry
49
50       fua         Force unit access
51
52       nr          Number of ranges
53
54       dspec       Directive specific value
55
56       lbatm       Logical block application tag mask
57
58       lbat        Logical block application tag
59
60       prinfor     Protection information field for read
61
62       prinfow     Protection information field for write
63
64       dtype       Directive type
65
66       format      Descriptor format
67
68
69
70April 2022                   struct nvme_copy_args                  libnvme(9)
Impressum