tag | line | file | source code |
file_lock | 76 | fs/locks.c | static int flock_make_lock(struct file *filp, struct file_lock *fl, |
file_lock | 78 | fs/locks.c | static int posix_make_lock(struct file *filp, struct file_lock *fl, |
file_lock | 80 | fs/locks.c | static int flock_locks_conflict(struct file_lock *caller_fl, |
file_lock | 81 | fs/locks.c | struct file_lock *sys_fl); |
file_lock | 82 | fs/locks.c | static int posix_locks_conflict(struct file_lock *caller_fl, |
file_lock | 83 | fs/locks.c | struct file_lock *sys_fl); |
file_lock | 84 | fs/locks.c | static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl); |
file_lock | 85 | fs/locks.c | static int flock_lock_file(struct file *filp, struct file_lock *caller, |
file_lock | 87 | fs/locks.c | static int posix_lock_file(struct file *filp, struct file_lock *caller, |
file_lock | 91 | fs/locks.c | static int locks_overlap(struct file_lock *fl1, struct file_lock *fl2); |
file_lock | 93 | fs/locks.c | static struct file_lock *locks_alloc_lock(struct file_lock *fl); |
file_lock | 94 | fs/locks.c | static void locks_insert_lock(struct file_lock **pos, struct file_lock *fl); |
file_lock | 95 | fs/locks.c | static void locks_delete_lock(struct file_lock **fl, unsigned int wait); |
file_lock | 97 | fs/locks.c | static struct file_lock *file_lock_table = NULL; |
file_lock | 100 | fs/locks.c | static inline void locks_free_lock(struct file_lock **fl) |
file_lock | 120 | fs/locks.c | static inline void locks_insert_block(struct file_lock **block, |
file_lock | 121 | fs/locks.c | struct file_lock *fl) |
file_lock | 123 | fs/locks.c | struct file_lock *bfl; |
file_lock | 135 | fs/locks.c | static inline void locks_delete_block(struct file_lock **block, |
file_lock | 136 | fs/locks.c | struct file_lock *fl) |
file_lock | 138 | fs/locks.c | struct file_lock *bfl; |
file_lock | 155 | fs/locks.c | struct file_lock file_lock; |
file_lock | 161 | fs/locks.c | if (!flock_make_lock(filp, &file_lock, cmd)) |
file_lock | 164 | fs/locks.c | if ((file_lock.fl_type != F_UNLCK) && !(filp->f_mode & 3)) |
file_lock | 167 | fs/locks.c | return (flock_lock_file(filp, &file_lock, cmd & LOCK_UN ? 0 : cmd & LOCK_NB ? 0 : 1)); |
file_lock | 178 | fs/locks.c | struct file_lock *fl,file_lock; |
file_lock | 191 | fs/locks.c | if (!posix_make_lock(filp, &file_lock, &flock)) |
file_lock | 195 | fs/locks.c | if (posix_locks_conflict(&file_lock, fl)) { |
file_lock | 220 | fs/locks.c | struct file_lock file_lock; |
file_lock | 235 | fs/locks.c | if (!posix_make_lock(filp, &file_lock, &flock)) |
file_lock | 256 | fs/locks.c | return (posix_lock_file(filp, &file_lock, cmd == F_SETLKW)); |
file_lock | 263 | fs/locks.c | struct file_lock *fl; |
file_lock | 264 | fs/locks.c | struct file_lock **before; |
file_lock | 286 | fs/locks.c | static int posix_make_lock(struct file *filp, struct file_lock *fl, |
file_lock | 341 | fs/locks.c | static int flock_make_lock(struct file *filp, struct file_lock *fl, |
file_lock | 374 | fs/locks.c | static int posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) |
file_lock | 389 | fs/locks.c | static int flock_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) |
file_lock | 404 | fs/locks.c | static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) |
file_lock | 426 | fs/locks.c | static int locks_overlap(struct file_lock *fl1, struct file_lock *fl2) |
file_lock | 446 | fs/locks.c | struct file_lock *fl; |
file_lock | 473 | fs/locks.c | static int flock_lock_file(struct file *filp, struct file_lock *caller, |
file_lock | 476 | fs/locks.c | struct file_lock *fl; |
file_lock | 477 | fs/locks.c | struct file_lock *new_fl; |
file_lock | 478 | fs/locks.c | struct file_lock **before; |
file_lock | 555 | fs/locks.c | static int posix_lock_file(struct file *filp, struct file_lock *caller, |
file_lock | 558 | fs/locks.c | struct file_lock *fl; |
file_lock | 559 | fs/locks.c | struct file_lock *new_fl; |
file_lock | 560 | fs/locks.c | struct file_lock *left = NULL; |
file_lock | 561 | fs/locks.c | struct file_lock *right = NULL; |
file_lock | 562 | fs/locks.c | struct file_lock **before; |
file_lock | 720 | fs/locks.c | static struct file_lock *locks_alloc_lock(struct file_lock *fl) |
file_lock | 722 | fs/locks.c | struct file_lock *tmp; |
file_lock | 725 | fs/locks.c | if ((tmp = (struct file_lock *)kmalloc(sizeof(struct file_lock), |
file_lock | 748 | fs/locks.c | static void locks_insert_lock(struct file_lock **pos, struct file_lock *fl) |
file_lock | 769 | fs/locks.c | static void locks_delete_lock(struct file_lock **fl_p, unsigned int wait) |
file_lock | 771 | fs/locks.c | struct file_lock *fl; |
file_lock | 772 | fs/locks.c | struct file_lock *bfl; |
file_lock | 284 | include/linux/fs.h | struct file_lock *i_flock; |
file_lock | 333 | include/linux/fs.h | struct file_lock *fl_next; /* singly linked list for this inode */ |
file_lock | 334 | include/linux/fs.h | struct file_lock *fl_nextlink; /* doubly linked list of all locks */ |
file_lock | 335 | include/linux/fs.h | struct file_lock *fl_prevlink; /* used to simplify lock removal */ |
file_lock | 336 | include/linux/fs.h | struct file_lock *fl_block; |