Lines Matching defs:caller_fl
839 /* Determine if lock sys_fl blocks lock caller_fl. Common functionality
842 static bool locks_conflict(struct file_lock *caller_fl,
847 if (caller_fl->fl_type == F_WRLCK)
852 /* Determine if lock sys_fl blocks lock caller_fl. POSIX specific
855 static bool posix_locks_conflict(struct file_lock *caller_fl,
861 if (posix_same_owner(caller_fl, sys_fl))
865 if (!locks_overlap(caller_fl, sys_fl))
868 return locks_conflict(caller_fl, sys_fl);
871 /* Determine if lock sys_fl blocks lock caller_fl. Used on xx_GETLK
874 static bool posix_test_locks_conflict(struct file_lock *caller_fl,
878 if (caller_fl->fl_type == F_UNLCK) {
879 if (!posix_same_owner(caller_fl, sys_fl))
881 return locks_overlap(caller_fl, sys_fl);
883 return posix_locks_conflict(caller_fl, sys_fl);
886 /* Determine if lock sys_fl blocks lock caller_fl. FLOCK specific
889 static bool flock_locks_conflict(struct file_lock *caller_fl,
895 if (caller_fl->fl_file == sys_fl->fl_file)
898 return locks_conflict(caller_fl, sys_fl);
951 * caller_fl which is about to wait for a conflicting lock block_fl, we
992 static int posix_locks_deadlock(struct file_lock *caller_fl,
1003 if (IS_OFDLCK(caller_fl))
1009 if (posix_same_owner(caller_fl, block_fl))