1POSIX_LOCK_FILE_WAIT(9) The Linux VFS POSIX_LOCK_FILE_WAIT(9)
2
3
4
6 posix_lock_file_wait - Apply a POSIX-style lock to a file
7
9 int posix_lock_file_wait(struct file * filp, struct file_lock * fl);
10
12 filp
13 The file to apply the lock to
14
15 fl
16 The lock to be applied
17
19 Add a POSIX style lock to a file. We merge adjacent & overlapping locks
20 whenever possible. POSIX locks are sorted by owner task, then by
21 starting address
22
24Kernel Hackers Manual 2.6. June 2019 POSIX_LOCK_FILE_WAIT(9)