| 1 |
.TH "libnvme" 9 "struct nvme_resv_acquire_args" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_resv_acquire_args \- Arguments for the NVMe Reservation Acquire Command |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_resv_acquire_args { |
| 6 |
.br |
| 7 |
.BI " __u64 crkey;" |
| 8 |
.br |
| 9 |
.BI " __u64 nrkey;" |
| 10 |
.br |
| 11 |
.BI " __u32 *result;" |
| 12 |
.br |
| 13 |
.BI " int args_size;" |
| 14 |
.br |
| 15 |
.BI " int fd;" |
| 16 |
.br |
| 17 |
.BI " __u32 timeout;" |
| 18 |
.br |
| 19 |
.BI " __u32 nsid;" |
| 20 |
.br |
| 21 |
.BI " enum nvme_resv_rtype rtype;" |
| 22 |
.br |
| 23 |
.BI " enum nvme_resv_racqa racqa;" |
| 24 |
.br |
| 25 |
.BI " bool iekey;" |
| 26 |
.br |
| 27 |
.BI " |
| 28 |
}; |
| 29 |
.br |
| 30 |
|
| 31 |
.SH Members |
| 32 |
.IP "crkey" 12 |
| 33 |
The current reservation key associated with the host |
| 34 |
.IP "nrkey" 12 |
| 35 |
The reservation key to be unregistered from the namespace if |
| 36 |
the action is preempt |
| 37 |
.IP "result" 12 |
| 38 |
The command completion result from CQE dword0 |
| 39 |
.IP "args_size" 12 |
| 40 |
Size of \fIstruct nvme_resv_acquire_args\fP |
| 41 |
.IP "fd" 12 |
| 42 |
File descriptor of nvme device |
| 43 |
.IP "timeout" 12 |
| 44 |
Timeout in ms |
| 45 |
.IP "nsid" 12 |
| 46 |
Namespace identifier |
| 47 |
.IP "rtype" 12 |
| 48 |
The type of reservation to be create, see \fIenum nvme_resv_rtype\fP |
| 49 |
.IP "racqa" 12 |
| 50 |
The action that is performed by the command, see \fIenum nvme_resv_racqa\fP |
| 51 |
.IP "iekey" 12 |
| 52 |
Set to ignore the existing key |