locks: rename lease functions to reflect locks.c conventions