Searched refs:fl2 (Results 1 – 3 of 3) sorted by relevance
198 nlm_compare_locks(struct file_lock *fl1, struct file_lock *fl2) in nlm_compare_locks() argument200 return fl1->fl_pid == fl2->fl_pid in nlm_compare_locks()201 && fl1->fl_start == fl2->fl_start in nlm_compare_locks()202 && fl1->fl_end == fl2->fl_end in nlm_compare_locks()203 &&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK); in nlm_compare_locks()
379 static inline int locks_overlap(struct file_lock *fl1, struct file_lock *fl2) in locks_overlap() argument381 return ((fl1->fl_end >= fl2->fl_start) && in locks_overlap()382 (fl2->fl_end >= fl1->fl_start)); in locks_overlap()391 locks_same_owner(struct file_lock *fl1, struct file_lock *fl2) in locks_same_owner() argument393 return (fl1->fl_owner == fl2->fl_owner) && in locks_same_owner()394 (fl1->fl_pid == fl2->fl_pid); in locks_same_owner()
126 unsigned int fl1, fl2; in bytes_per_record() local129 fl2 = round_up_multiple (kl ? ECKD_F2 (rdc) + kl : 0, in bytes_per_record()131 bpr = fl1 + fl2; in bytes_per_record()135 unsigned int fl1, fl2, int1, int2; in bytes_per_record() local145 fl2 = round_up_multiple (ECKD_F1 (rdc) * in bytes_per_record()150 bpr = fl1 + fl2; in bytes_per_record()