#[repr(C)]pub struct nvme_zns_append_args {Show 17 fields
pub zslba: __u64,
pub result: *mut __u64,
pub data: *mut c_void,
pub metadata: *mut c_void,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub nsid: __u32,
pub ilbrt: __u32,
pub data_len: __u32,
pub metadata_len: __u32,
pub nlb: __u16,
pub control: __u16,
pub lbat: __u16,
pub lbatm: __u16,
pub rsvd1: [__u8; 4],
pub ilbrt_u64: __u64,
}Expand description
struct nvme_zns_append_args - Arguments for the NVMe ZNS Append command @zslba: Zone start logical block address @result: The command completion result from CQE dword0 @data: Userspace address of the data @metadata: Userspace address of the metadata @args_size: Size of &struct nvme_zns_append_args @fd: File descriptor of nvme device @timeout: Timeout in ms @nsid: Namespace ID @ilbrt: Initial logical block reference tag @data_len: Length of @data @metadata_len: Length of @metadata @nlb: Number of logical blocks @control: @lbat: Logical block application tag @lbatm: Logical block application tag mask @rsvd1: Reserved @ilbrt_u64: Initial logical block reference tag - 8 byte version required for enhanced protection info
Fields§
§zslba: __u64§result: *mut __u64§data: *mut c_void§metadata: *mut c_void§args_size: c_int§fd: c_int§timeout: __u32§nsid: __u32§ilbrt: __u32§data_len: __u32§metadata_len: __u32§nlb: __u16§control: __u16§lbat: __u16§lbatm: __u16§rsvd1: [__u8; 4]§ilbrt_u64: __u64Trait Implementations§
Source§impl Clone for nvme_zns_append_args
impl Clone for nvme_zns_append_args
Source§fn clone(&self) -> nvme_zns_append_args
fn clone(&self) -> nvme_zns_append_args
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for nvme_zns_append_args
impl Debug for nvme_zns_append_args
Source§impl Default for nvme_zns_append_args
impl Default for nvme_zns_append_args
impl Copy for nvme_zns_append_args
Auto Trait Implementations§
impl Freeze for nvme_zns_append_args
impl RefUnwindSafe for nvme_zns_append_args
impl !Send for nvme_zns_append_args
impl !Sync for nvme_zns_append_args
impl Unpin for nvme_zns_append_args
impl UnsafeUnpin for nvme_zns_append_args
impl UnwindSafe for nvme_zns_append_args
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more