Reference

libnvme_sed_setup_range-libnvme3(2)

Configure the global locking range

NAME

libnvme_sed_setup_range - Configure the global locking range

SYNOPSIS

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

ARGUMENTS

hdl

Transport handle

key

Admin1 password

read_lock

Enable read locking

write_lock

Enable write locking

RETURN

See the return value convention above.