Skip to main content

nvme_lockdown

Function nvme_lockdown 

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

nvme_lockdown() - Issue lockdown command @args: &struct nvme_lockdown_args argument structure

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