Searched refs:sys_fl (Results 1 – 1 of 1) sorted by relevance
769 static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in locks_conflict() argument771 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()781 static int posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in posix_locks_conflict() argument786 if (posix_same_owner(caller_fl, sys_fl)) in posix_locks_conflict()790 if (!locks_overlap(caller_fl, sys_fl)) in posix_locks_conflict()793 return (locks_conflict(caller_fl, sys_fl)); in posix_locks_conflict()799 static int flock_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in flock_locks_conflict() argument804 if (caller_fl->fl_file == sys_fl->fl_file) in flock_locks_conflict()806 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND)) in flock_locks_conflict()809 return (locks_conflict(caller_fl, sys_fl)); in flock_locks_conflict()