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

nvme_identify_primary_ctrl - Retrieve NVMe Primary Controller identification

Arguments

       fd          File descriptor of nvme device

       cntid       Return controllers starting at this identifier

       cap         User space destination buffer address to transfer the data

Description

       See structnvme_primary_ctrl_cap for the definition of the returned structure, cap.

Name

       nvme_identify_primary_ctrl - Retrieve NVMe Primary Controller identification

Return

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

May 2025                                   nvme_identify_primary_ctrl              nvme_identify_primary_ctrl(2)

Synopsis

intnvme_identify_primary_ctrl(intfd,__u16cntid,structnvme_primary_ctrl_cap*cap);

See Also