locks_mandatory_area(9) suse man page | unix.com

Man Page: locks_mandatory_area

Operating Environment: suse

Section: 9

LOCKS_MANDATORY_AREA(9) 					   The Linux VFS					   LOCKS_MANDATORY_AREA(9)

NAME
locks_mandatory_area - Check for a conflicting lock
SYNOPSIS
int locks_mandatory_area(int read_write, struct inode * inode, struct file * filp, loff_t offset, size_t count);
ARGUMENTS
read_write FLOCK_VERIFY_WRITE for exclusive access, FLOCK_VERIFY_READ for shared inode the file to check filp how the file was opened (if it was) offset start of area to check count length of area to check
DESCRIPTION
Searches the inode's list of locks to find any POSIX locks which conflict. This function is called from rw_verify_area and locks_verify_truncate.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 LOCKS_MANDATORY_AREA(9)
Related Man Pages
vfs_lock_file(9) - centos
ffind(1) - debian
matchpathcon_checkmatches(3) - centos
matchpathcon_filespec_add(3) - centos
struct_uio_info(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Change directory error
SOCKS proxy & PAM configuration exposure
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com