tag | line | file | source code |
file_lock | 25 | fs/locks.c | static int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l, |
file_lock | 27 | fs/locks.c | static int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl); |
file_lock | 28 | fs/locks.c | static int overlap(struct file_lock *fl1, struct file_lock *fl2); |
file_lock | 29 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd); |
file_lock | 30 | fs/locks.c | static struct file_lock *alloc_lock(struct file_lock **pos, struct file_lock *fl, |
file_lock | 32 | fs/locks.c | static void free_lock(struct file_lock **fl); |
file_lock | 34 | fs/locks.c | static struct file_lock file_lock_table[NR_FILE_LOCKS]; |
file_lock | 35 | fs/locks.c | static struct file_lock *file_lock_free_list; |
file_lock | 43 | fs/locks.c | struct file_lock *fl; |
file_lock | 59 | fs/locks.c | struct file_lock *fl,file_lock; |
file_lock | 69 | fs/locks.c | if (!copy_flock(filp, &file_lock, &flock, fd)) |
file_lock | 73 | fs/locks.c | if (conflict(&file_lock, fl)) { |
file_lock | 98 | fs/locks.c | struct file_lock *fl,file_lock; |
file_lock | 111 | fs/locks.c | if (!copy_flock(filp, &file_lock, &flock, fd)) |
file_lock | 113 | fs/locks.c | switch (file_lock.fl_type) { |
file_lock | 125 | fs/locks.c | file_lock.fl_type = F_RDLCK; |
file_lock | 130 | fs/locks.c | file_lock.fl_type = F_WRLCK; |
file_lock | 140 | fs/locks.c | if (file_lock.fl_type != F_UNLCK) { |
file_lock | 143 | fs/locks.c | if (!conflict(&file_lock, fl)) |
file_lock | 166 | fs/locks.c | return lock_it(filp, &file_lock, fd); |
file_lock | 176 | fs/locks.c | struct file_lock *fl; |
file_lock | 177 | fs/locks.c | struct file_lock **before; |
file_lock | 196 | fs/locks.c | static int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l, |
file_lock | 229 | fs/locks.c | static int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) |
file_lock | 245 | fs/locks.c | static int overlap(struct file_lock *fl1, struct file_lock *fl2) |
file_lock | 270 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd) |
file_lock | 272 | fs/locks.c | struct file_lock *fl; |
file_lock | 273 | fs/locks.c | struct file_lock *left = 0; |
file_lock | 274 | fs/locks.c | struct file_lock *right = 0; |
file_lock | 275 | fs/locks.c | struct file_lock **before; |
file_lock | 421 | fs/locks.c | static struct file_lock *alloc_lock(struct file_lock **pos, |
file_lock | 422 | fs/locks.c | struct file_lock *fl, |
file_lock | 425 | fs/locks.c | struct file_lock *tmp; |
file_lock | 451 | fs/locks.c | static void free_lock(struct file_lock **fl_p) |
file_lock | 453 | fs/locks.c | struct file_lock *fl; |
file_lock | 196 | include/linux/fs.h | struct file_lock * i_flock; |
file_lock | 240 | include/linux/fs.h | struct file_lock *fl_next; /* singly linked list */ |