Searched refs:sys_fl (Results 1 – 1 of 1) sorted by relevance
715 static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in locks_conflict() argument717 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()727 static int posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in posix_locks_conflict() argument732 if (posix_same_owner(caller_fl, sys_fl)) in posix_locks_conflict()736 if (!locks_overlap(caller_fl, sys_fl)) in posix_locks_conflict()739 return (locks_conflict(caller_fl, sys_fl)); in posix_locks_conflict()745 static int flock_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in flock_locks_conflict() argument750 if (caller_fl->fl_file == sys_fl->fl_file) in flock_locks_conflict()752 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND)) in flock_locks_conflict()755 return (locks_conflict(caller_fl, sys_fl)); in flock_locks_conflict()