#[repr(C)]pub struct nvme_copy_args {Show 19 fields
pub sdlba: __u64,
pub result: *mut __u32,
pub copy: *mut nvme_copy_range,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub nsid: __u32,
pub ilbrt: __u32,
pub lr: c_int,
pub fua: c_int,
pub nr: __u16,
pub dspec: __u16,
pub lbatm: __u16,
pub lbat: __u16,
pub prinfor: __u8,
pub prinfow: __u8,
pub dtype: __u8,
pub format: __u8,
pub ilbrt_u64: __u64,
}Expand description
struct nvme_copy_args - Arguments for the NVMe Copy command @sdlba: Start destination LBA @result: The command completion result from CQE dword0 @copy: Range description @args_size: Size of &struct nvme_copy_args @fd: File descriptor of the nvme device @timeout: Timeout in ms @nsid: Namespace identifier @ilbrt: Initial logical block reference tag @lr: Limited retry @fua: Force unit access @nr: Number of ranges @dspec: Directive specific value @lbatm: Logical block application tag mask @lbat: Logical block application tag @prinfor: Protection information field for read @prinfow: Protection information field for write @dtype: Directive type @format: Descriptor format @ilbrt_u64: Initial logical block reference tag - 8 byte version required for enhanced protection info
Fields§
§sdlba: __u64§result: *mut __u32§copy: *mut nvme_copy_range§args_size: c_int§fd: c_int§timeout: __u32§nsid: __u32§ilbrt: __u32§lr: c_int§fua: c_int§nr: __u16§dspec: __u16§lbatm: __u16§lbat: __u16§prinfor: __u8§prinfow: __u8§dtype: __u8§format: __u8§ilbrt_u64: __u64Trait Implementations§
Source§impl Clone for nvme_copy_args
impl Clone for nvme_copy_args
Source§fn clone(&self) -> nvme_copy_args
fn clone(&self) -> nvme_copy_args
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more