nvme_init_ctrl_list2
Initialize an nvme_ctrl_list structure from an array.
Usage
void nvme_init_ctrl_list (struct nvme_ctrl_list *cntlist , __u16 num_ctrls , __u16 *ctrlist );
Arguments
cntlist
|
The controller list structure to initialize |
|---|---|
num_ctrls
|
The number of controllers in the array, ctrlist. |
ctrlist
|
An array of controller identifiers in CPU native endian. |
Overview
This is intended to be used with any command that takes a controller list argument. See nvme_ns_attach_ctrls and nvme_ns_detach.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.