Home
last modified time | relevance | path

Searched refs:caller_fl (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/fs/
Dlocks.c769 static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl) in locks_conflict() argument
773 if (caller_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() argument
786 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() argument
804 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()
[all …]