Debian Codegraph @

doc/man/nvme_mi_mi_read_mi_data_ctrl.2

raw
1 .TH "nvme_mi_mi_read_mi_data_ctrl" 9 "nvme_mi_mi_read_mi_data_ctrl" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_mi_mi_read_mi_data_ctrl \- Perform a Read MI Data Structure command, retrieving controller information
4 .SH SYNOPSIS
5 .B "int" nvme_mi_mi_read_mi_data_ctrl
6 .BI "(nvme_mi_ep_t ep " ","
7 .BI "__u16 ctrl_id " ","
8 .BI "struct nvme_mi_read_ctrl_info *ctrl " ");"
9 .SH ARGUMENTS
10 .IP "ep" 12
11 endpoint for MI communication
12 .IP "ctrl_id" 12
13 ID of controller to query
14 .IP "ctrl" 12
15 controller data to populate
16 .SH "DESCRIPTION"
17 Retrieves the Controller Information Data Structure for the attached
18 controller with ID \fIctrlid\fP.
19
20 See \fIstruct nvme_mi_read_ctrl_info\fP.
21 .SH "RETURN"
22 The nvme command status if a response was received (see
23 \fIenum nvme_status_field\fP) or -1 with errno set otherwise..