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_identify_nsid_ctrl_list - Retrieves controller list attached to an nsid

Arguments

fd File descriptor of nvme device nsid Return controllers that are attached to this nsid cntid Starting CNTLID to return in the list cntlist User space destination address to transfer the data

Description

Up to 2047 controller identifiers are returned containing a controller identifier greater than or equal to the controller identifier specified in cntid attached to nsid. See structnvme_ctrl_list for a definition of the structure returned.

Name

nvme_identify_nsid_ctrl_list - Retrieves controller list attached to an nsid

Return

The nvme command status if a response was received (see enumnvme_status_field) or -1 May 2025 nvme_identify_nsid_ctrl_list nvme_identify_nsid_ctrl_list(2)

Synopsis

intnvme_identify_nsid_ctrl_list(intfd,__u32nsid,__u16cntid,structnvme_ctrl_list*cntlist);

See Also