Query: lock_may_write
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LOCK_MAY_WRITE(9) The Linux VFS LOCK_MAY_WRITE(9)NAMElock_may_write - checks that the region is free of locksSYNOPSISint lock_may_write(struct inode * inode, loff_t start, unsigned long len);ARGUMENTSinode the inode that is being written start the first byte to write len the number of bytes to writeDESCRIPTIONEmulates Windows locking requirements. Whole-file mandatory locks (share modes) can prohibit a write and byte-range POSIX locks can prohibit a write if they overlap. N.B. this function is only ever called from knfsd and ownership of locks is never checked.COPYRIGHTKernel Hackers Manual 2.6. July 2010 LOCK_MAY_WRITE(9)
Related Man Pages |
---|
lockf(3) - linux |
lockf(3) - redhat |
with-lock-ex(1) - debian |
lockf(3) - centos |
clri(8) - osx |
Similar Topics in the Unix Linux Community |
---|
translating physical/virtual addresses |