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