Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dlocks.c842 static bool locks_conflict(struct file_lock *caller_fl, in locks_conflict() argument
847 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
855 static bool posix_locks_conflict(struct file_lock *caller_fl, in posix_locks_conflict() argument
861 if (posix_same_owner(caller_fl, sys_fl)) in posix_locks_conflict()
865 if (!locks_overlap(caller_fl, sys_fl)) in posix_locks_conflict()
868 return locks_conflict(caller_fl, sys_fl); in posix_locks_conflict()
874 static bool posix_test_locks_conflict(struct file_lock *caller_fl, in posix_test_locks_conflict() argument
878 if (caller_fl->fl_type == F_UNLCK) { in posix_test_locks_conflict()
879 if (!posix_same_owner(caller_fl, sys_fl)) in posix_test_locks_conflict()
881 return locks_overlap(caller_fl, sys_fl); in posix_test_locks_conflict()
[all …]