Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/lockd/
Dlockd.h198 nlm_compare_locks(struct file_lock *fl1, struct file_lock *fl2) in nlm_compare_locks() argument
200 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()
/linux-2.4.37.9/fs/
Dlocks.c379 static inline int locks_overlap(struct file_lock *fl1, struct file_lock *fl2) in locks_overlap() argument
381 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() argument
393 return (fl1->fl_owner == fl2->fl_owner) && in locks_same_owner()
394 (fl1->fl_pid == fl2->fl_pid); in locks_same_owner()
/linux-2.4.37.9/drivers/s390/block/
Ddasd_eckd.c126 unsigned int fl1, fl2; in bytes_per_record() local
129 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() local
145 fl2 = round_up_multiple (ECKD_F1 (rdc) * in bytes_per_record()
150 bpr = fl1 + fl2; in bytes_per_record()