logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_init_ctrl_list - Initialize an nvme_ctrl_list structure from an array.

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.

Description

This is intended to be used with any command that takes a controller list argument. See nvme_ns_attach_ctrls and nvme_ns_detach. August 2025 nvme_init_ctrl_list nvme_init_ctrl_list(2)

Name

nvme_init_ctrl_list - Initialize an nvme_ctrl_list structure from an array.

Synopsis

voidnvme_init_ctrl_list(structnvme_ctrl_list*cntlist,__u16num_ctrls,__u16*ctrlist);

See Also