Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_resv_register_args - Arguments for the NVMe Reservation Register command

SYNOPSIS

struct nvme_resv_register_args {
__u64 crkey;
__u64 nrkey;
__u32 *result;
int args_size;
int fd;
__u32 timeout;
__u32 nsid;
enum nvme_resv_rrega rrega;
enum nvme_resv_cptpl cptpl;
bool iekey;
};

Members

The current reservation key associated with the host
The new reservation key to be register if action is register or replace
The command completion result from CQE dword0
Size of struct nvme_resv_register_args
File descriptor of nvme device
Timeout in ms
Namespace identifier
The registration action, see enum nvme_resv_rrega
Change persist through power loss, see enum nvme_resv_cptpl
Set to ignore the existing key
struct nvme_resv_register_args November 2025