taglinefilesource code
file_lock27fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l,
file_lock29fs/locks.cstatic int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl);
file_lock30fs/locks.cstatic int overlap(struct file_lock *fl1, struct file_lock *fl2);
file_lock31fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd);
file_lock32fs/locks.cstatic struct file_lock *alloc_lock(struct file_lock **pos, struct file_lock *fl,
file_lock34fs/locks.cstatic void free_lock(struct file_lock **fl);
file_lock39fs/locks.cstatic struct file_lock file_lock_table[NR_FILE_LOCKS];
file_lock40fs/locks.cstatic struct file_lock *file_lock_free_list;
file_lock48fs/locks.cstruct file_lock *fl;
file_lock64fs/locks.cstruct file_lock *fl,file_lock;
file_lock74fs/locks.cif (!copy_flock(filp, &file_lock, &flock, fd))
file_lock78fs/locks.cif (conflict(&file_lock, fl)) {
file_lock103fs/locks.cstruct file_lock *fl,file_lock;
file_lock116fs/locks.cif (!copy_flock(filp, &file_lock, &flock, fd))
file_lock118fs/locks.cswitch (file_lock.fl_type) {
file_lock130fs/locks.cfile_lock.fl_type = F_RDLCK;
file_lock135fs/locks.cfile_lock.fl_type = F_WRLCK;
file_lock145fs/locks.cif (file_lock.fl_type != F_UNLCK) {
file_lock148fs/locks.cif (!conflict(&file_lock, fl))
file_lock158fs/locks.cif (locks_deadlocked(file_lock.fl_owner->pid,fl->fl_owner->pid)) return -EDEADLOCK;
file_lock173fs/locks.creturn lock_it(filp, &file_lock, fd);
file_lock187fs/locks.cstruct file_lock *fl;
file_lock213fs/locks.cstruct file_lock *fl;
file_lock214fs/locks.cstruct file_lock **before;
file_lock233fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l,
file_lock266fs/locks.cstatic int conflict(struct file_lock *caller_fl, struct file_lock *sys_fl)
file_lock282fs/locks.cstatic int overlap(struct file_lock *fl1, struct file_lock *fl2)
file_lock307fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd)
file_lock309fs/locks.cstruct file_lock *fl;
file_lock310fs/locks.cstruct file_lock *left = 0;
file_lock311fs/locks.cstruct file_lock *right = 0;
file_lock312fs/locks.cstruct file_lock **before;
file_lock458fs/locks.cstatic struct file_lock *alloc_lock(struct file_lock **pos,
file_lock459fs/locks.cstruct file_lock *fl,
file_lock462fs/locks.cstruct file_lock *tmp;
file_lock488fs/locks.cstatic void free_lock(struct file_lock **fl_p)
file_lock490fs/locks.cstruct file_lock *fl;
file_lock221include/linux/fs.hstruct file_lock * i_flock;
file_lock267include/linux/fs.hstruct file_lock *fl_next;  /* singly linked list */