File Locks
Prev
Chapter 1. The Linux VFS
Next
File Locks
posix_lock_file
— Apply a POSIX-style lock to a file
posix_lock_inode_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_inode_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
locks_mandatory_locked
— Check for an active lock
fcntl_getlease
— Enquire what lease is currently active
check_conflicting_open
— see if the given dentry points to a file that has an existing open that would conflict with the desired lease.
fcntl_setlease
— sets a lease on an open file
sys_flock
—
flock
system call.