Skip to main content

nvme_ns_attach

Function nvme_ns_attach 

Source
pub unsafe extern "C" fn nvme_ns_attach(
    args: *mut nvme_ns_attach_args,
) -> c_int
Expand description

nvme_ns_attach() - Attach or detach namespace to controller(s) @args: &struct nvme_ns_attach_args Argument structure

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