nvme_lockdown(2) libnvme API manual nvme_lockdown(2)

nvme_lockdown - Issue lockdown command

int nvme_lockdown (struct nvme_lockdown_args *args );

struct nvme_lockdown_args argument structure

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

nvme_lockdown January 2025