Searched refs:sys_fl (Results 1 – 1 of 1) sorted by relevance
543 static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in locks_conflict() argument547 return (sys_fl->fl_type == F_WRLCK); in locks_conflict()563 static int posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in posix_locks_conflict() argument568 if (!(sys_fl->fl_flags & FL_POSIX) || in posix_locks_conflict()569 locks_same_owner(caller_fl, sys_fl)) in posix_locks_conflict()573 if (!locks_overlap(caller_fl, sys_fl)) in posix_locks_conflict()576 return (locks_conflict(caller_fl, sys_fl)); in posix_locks_conflict()582 static int flock_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in flock_locks_conflict() argument587 if (!(sys_fl->fl_flags & FL_FLOCK) || in flock_locks_conflict()588 (caller_fl->fl_file == sys_fl->fl_file)) in flock_locks_conflict()[all …]