tag | line | file | source code |
file_lock | 71 | fs/locks.c | static int flock_make_lock(struct file *filp, struct file_lock *fl, |
file_lock | 73 | fs/locks.c | static int posix_make_lock(struct file *filp, struct file_lock *fl, |
file_lock | 75 | fs/locks.c | static int flock_locks_conflict(struct file_lock *caller_fl, |
file_lock | 76 | fs/locks.c | struct file_lock *sys_fl); |
file_lock | 77 | fs/locks.c | static int posix_locks_conflict(struct file_lock *caller_fl, |
file_lock | 78 | fs/locks.c | struct file_lock *sys_fl); |
file_lock | 79 | fs/locks.c | static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl); |
file_lock | 80 | fs/locks.c | static int flock_lock_file(struct file *filp, struct file_lock *caller, |
file_lock | 82 | fs/locks.c | static int posix_lock_file(struct file *filp, struct file_lock *caller, |
file_lock | 86 | fs/locks.c | static int locks_overlap(struct file_lock *fl1, struct file_lock *fl2); |
file_lock | 88 | fs/locks.c | static struct file_lock *locks_alloc_lock(struct file_lock *fl); |
file_lock | 89 | fs/locks.c | static void locks_insert_lock(struct file_lock **pos, struct file_lock *fl); |
file_lock | 90 | fs/locks.c | static void locks_delete_lock(struct file_lock **fl, unsigned int wait); |
file_lock | 91 | fs/locks.c | static void locks_insert_block(struct file_lock **block, struct file_lock *fl); |
file_lock | 93 | fs/locks.c | static struct file_lock *file_lock_table = NULL; |
file_lock | 100 | fs/locks.c | struct file_lock file_lock; |
file_lock | 106 | fs/locks.c | if (!flock_make_lock(filp, &file_lock, cmd)) |
file_lock | 109 | fs/locks.c | if ((file_lock.fl_type != F_UNLCK) && !(filp->f_mode & 3)) |
file_lock | 112 | fs/locks.c | return (flock_lock_file(filp, &file_lock, cmd & LOCK_UN ? 0 : cmd & LOCK_NB ? 0 : 1)); |
file_lock | 123 | fs/locks.c | struct file_lock *fl,file_lock; |
file_lock | 136 | fs/locks.c | if (!posix_make_lock(filp, &file_lock, &flock)) |
file_lock | 140 | fs/locks.c | if (posix_locks_conflict(&file_lock, fl)) { |
file_lock | 165 | fs/locks.c | struct file_lock file_lock; |
file_lock | 180 | fs/locks.c | if (!posix_make_lock(filp, &file_lock, &flock)) |
file_lock | 201 | fs/locks.c | return (posix_lock_file(filp, &file_lock, cmd == F_SETLKW)); |
file_lock | 208 | fs/locks.c | struct file_lock *fl; |
file_lock | 209 | fs/locks.c | struct file_lock **before; |
file_lock | 231 | fs/locks.c | static int posix_make_lock(struct file *filp, struct file_lock *fl, |
file_lock | 286 | fs/locks.c | static int flock_make_lock(struct file *filp, struct file_lock *fl, |
file_lock | 319 | fs/locks.c | static int posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) |
file_lock | 334 | fs/locks.c | static int flock_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) |
file_lock | 349 | fs/locks.c | static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) |
file_lock | 371 | fs/locks.c | static int locks_overlap(struct file_lock *fl1, struct file_lock *fl2) |
file_lock | 386 | fs/locks.c | struct file_lock *fl; |
file_lock | 413 | fs/locks.c | static int flock_lock_file(struct file *filp, struct file_lock *caller, |
file_lock | 416 | fs/locks.c | struct file_lock *fl; |
file_lock | 417 | fs/locks.c | struct file_lock *new_fl; |
file_lock | 418 | fs/locks.c | struct file_lock **before; |
file_lock | 481 | fs/locks.c | static int posix_lock_file(struct file *filp, struct file_lock *caller, |
file_lock | 484 | fs/locks.c | struct file_lock *fl; |
file_lock | 485 | fs/locks.c | struct file_lock *new_fl; |
file_lock | 486 | fs/locks.c | struct file_lock *left = NULL; |
file_lock | 487 | fs/locks.c | struct file_lock *right = NULL; |
file_lock | 488 | fs/locks.c | struct file_lock **before; |
file_lock | 632 | fs/locks.c | static struct file_lock *locks_alloc_lock(struct file_lock *fl) |
file_lock | 634 | fs/locks.c | struct file_lock *tmp; |
file_lock | 637 | fs/locks.c | if ((tmp = (struct file_lock *)kmalloc(sizeof(struct file_lock), |
file_lock | 660 | fs/locks.c | static void locks_insert_lock(struct file_lock **pos, struct file_lock *fl) |
file_lock | 681 | fs/locks.c | static void locks_delete_lock(struct file_lock **fl_p, unsigned int wait) |
file_lock | 683 | fs/locks.c | struct file_lock *fl; |
file_lock | 684 | fs/locks.c | struct file_lock *bfl; |
file_lock | 721 | fs/locks.c | static void locks_insert_block(struct file_lock **block, struct file_lock *fl) |
file_lock | 723 | fs/locks.c | struct file_lock *bfl; |
file_lock | 257 | include/linux/fs.h | struct file_lock *i_flock; |
file_lock | 305 | include/linux/fs.h | struct file_lock *fl_next; /* singly linked list for this inode */ |
file_lock | 306 | include/linux/fs.h | struct file_lock *fl_nextlink; /* doubly linked list of all locks */ |
file_lock | 307 | include/linux/fs.h | struct file_lock *fl_prevlink; /* used to simplify lock removal */ |
file_lock | 308 | include/linux/fs.h | struct file_lock *fl_block; |