1libnvme(9)                        API Manual                        libnvme(9)
2
3
4

NAME

6       struct  nvme_resv_register_args  -  Arguments  for the NVMe Reservation
7       Register command
8

SYNOPSIS

10       struct nvme_resv_register_args {
11           __u64 crkey;
12           __u64 nrkey;
13           __u32 *result;
14           int args_size;
15           int fd;
16           __u32 timeout;
17           __u32 nsid;
18           enum nvme_resv_rrega rrega;
19           enum nvme_resv_cptpl cptpl;
20           bool iekey;
21        };
22
23

Members

25       crkey       The current reservation key associated with the host
26
27       nrkey       The new reservation key to be register if action is  regisā€
28                   ter or replace
29
30       result      The command completion result from CQE dword0
31
32       args_size   Size of struct nvme_resv_register_args
33
34       fd          File descriptor of nvme device
35
36       timeout     Timeout in ms
37
38       nsid        Namespace identifier
39
40       rrega       The registration action, see enum nvme_resv_rrega
41
42       cptpl       Change persist through power loss, see enum nvme_resv_cptpl
43
44       iekey       Set to ignore the existing key
45
46
47
48April 2022              struct nvme_resv_register_args              libnvme(9)
Impressum