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_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