Ubuntu Manpages

nvme_init_ctrl

Initialize nvme_ctrl_t object for an existing controller.

int nvme_init_ctrl (nvme_host_t h , nvme_ctrl_t c , int instance );

nvme_host_t object
nvme_ctrl_t object
Instance number (e.g. 1 for nvme1)

The ioctl return code. Typically 0 on success.