| 1 |
.TH "nvme_mi_admin_identify" 9 "nvme_mi_admin_identify" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_identify \- Perform an Admin identify command. |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_identify |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "struct nvme_identify_args *args " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "ctrl" 12 |
| 10 |
Controller to process identify command |
| 11 |
.IP "args" 12 |
| 12 |
Identify command arguments |
| 13 |
.SH "DESCRIPTION" |
| 14 |
Perform an Identify command, using the Identify command parameters in \fIargs\fP. |
| 15 |
Stores the identify data in ->data, and (if set) the result from cdw0 |
| 16 |
into args->result. |
| 17 |
|
| 18 |
Will return an error if the length of the response data (from the |
| 19 |
controller) is not a full \fINVME_IDENTIFY_DATA_SIZE\fP. |
| 20 |
|
| 21 |
See: \fIstruct nvme_identify_args\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. |