summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_resv_acquire_args.2
blob: bbbda308ffdef3e9d2d9e9de1768ff3509cebc18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.TH "libnvme" 9 "struct nvme_resv_acquire_args" "April 2022" "API Manual" LINUX
.SH NAME
struct nvme_resv_acquire_args \- Arguments for the NVMe Reservation Acquire Comand
.SH SYNOPSIS
struct nvme_resv_acquire_args {
.br
.BI "    __u64 crkey;"
.br
.BI "    __u64 nrkey;"
.br
.BI "    __u32 *result;"
.br
.BI "    int args_size;"
.br
.BI "    int fd;"
.br
.BI "    __u32 timeout;"
.br
.BI "    __u32 nsid;"
.br
.BI "    enum nvme_resv_rtype rtype;"
.br
.BI "    enum nvme_resv_racqa racqa;"
.br
.BI "    bool iekey;"
.br
.BI "
};
.br

.SH Members
.IP "crkey" 12
The current reservation key associated with the host
.IP "nrkey" 12
The reservation key to be unregistered from the namespace if
the action is preempt
.IP "result" 12
The command completion result from CQE dword0
.IP "args_size" 12
Size of \fIstruct nvme_resv_acquire_args\fP
.IP "fd" 12
File descriptor of nvme device
.IP "timeout" 12
Timeout in ms
.IP "nsid" 12
Namespace identifier
.IP "rtype" 12
The type of reservation to be create, see \fIenum nvme_resv_rtype\fP
.IP "racqa" 12
The action that is performed by the command, see \fIenum nvme_resv_racqa\fP
.IP "iekey" 12
Set to ignore the existing key