Lines Matching defs:caller_fl
482 /* Determine if lock sys_fl blocks lock caller_fl. Common functionality
485 static int locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl)
489 if (caller_fl->fl_type == F_WRLCK)
494 /* Determine if lock sys_fl blocks lock caller_fl. POSIX specific
497 static int posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl)
502 if (!IS_POSIX(sys_fl) || posix_same_owner(caller_fl, sys_fl))
506 if (!locks_overlap(caller_fl, sys_fl))
509 return (locks_conflict(caller_fl, sys_fl));
512 /* Determine if lock sys_fl blocks lock caller_fl. FLOCK specific
515 static int flock_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl)
520 if (!IS_FLOCK(sys_fl) || (caller_fl->fl_file == sys_fl->fl_file))
522 if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND))
525 return (locks_conflict(caller_fl, sys_fl));
561 * caller_fl which is about to wait for a conflicting lock block_fl, we
590 static int posix_locks_deadlock(struct file_lock *caller_fl,
598 if (posix_same_owner(caller_fl, block_fl))