taglinefilesource code
file_lock33fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l,
file_lock35fs/locks.cstatic int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl);
file_lock36fs/locks.cstatic int overlap(struct file_lock *fl1, struct file_lock *fl2);
file_lock37fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd);
file_lock38fs/locks.cstatic struct file_lock *alloc_lock(struct file_lock **pos, struct file_lock *fl,
file_lock40fs/locks.cstatic void free_lock(struct file_lock **fl);
file_lock45fs/locks.cstatic struct file_lock *file_lock_table = NULL;
file_lock46fs/locks.cstatic struct file_lock *file_lock_free_list = NULL;
file_lock53fs/locks.cstruct file_lock *fl,file_lock;
file_lock63fs/locks.cif (!copy_flock(filp, &file_lock, &flock, fd))
file_lock67fs/locks.cif (conflict(&file_lock, fl)) {
file_lock92fs/locks.cstruct file_lock *fl,file_lock;
file_lock105fs/locks.cif (!copy_flock(filp, &file_lock, &flock, fd))
file_lock107fs/locks.cswitch (file_lock.fl_type) {
file_lock119fs/locks.cfile_lock.fl_type = F_RDLCK;
file_lock124fs/locks.cfile_lock.fl_type = F_WRLCK;
file_lock134fs/locks.cif (file_lock.fl_type != F_UNLCK) {
file_lock137fs/locks.cif (!conflict(&file_lock, fl))
file_lock147fs/locks.cif (locks_deadlocked(file_lock.fl_owner->pid,fl->fl_owner->pid)) return -EDEADLOCK;
file_lock162fs/locks.creturn lock_it(filp, &file_lock, fd);
file_lock176fs/locks.cstruct file_lock *fl;
file_lock202fs/locks.cstruct file_lock *fl;
file_lock203fs/locks.cstruct file_lock **before;
file_lock222fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l,
file_lock255fs/locks.cstatic int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl)
file_lock271fs/locks.cstatic int overlap(struct file_lock *fl1, struct file_lock *fl2)
file_lock296fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd)
file_lock298fs/locks.cstruct file_lock *fl;
file_lock299fs/locks.cstruct file_lock *left = 0;
file_lock300fs/locks.cstruct file_lock *right = 0;
file_lock301fs/locks.cstruct file_lock **before;
file_lock450fs/locks.cstatic struct file_lock *alloc_lock(struct file_lock **pos,
file_lock451fs/locks.cstruct file_lock *fl,
file_lock454fs/locks.cstruct file_lock *tmp;
file_lock461fs/locks.ctmp = (struct file_lock *)kmalloc(sizeof(struct file_lock), GFP_KERNEL);
file_lock495fs/locks.cstatic void free_lock(struct file_lock **fl_p)
file_lock497fs/locks.cstruct file_lock *fl;
file_lock222include/linux/fs.hstruct file_lock * i_flock;
file_lock269include/linux/fs.hstruct file_lock *fl_next;  /* singly linked list */
file_lock270include/linux/fs.hstruct file_lock *fl_nextlink;