| 1 |
.TH "nvme_identify_nsid_ctrl_list" 9 "nvme_identify_nsid_ctrl_list" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_identify_nsid_ctrl_list \- Retrieves controller list attached to an nsid |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_identify_nsid_ctrl_list |
| 6 |
.BI "(int fd " "," |
| 7 |
.BI "__u32 nsid " "," |
| 8 |
.BI "__u16 cntid " "," |
| 9 |
.BI "struct nvme_ctrl_list *cntlist " ");" |
| 10 |
.SH ARGUMENTS |
| 11 |
.IP "fd" 12 |
| 12 |
File descriptor of nvme device |
| 13 |
.IP "nsid" 12 |
| 14 |
Return controllers that are attached to this nsid |
| 15 |
.IP "cntid" 12 |
| 16 |
Starting CNTLID to return in the list |
| 17 |
.IP "cntlist" 12 |
| 18 |
User space destination address to transfer the data |
| 19 |
.SH "DESCRIPTION" |
| 20 |
Up to 2047 controller identifiers are returned containing a controller |
| 21 |
identifier greater than or equal to the controller identifier specified in |
| 22 |
\fIcntid\fP attached to \fInsid\fP. |
| 23 |
|
| 24 |
See \fIstruct nvme_ctrl_list\fP for a definition of the structure returned. |
| 25 |
.SH "RETURN" |
| 26 |
The nvme command status if a response was received (see |
| 27 |
\fIenum nvme_status_field\fP) or -1 |