Home
last modified time | relevance | path

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

/fs/
Dlocks.c882 static bool locks_conflict(struct file_lock *caller_fl, in locks_conflict() argument
887 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
895 static bool posix_locks_conflict(struct file_lock *caller_fl, in posix_locks_conflict() argument
901 if (posix_same_owner(caller_fl, sys_fl)) in posix_locks_conflict()
905 if (!locks_overlap(caller_fl, sys_fl)) in posix_locks_conflict()
908 return locks_conflict(caller_fl, sys_fl); in posix_locks_conflict()
914 static bool flock_locks_conflict(struct file_lock *caller_fl, in flock_locks_conflict() argument
920 if (caller_fl->fl_file == sys_fl->fl_file) in flock_locks_conflict()
922 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND)) in flock_locks_conflict()
925 return locks_conflict(caller_fl, sys_fl); in flock_locks_conflict()
[all …]