Searched refs:sys_fl (Results 1 – 1 of 1) sorted by relevance
581 static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in locks_conflict() argument583 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()593 static int posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in posix_locks_conflict() argument598 if (!IS_POSIX(sys_fl) || posix_same_owner(caller_fl, sys_fl)) in posix_locks_conflict()602 if (!locks_overlap(caller_fl, sys_fl)) in posix_locks_conflict()605 return (locks_conflict(caller_fl, sys_fl)); in posix_locks_conflict()611 static int flock_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in flock_locks_conflict() argument616 if (!IS_FLOCK(sys_fl) || (caller_fl->fl_file == sys_fl->fl_file)) in flock_locks_conflict()618 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND)) in flock_locks_conflict()621 return (locks_conflict(caller_fl, sys_fl)); in flock_locks_conflict()