| 1 |
.TH "nvme_mi_admin_get_log_error" 9 "nvme_mi_admin_get_log_error" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_get_log_error \- Retrieve nvme error log |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_get_log_error |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "unsigned int nr_entries " "," |
| 8 |
.BI "bool rae " "," |
| 9 |
.BI "struct nvme_error_log_page *err_log " ");" |
| 10 |
.SH ARGUMENTS |
| 11 |
.IP "ctrl" 12 |
| 12 |
Controller to query |
| 13 |
.IP "nr_entries" 12 |
| 14 |
Number of error log entries allocated |
| 15 |
.IP "rae" 12 |
| 16 |
Retain asynchronous events |
| 17 |
.IP "err_log" 12 |
| 18 |
Array of error logs of size 'entries' |
| 19 |
.SH "DESCRIPTION" |
| 20 |
This log page describes extended error information for a command that |
| 21 |
completed with error, or may report an error that is not specific to a |
| 22 |
particular command. |
| 23 |
.SH "RETURN" |
| 24 |
The nvme command status if a response was received (see |
| 25 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |