lock_may_read man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

LOCK_MAY_READ(9)		 The Linux VFS		      LOCK_MAY_READ(9)

NAME
       lock_may_read - checks that the region is free of locks

SYNOPSIS
       int lock_may_read(struct inode * inode, loff_t start,
			 unsigned long len);

ARGUMENTS
       inode
	   the inode that is being read

       start
	   the first byte to read

       len
	   the number of bytes to read

DESCRIPTION
       Emulates Windows locking requirements. Whole-file mandatory locks
       (share modes) can prohibit a read and byte-range POSIX locks can
       prohibit a read if they overlap.

       N.B. this function is only ever called from knfsd and ownership of
       locks is never checked.

COPYRIGHT
Kernel Hackers Manual 3.8.	   June 2014		      LOCK_MAY_READ(9)
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net