Lines Matching defs:caller_fl
902 /* Determine if lock sys_fl blocks lock caller_fl. Common functionality
905 static bool locks_conflict(struct file_lock *caller_fl,
910 if (caller_fl->fl_type == F_WRLCK)
915 /* Determine if lock sys_fl blocks lock caller_fl. POSIX specific
918 static bool posix_locks_conflict(struct file_lock *caller_fl,
924 if (posix_same_owner(caller_fl, sys_fl))
928 if (!locks_overlap(caller_fl, sys_fl))
931 return locks_conflict(caller_fl, sys_fl);
934 /* Determine if lock sys_fl blocks lock caller_fl. FLOCK specific
937 static bool flock_locks_conflict(struct file_lock *caller_fl,
943 if (caller_fl->fl_file == sys_fl->fl_file)
945 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND))
948 return locks_conflict(caller_fl, sys_fl);
988 * caller_fl which is about to wait for a conflicting lock block_fl, we
1029 static int posix_locks_deadlock(struct file_lock *caller_fl,
1040 if (IS_OFDLCK(caller_fl))
1046 if (posix_same_owner(caller_fl, block_fl))