taglinefilesource code
file_lock46fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l);
file_lock47fs/locks.cstatic int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl);
file_lock48fs/locks.cstatic int overlap(struct file_lock *fl1, struct file_lock *fl2);
file_lock49fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller);
file_lock50fs/locks.cstatic struct file_lock *alloc_lock(struct file_lock **pos, struct file_lock *fl);
file_lock51fs/locks.cstatic void free_lock(struct file_lock **fl);
file_lock56fs/locks.cstatic struct file_lock *file_lock_table = NULL;
file_lock63fs/locks.cstruct file_lock *fl,file_lock;
file_lock73fs/locks.cif (!copy_flock(filp, &file_lock, &flock))
file_lock77fs/locks.cif (conflict(&file_lock, fl)) {
file_lock102fs/locks.cstruct file_lock *fl,file_lock;
file_lock115fs/locks.cif (!copy_flock(filp, &file_lock, &flock))
file_lock117fs/locks.cswitch (file_lock.fl_type) {
file_lock129fs/locks.cfile_lock.fl_type = F_RDLCK;
file_lock134fs/locks.cfile_lock.fl_type = F_WRLCK;
file_lock144fs/locks.cif (file_lock.fl_type != F_UNLCK) {
file_lock147fs/locks.cif (!conflict(&file_lock, fl))
file_lock157fs/locks.cif (locks_deadlocked(file_lock.fl_owner->pid,fl->fl_owner->pid))
file_lock173fs/locks.creturn lock_it(filp, &file_lock);
file_lock187fs/locks.cstruct file_lock *fl;
file_lock214fs/locks.cstruct file_lock *fl;
file_lock215fs/locks.cstruct file_lock **before;
file_lock234fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l)
file_lock265fs/locks.cstatic int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl)
file_lock280fs/locks.cstatic int overlap(struct file_lock *fl1, struct file_lock *fl2)
file_lock305fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller)
file_lock307fs/locks.cstruct file_lock *fl;
file_lock308fs/locks.cstruct file_lock *left = 0;
file_lock309fs/locks.cstruct file_lock *right = 0;
file_lock310fs/locks.cstruct file_lock **before;
file_lock451fs/locks.cstatic struct file_lock *alloc_lock(struct file_lock **pos,
file_lock452fs/locks.cstruct file_lock *fl)
file_lock454fs/locks.cstruct file_lock *tmp;
file_lock457fs/locks.ctmp = (struct file_lock *)kmalloc(sizeof(struct file_lock), GFP_KERNEL);
file_lock484fs/locks.cstatic void free_lock(struct file_lock **fl_p)
file_lock486fs/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 for this inode  */
file_lock270include/linux/fs.hstruct file_lock *fl_nextlink;  /* doubly linked list of all locks */
file_lock271include/linux/fs.hstruct file_lock *fl_prevlink;  /* used to simplify lock removal */