Skip to main content

nvme_io

Function nvme_io 

Source
pub unsafe extern "C" fn nvme_io(
    args: *mut nvme_io_args,
    opcode: __u8,
) -> c_int
Expand description

nvme_io() - Submit an nvme user I/O command @args: &struct nvme_io_args argument structure @opcode: Opcode to execute

Return: The nvme command status if a response was received (see &enum nvme_status_field) or -1 with errno set otherwise.