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_mi_read_mi_data_ctrl - Perform a Read MI Data Structure command, retrieving controller

Arguments

ep endpoint for MI communication ctrl_id ID of controller to query ctrl controller data to populate

Description

Retrieves the Controller Information Data Structure for the attached controller with ID ctrlid. See structnvme_mi_read_ctrl_info.

Name

nvme_mi_mi_read_mi_data_ctrl - Perform a Read MI Data Structure command, retrieving controller information

Return

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

Synopsis

intnvme_mi_mi_read_mi_data_ctrl(nvme_mi_ep_tep,__u16ctrl_id,structnvme_mi_read_ctrl_info*ctrl);

See Also