nvme_init_resv_acquire(9) libnvme API manual nvme_init_resv_acquire(9)

nvme_init_resv_acquire - Initialize passthru command for Reservation Acquire

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 );

Passthru command to use
Namespace identifier
The action that is performed by the command, see enum nvme_resv_racqa
Set to ignore the existing key
Disperse Namespace Reservation Support
The type of reservation to be create, see enum nvme_resv_rtype
The current reservation key associated with the host
Preempt Reservation Key
Data payload buffer to hold crkey and prkey

Initializes the passthru command buffer for the Reservation Acquire command.

nvme_init_resv_acquire October 2026