Skip to main content

nvme_init_ctrl

Function nvme_init_ctrl 

Source
pub unsafe extern "C" fn nvme_init_ctrl(
    h: nvme_host_t,
    c: nvme_ctrl_t,
    instance: c_int,
) -> c_int
Expand description

nvme_init_ctrl() - Initialize nvme_ctrl_t object for an existing controller. @h: nvme_host_t object @c: nvme_ctrl_t object @instance: Instance number (e.g. 1 for nvme1)

Return: The ioctl() return code. Typically 0 on success.