File Locks

posix_lock_file - Apply a POSIX-style lock to a file
posix_lock_file_wait - Apply a POSIX-style lock to a file
locks_mandatory_area - Check for a conflicting lock
__break_lease - revoke all outstanding leases on file
lease_get_mtime - get the last modified time of an inode
generic_setlease - sets a lease on an open file
vfs_setlease - sets a lease on an open file
flock_lock_file_wait - Apply a FLOCK-style lock to a file
vfs_test_lock - test file byte range lock
vfs_lock_file - file byte range lock
posix_unblock_lock - stop waiting for a file lock
vfs_cancel_lock - file byte range unblock lock
lock_may_read - checks that the region is free of locks
lock_may_write - checks that the region is free of locks
locks_mandatory_locked - Check for an active lock
fcntl_getlease - Enquire what lease is currently active
fcntl_setlease - sets a lease on an open file
sys_flock - flock system call.