NAME
nvme_init_resv_acquire - Initialize passthru command for Reservation Acquire
SYNOPSIS
void nvme_init_resv_acquire (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_resv_racqa racqa , bool iekey , bool disnsrs , enum nvme_resv_rtype rtype , __u64 crkey , __u64 prkey , __le64 *payload );
ARGUMENTS
- cmd
-
Passthru command to use
- nsid
-
Namespace identifier
- racqa
-
The action that is performed by the command, see enum nvme_resv_racqa
- iekey
-
Set to ignore the existing key
- disnsrs
-
Disperse Namespace Reservation Support
- rtype
-
The type of reservation to be create, see enum nvme_resv_rtype
- crkey
-
The current reservation key associated with the host
- prkey
-
Preempt Reservation Key
- payload
-
Data payload buffer to hold crkey and prkey
DESCRIPTION
Initializes the passthru command buffer for the Reservation Acquire command.