Skip to content

Commit 9e4d83a

Browse files
jeff-lien-sndkdwsuse
authored andcommitted
doc: Add function nvme_init_copy_range_f1 doc
Signed-off-by: Jeff Lien <[email protected]>
1 parent 9350e73 commit 9e4d83a

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

doc/rst/util.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,34 @@ otherwise.
181181
Number of descriptors to construct
182182
183183
184+
.. c:function:: void nvme_init_copy_range_fl (struct nvme_copy_range_f1 *copy, __u16 *nlbs, __u64 *slbas, __u64 *eilbrts, __u32 *elbatms, __u32 *elbats, __u16 nr)
185+
186+
Constructs a copy range formate 1 structure
187+
188+
**Parameters**
189+
190+
``struct nvme_copy_range_f1 *copy``
191+
Copy range array
192+
193+
``__u16 *nlbs``
194+
Number of logical blocks
195+
196+
``__u64 *slbas``
197+
Starting LBA
198+
199+
``__u64 *eilbrts``
200+
Expected initial logical block reference tag
201+
202+
``__u32 *elbatms``
203+
Expected logical block application tag mask
204+
205+
``__u32 *elbats``
206+
Expected logical block application tag
207+
208+
``__u16 nr``
209+
Number of descriptors to construct
210+
211+
184212
.. c:function:: int nvme_get_feature_length (int fid, __u32 cdw11, __u32 *len)
185213
186214
Retreive the command payload length for a specific feature identifier

0 commit comments

Comments
 (0)