| 1 |
.TH "nvme_mi_admin_get_nsid_log" 9 "nvme_mi_admin_get_nsid_log" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_get_nsid_log \- Helper for Get Log Page functions |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_get_nsid_log |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "bool rae " "," |
| 8 |
.BI "enum nvme_cmd_get_log_lid lid " "," |
| 9 |
.BI "__u32 nsid " "," |
| 10 |
.BI "__u32 len " "," |
| 11 |
.BI "void *log " ");" |
| 12 |
.SH ARGUMENTS |
| 13 |
.IP "ctrl" 12 |
| 14 |
Controller to query |
| 15 |
.IP "rae" 12 |
| 16 |
Retain Asynchronous Events |
| 17 |
.IP "lid" 12 |
| 18 |
Log identifier |
| 19 |
.IP "nsid" 12 |
| 20 |
Namespace ID |
| 21 |
.IP "len" 12 |
| 22 |
length of log buffer |
| 23 |
.IP "log" 12 |
| 24 |
pointer for resulting log data |
| 25 |
.SH "DESCRIPTION" |
| 26 |
Performs a Get Log Page Admin command for a specific log ID \fIlid\fP and |
| 27 |
namespace ID \fInsid\fP. Log data is expected to be \fIlen\fP bytes, and is stored |
| 28 |
in \fIlog\fP on success. The \fIrae\fP flag is passed as-is to the Get Log Page |
| 29 |
command, and is specific to the Log Page requested. |
| 30 |
.SH "RETURN" |
| 31 |
The nvme command status if a response was received (see |
| 32 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |