| 1 |
.TH "nvme_mi_admin_identify_ctrl" 9 "nvme_mi_admin_identify_ctrl" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_identify_ctrl \- Perform an Admin identify for a controller |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_identify_ctrl |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "struct nvme_id_ctrl *id " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "ctrl" 12 |
| 10 |
Controller to process identify command |
| 11 |
.IP "id" 12 |
| 12 |
Controller identify data to populate |
| 13 |
.SH "DESCRIPTION" |
| 14 |
Perform an Identify command, for the controller specified by \fIctrl\fP, |
| 15 |
writing identify data to \fIid\fP. |
| 16 |
|
| 17 |
Will return an error if the length of the response data (from the |
| 18 |
controller) is not a full \fINVME_IDENTIFY_DATA_SIZE\fP, so \fIid\fP will be |
| 19 |
fully populated on success. |
| 20 |
|
| 21 |
See: \fIstruct nvme_id_ctrl\fP |
| 22 |
.SH "RETURN" |
| 23 |
The nvme command status if a response was received (see |
| 24 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |