Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

nvme_identify_secondary_ctrl_list - Retrieves secondary controller list

Arguments

fd File descriptor of nvme device cntid Return controllers starting at this identifier sc_list User space destination address to transfer the data

Description

A Secondary Controller List is returned to the host for up to 127 secondary controllers associated with the primary controller processing this command. The list contains entries for controller identifiers greater than or equal to the value specified in the Controller Identifier (cntid). See structnvme_secondary_ctrls_list for a definition of the returned structure.

Name

nvme_identify_secondary_ctrl_list - Retrieves secondary controller list

Return

The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set otherwise. May 2025 nvme_identify_secondary_ctrl_list nvme_identify_secondary_ctrl_list(2)

Synopsis

intnvme_identify_secondary_ctrl_list(intfd,__u16cntid,structnvme_secondary_ctrl_list*sc_list);

See Also