| tag | line | file | source code |
| file_lock | 23 | fs/locks.c | static int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l); |
| file_lock | 24 | fs/locks.c | static int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl); |
| file_lock | 25 | fs/locks.c | static int overlap(struct file_lock *fl1, struct file_lock *fl2); |
| file_lock | 26 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller); |
| file_lock | 27 | fs/locks.c | static int unlock_it(struct file *filp, struct file_lock *caller); |
| file_lock | 28 | fs/locks.c | static struct file_lock *alloc_lock(struct file *filp, struct file_lock *template); |
| file_lock | 29 | fs/locks.c | static void free_lock(struct file *filp, struct file_lock *fl); |
| file_lock | 31 | fs/locks.c | static struct file_lock file_lock_table[NR_FILE_LOCKS]; |
| file_lock | 32 | fs/locks.c | static struct file_lock *file_lock_free_list; |
| file_lock | 40 | fs/locks.c | struct file_lock *fl; |
| file_lock | 55 | fs/locks.c | struct file_lock *fl,file_lock; |
| file_lock | 63 | fs/locks.c | if (!copy_flock(filp, &file_lock, &flock)) |
| file_lock | 67 | fs/locks.c | if (conflict(&file_lock, fl)) { |
| file_lock | 91 | fs/locks.c | struct file_lock *fl,file_lock; |
| file_lock | 102 | fs/locks.c | if (!copy_flock(filp, &file_lock, &flock)) |
| file_lock | 104 | fs/locks.c | switch (file_lock.fl_type) { |
| file_lock | 121 | fs/locks.c | if (file_lock.fl_type == F_UNLCK) |
| file_lock | 122 | fs/locks.c | return unlock_it(filp, &file_lock); |
| file_lock | 130 | fs/locks.c | if (!conflict(&file_lock, fl)) |
| file_lock | 148 | fs/locks.c | return lock_it(filp, &file_lock); |
| file_lock | 157 | fs/locks.c | struct file_lock *fl,*next; |
| file_lock | 176 | fs/locks.c | static int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l) |
| file_lock | 208 | fs/locks.c | static int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) |
| file_lock | 223 | fs/locks.c | static int overlap(struct file_lock *fl1, struct file_lock *fl2) |
| file_lock | 246 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller) |
| file_lock | 248 | fs/locks.c | struct file_lock *fl,*new; |
| file_lock | 359 | fs/locks.c | static int unlock_it(struct file *filp, struct file_lock *caller) |
| file_lock | 362 | fs/locks.c | struct file_lock *fl,*next; |
| file_lock | 416 | fs/locks.c | static struct file_lock *alloc_lock(struct file *filp, struct file_lock *template) |
| file_lock | 418 | fs/locks.c | struct file_lock *new; |
| file_lock | 444 | fs/locks.c | static void free_lock(struct file *filp, struct file_lock *fl) |
| file_lock | 446 | fs/locks.c | struct file_lock **fl_p; |
| file_lock | 160 | include/linux/fs.h | struct file_lock * i_flock; |
| file_lock | 195 | include/linux/fs.h | struct file_lock *fl_next; /* singly linked list */ |