Lines Matching refs:l1
497 pnfs_lseg_range_contained(const struct pnfs_layout_range *l1, in pnfs_lseg_range_contained() argument
500 u64 start1 = l1->offset; in pnfs_lseg_range_contained()
501 u64 end1 = end_offset(start1, l1->length); in pnfs_lseg_range_contained()
516 pnfs_lseg_range_intersecting(const struct pnfs_layout_range *l1, in pnfs_lseg_range_intersecting() argument
519 u64 start1 = l1->offset; in pnfs_lseg_range_intersecting()
520 u64 end1 = end_offset(start1, l1->length); in pnfs_lseg_range_intersecting()
1203 pnfs_lseg_range_cmp(const struct pnfs_layout_range *l1, in pnfs_lseg_range_cmp() argument
1209 d = l1->offset - l2->offset; in pnfs_lseg_range_cmp()
1214 d = l2->length - l1->length; in pnfs_lseg_range_cmp()
1219 return (int)(l1->iomode == IOMODE_READ) - (int)(l2->iomode == IOMODE_READ); in pnfs_lseg_range_cmp()
1223 pnfs_lseg_range_is_after(const struct pnfs_layout_range *l1, in pnfs_lseg_range_is_after() argument
1226 return pnfs_lseg_range_cmp(l1, l2) > 0; in pnfs_lseg_range_is_after()