libnvme_sed_lock_unlock-libnvme3(2)

libnvme_sed_lock_unlock-libnvme32

Change the lock state of the global range

Usage

int libnvme_sed_lock_unlock (struct libnvme_transport_handle *hdl , const struct libnvme_sed_key *key , enum libnvme_sed_lock_state state );

Arguments

hdl

Transport handle

key

Admin1 password

state

New lock state, see enum libnvme_sed_lock_state

Return

See the return value convention above.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.