libnvme_sed_setup_range(9) libnvme API manual libnvme_sed_setup_range(9)

libnvme_sed_setup_range - Configure the global locking range

int libnvme_sed_setup_range (struct libnvme_transport_handle *hdl , const struct libnvme_sed_key *key , bool read_lock , bool write_lock );

Transport handle
Admin1 password
Enable read locking
Enable write locking

See the return value convention above.

libnvme_sed_setup_range October 2026