summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_mi_mi_read_mi_data_ctrl_list.2
blob: 265ded1bdf0d1ca05cbb5d4f844907e567dea954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.TH "nvme_mi_mi_read_mi_data_ctrl_list" 9 "nvme_mi_mi_read_mi_data_ctrl_list" "February 2024" "libnvme API manual" LINUX
.SH NAME
nvme_mi_mi_read_mi_data_ctrl_list \- Perform a Read MI Data Structure command, retrieving the list of attached controllers.
.SH SYNOPSIS
.B "int" nvme_mi_mi_read_mi_data_ctrl_list
.BI "(nvme_mi_ep_t ep "  ","
.BI "__u8 start_ctrlid "  ","
.BI "struct nvme_ctrl_list *list "  ");"
.SH ARGUMENTS
.IP "ep" 12
endpoint for MI communication
.IP "start_ctrlid" 12
starting controller ID
.IP "list" 12
controller list to populate
.SH "DESCRIPTION"
Retrieves the list of attached controllers, with IDs greater than or
equal to \fIstart_ctrlid\fP.

See \fIstruct nvme_ctrl_list\fP.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise..