Home
last modified time | relevance | path

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

/fs/
Dlocks.c484 static inline int locks_overlap(struct file_lock *fl1, struct file_lock *fl2) in locks_overlap() argument
486 return ((fl1->fl_end >= fl2->fl_start) && in locks_overlap()
487 (fl2->fl_end >= fl1->fl_start)); in locks_overlap()
493 static int posix_same_owner(struct file_lock *fl1, struct file_lock *fl2) in posix_same_owner() argument
495 if (fl1->fl_lmops && fl1->fl_lmops->lm_compare_owner) in posix_same_owner()
496 return fl2->fl_lmops == fl1->fl_lmops && in posix_same_owner()
497 fl1->fl_lmops->lm_compare_owner(fl1, fl2); in posix_same_owner()
498 return fl1->fl_owner == fl2->fl_owner; in posix_same_owner()
/fs/lockd/
Dsvclock.c744 static int nlmsvc_same_owner(struct file_lock *fl1, struct file_lock *fl2) in nlmsvc_same_owner() argument
746 return fl1->fl_owner == fl2->fl_owner && fl1->fl_pid == fl2->fl_pid; in nlmsvc_same_owner()