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_mi_admin_identify_primary_ctrl - Perform an Admin identify for primary controller capabilities data

Arguments

ctrl Controller to process identify command cntid Controller ID to specify cap Primary Controller Capabilities data structure to populate

Description

Perform an Identify command to get the Primary Controller Capabilities data for the controller specified by cntid Will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE, so cap will be be fully populated on success. See: structnvme_primary_ctrl_cap

Name

nvme_mi_admin_identify_primary_ctrl - Perform an Admin identify for primary controller capabilities data structure.

Return

0 on success, non-zero on failure August 2025 nvme_mi_admin_identify_primary_ctrlnvme_mi_admin_identify_primary_ctrl(2)

Synopsis

intnvme_mi_admin_identify_primary_ctrl(nvme_mi_ctrl_tctrl,__u16cntid,structnvme_primary_ctrl_cap*cap);

See Also