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.