DOKK / manpages / debian 12 / libnvme-dev / nvme_mi_init_ctrl.2.en
nvme_mi_init_ctrl(2) libnvme API manual nvme_mi_init_ctrl(2)

nvme_mi_init_ctrl - initialise a NVMe controller.

nvme_mi_ctrl_t nvme_mi_init_ctrl (nvme_mi_ep_t ep , __u16 ctrl_id );

Endpoint to create under
ID of controller to initialize.

Create a connection to a controller behind the endpoint specified in ep. Controller IDs may be queried from the endpoint through nvme_mi_mi_read_mi_data_ctrl_list.

See nvme_mi_close_ctrl

New controller object, or NULL on failure.

nvme_mi_init_ctrl January 2023