Lines Matching refs:caller_fl
719 static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in locks_conflict() argument
723 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
731 static int posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in posix_locks_conflict() argument
736 if (posix_same_owner(caller_fl, sys_fl)) in posix_locks_conflict()
740 if (!locks_overlap(caller_fl, sys_fl)) in posix_locks_conflict()
743 return (locks_conflict(caller_fl, sys_fl)); in posix_locks_conflict()
749 static int flock_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in flock_locks_conflict() argument
754 if (caller_fl->fl_file == sys_fl->fl_file) in flock_locks_conflict()
756 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND)) in flock_locks_conflict()
759 return (locks_conflict(caller_fl, sys_fl)); in flock_locks_conflict()
839 static int posix_locks_deadlock(struct file_lock *caller_fl, in posix_locks_deadlock() argument
850 if (IS_OFDLCK(caller_fl)) in posix_locks_deadlock()
856 if (posix_same_owner(caller_fl, block_fl)) in posix_locks_deadlock()