Skip to main content

nvme_ctrl_identify

Function nvme_ctrl_identify 

Source
pub unsafe extern "C" fn nvme_ctrl_identify(
    c: nvme_ctrl_t,
    id: *mut nvme_id_ctrl,
) -> c_int
Expand description

nvme_ctrl_identify() - Issues an ‘identify controller’ command @c: Controller instance @id: Identify controller data structure

Issues an ‘identify controller’ command to @c and copies the data into @id.

Return: 0 on success or -1 on failure.