#[repr(C)]pub struct nvme_resv_acquire_args {
pub crkey: __u64,
pub nrkey: __u64,
pub result: *mut __u32,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub nsid: __u32,
pub rtype: nvme_resv_rtype,
pub racqa: nvme_resv_racqa,
pub iekey: bool,
}Expand description
struct nvme_resv_acquire_args - Arguments for the NVMe Reservation Acquire Command @nrkey: The reservation key to be unregistered from the namespace if the action is preempt @iekey: Set to ignore the existing key @result: The command completion result from CQE dword0 @args_size: Size of &struct nvme_resv_acquire_args @fd: File descriptor of nvme device @timeout: Timeout in ms @nsid: Namespace identifier @rtype: The type of reservation to be create, see &enum nvme_resv_rtype @racqa: The action that is performed by the command, see &enum nvme_resv_racqa @crkey: The current reservation key associated with the host
Fields§
§crkey: __u64§nrkey: __u64§result: *mut __u32§args_size: c_int§fd: c_int§timeout: __u32§nsid: __u32§rtype: nvme_resv_rtype§racqa: nvme_resv_racqa§iekey: boolTrait Implementations§
Source§impl Clone for nvme_resv_acquire_args
impl Clone for nvme_resv_acquire_args
Source§fn clone(&self) -> nvme_resv_acquire_args
fn clone(&self) -> nvme_resv_acquire_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_resv_acquire_args
impl Debug for nvme_resv_acquire_args
Source§impl Default for nvme_resv_acquire_args
impl Default for nvme_resv_acquire_args
impl Copy for nvme_resv_acquire_args
Auto Trait Implementations§
impl Freeze for nvme_resv_acquire_args
impl RefUnwindSafe for nvme_resv_acquire_args
impl !Send for nvme_resv_acquire_args
impl !Sync for nvme_resv_acquire_args
impl Unpin for nvme_resv_acquire_args
impl UnsafeUnpin for nvme_resv_acquire_args
impl UnwindSafe for nvme_resv_acquire_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