Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_copy_args - Arguments for the NVMe Copy command

SYNOPSIS

struct nvme_copy_args {
__u64 sdlba;
__u32 *result;
struct nvme_copy_range *copy;
int args_size;
int fd;
__u32 timeout;
__u32 nsid;
__u32 ilbrt;
int lr;
int fua;
__u16 nr;
__u16 dspec;
__u16 lbatm;
__u16 lbat;
__u8 prinfor;
__u8 prinfow;
__u8 dtype;
__u8 format;
__u64 ilbrt_u64;
};

Members

Start destination LBA
The command completion result from CQE dword0
Range description
Size of struct nvme_copy_args
File descriptor of the nvme device
Timeout in ms
Namespace identifier
Initial logical block reference tag
Limited retry
Force unit access
Number of ranges
Directive specific value
Logical block application tag mask
Logical block application tag
Protection information field for read
Protection information field for write
Directive type
Descriptor format
Initial logical block reference tag - 8 byte version required for enhanced protection info
struct nvme_copy_args November 2025