taglinefilesource code
caller31fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd);
caller307fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd)
caller321fs/locks.c(caller->fl_owner != fl->fl_owner ||
caller322fs/locks.ccaller->fl_fd != fl->fl_fd))
caller330fs/locks.c&& caller->fl_owner == fl->fl_owner
caller331fs/locks.c&& caller->fl_fd == fl->fl_fd) {
caller335fs/locks.cif (caller->fl_type == fl->fl_type) {
caller336fs/locks.cif (fl->fl_end < caller->fl_start - 1)
caller342fs/locks.cif (fl->fl_start > caller->fl_end + 1)
caller351fs/locks.cif (fl->fl_start > caller->fl_start)
caller352fs/locks.cfl->fl_start = caller->fl_start;
caller354fs/locks.ccaller->fl_start = fl->fl_start;
caller355fs/locks.cif (fl->fl_end < caller->fl_end)
caller356fs/locks.cfl->fl_end = caller->fl_end;
caller358fs/locks.ccaller->fl_end = fl->fl_end;
caller363fs/locks.ccaller = fl;
caller370fs/locks.cif (fl->fl_end < caller->fl_start)
caller372fs/locks.cif (fl->fl_start > caller->fl_end)
caller374fs/locks.cif (caller->fl_type == F_UNLCK)
caller376fs/locks.cif (fl->fl_start < caller->fl_start)
caller382fs/locks.cif (fl->fl_end > caller->fl_end) {
caller386fs/locks.cif (fl->fl_start >= caller->fl_start) {
caller401fs/locks.cfl->fl_start = caller->fl_start;
caller402fs/locks.cfl->fl_end   = caller->fl_end;
caller403fs/locks.cfl->fl_type  = caller->fl_type;
caller404fs/locks.ccaller = fl;
caller415fs/locks.cif (caller->fl_type == F_UNLCK) {
caller431fs/locks.cif (! (caller = alloc_lock(before, caller, fd)))
caller447fs/locks.cright->fl_start = caller->fl_end + 1;
caller450fs/locks.cleft->fl_end = caller->fl_start - 1;