taglinefilesource code
file_lock23fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l);
file_lock24fs/locks.cstatic int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl);
file_lock25fs/locks.cstatic int overlap(struct file_lock *fl1, struct file_lock *fl2);
file_lock26fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller);
file_lock27fs/locks.cstatic int unlock_it(struct file *filp, struct file_lock *caller);
file_lock28fs/locks.cstatic struct file_lock *alloc_lock(struct file *filp, struct file_lock *template);
file_lock29fs/locks.cstatic void free_lock(struct file *filp, struct file_lock *fl);
file_lock31fs/locks.cstatic struct file_lock file_lock_table[NR_FILE_LOCKS];
file_lock32fs/locks.cstatic struct file_lock *file_lock_free_list;
file_lock40fs/locks.cstruct file_lock *fl;
file_lock56fs/locks.cstruct file_lock *fl,file_lock;
file_lock66fs/locks.cif (!copy_flock(filp, &file_lock, &flock))
file_lock70fs/locks.cif (conflict(&file_lock, fl)) {
file_lock95fs/locks.cstruct file_lock *fl,file_lock;
file_lock108fs/locks.cif (!copy_flock(filp, &file_lock, &flock))
file_lock110fs/locks.cswitch (file_lock.fl_type) {
file_lock122fs/locks.cfile_lock.fl_type = F_RDLCK;
file_lock127fs/locks.cfile_lock.fl_type = F_WRLCK;
file_lock137fs/locks.cif (file_lock.fl_type == F_UNLCK)
file_lock138fs/locks.creturn unlock_it(filp, &file_lock);
file_lock146fs/locks.cif (!conflict(&file_lock, fl))
file_lock168fs/locks.creturn lock_it(filp, &file_lock);
file_lock177fs/locks.cstruct file_lock *fl,*next;
file_lock196fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l)
file_lock229fs/locks.cstatic int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl)
file_lock244fs/locks.cstatic int overlap(struct file_lock *fl1, struct file_lock *fl2)
file_lock267fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller)
file_lock269fs/locks.cstruct file_lock *fl,*new;
file_lock380fs/locks.cstatic int unlock_it(struct file *filp, struct file_lock *caller)
file_lock383fs/locks.cstruct file_lock *fl,*next;
file_lock437fs/locks.cstatic struct file_lock *alloc_lock(struct file *filp, struct file_lock *template)
file_lock439fs/locks.cstruct file_lock *new;
file_lock465fs/locks.cstatic void free_lock(struct file *filp, struct file_lock *fl)
file_lock467fs/locks.cstruct file_lock **fl_p;
file_lock183include/linux/fs.hstruct file_lock * i_flock;
file_lock220include/linux/fs.hstruct file_lock *fl_next;  /* singly linked list */