libnvme_mi_mi_read_mi_data_ctrl_list(9) libnvme API manual libnvme_mi_mi_read_mi_data_ctrl_list(9)

libnvme_mi_mi_read_mi_data_ctrl_list - Perform a Read MI Data Structure command, retrieving the list of attached controllers.

int libnvme_mi_mi_read_mi_data_ctrl_list (struct libnvme_mi_ep *ep , __u8 start_ctrlid , struct nvme_ctrl_list *list );

endpoint for MI communication
starting controller ID
controller list to populate

Retrieves the list of attached controllers, with IDs greater than or equal to start_ctrlid.

See struct nvme_ctrl_list.

The nvme command status if a response was received (see enum nvme_status_field) or negative error code otherwise.

libnvme_mi_mi_read_mi_data_ctrl_list September 2026