| 1 |
.TH "nvme_mi_admin_get_log_ana" 9 "nvme_mi_admin_get_log_ana" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_get_log_ana \- Retrieve Asymmetric Namespace Access log page |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_get_log_ana |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "enum nvme_log_ana_lsp lsp " "," |
| 8 |
.BI "bool rae " "," |
| 9 |
.BI "__u64 offset " "," |
| 10 |
.BI "__u32 len " "," |
| 11 |
.BI "void *log " ");" |
| 12 |
.SH ARGUMENTS |
| 13 |
.IP "ctrl" 12 |
| 14 |
Controller to query |
| 15 |
.IP "lsp" 12 |
| 16 |
Log specific, see \fIenum nvme_get_log_ana_lsp\fP |
| 17 |
.IP "rae" 12 |
| 18 |
Retain asynchronous events |
| 19 |
.IP "offset" 12 |
| 20 |
Offset to the start of the log page |
| 21 |
.IP "len" 12 |
| 22 |
The allocated length of the log page |
| 23 |
.IP "log" 12 |
| 24 |
User address to store the ana log |
| 25 |
.SH "DESCRIPTION" |
| 26 |
This log consists of a header describing the log and descriptors containing |
| 27 |
the asymmetric namespace access information for ANA Groups that contain |
| 28 |
namespaces that are attached to the controller processing the command. |
| 29 |
|
| 30 |
See \fIstruct nvme_ana_log\fP for the definition of the returned structure. |
| 31 |
.SH "RETURN" |
| 32 |
The nvme command status if a response was received (see |
| 33 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |