| 1 |
.TH "nvme_init_ctrl_list" 9 "nvme_init_ctrl_list" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_init_ctrl_list \- Initialize an nvme_ctrl_list structure from an array. |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "void" nvme_init_ctrl_list |
| 6 |
.BI "(struct nvme_ctrl_list *cntlist " "," |
| 7 |
.BI "__u16 num_ctrls " "," |
| 8 |
.BI "__u16 *ctrlist " ");" |
| 9 |
.SH ARGUMENTS |
| 10 |
.IP "cntlist" 12 |
| 11 |
The controller list structure to initialize |
| 12 |
.IP "num_ctrls" 12 |
| 13 |
The number of controllers in the array, \fIctrlist\fP. |
| 14 |
.IP "ctrlist" 12 |
| 15 |
An array of controller identifiers in CPU native endian. |
| 16 |
.SH "DESCRIPTION" |
| 17 |
This is intended to be used with any command that takes a controller list |
| 18 |
argument. See \fBnvme_ns_attach_ctrls\fP and \fBnvme_ns_detach\fP. |