Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_resv_acquire_args - Arguments for the NVMe Reservation Acquire Command

SYNOPSIS

struct nvme_resv_acquire_args {
__u64 crkey;
__u64 nrkey;
__u32 *result;
int args_size;
int fd;
__u32 timeout;
__u32 nsid;
enum nvme_resv_rtype rtype;
enum nvme_resv_racqa racqa;
bool iekey;
};

Members

The current reservation key associated with the host
The reservation key to be unregistered from the namespace if the action is preempt
The command completion result from CQE dword0
Size of struct nvme_resv_acquire_args
File descriptor of nvme device
Timeout in ms
Namespace identifier
The type of reservation to be create, see enum nvme_resv_rtype
The action that is performed by the command, see enum nvme_resv_racqa
Set to ignore the existing key
struct nvme_resv_acquire_args November 2025