Lines Matching refs:dir
1411 int dir, in xfs_btree_shift_keys() argument
1417 ASSERT(dir == 1 || dir == -1); in xfs_btree_shift_keys()
1419 dst_key = (char *)key + (dir * cur->bc_ops->key_len); in xfs_btree_shift_keys()
1430 int dir, in xfs_btree_shift_recs() argument
1436 ASSERT(dir == 1 || dir == -1); in xfs_btree_shift_recs()
1438 dst_rec = (char *)rec + (dir * cur->bc_ops->rec_len); in xfs_btree_shift_recs()
1449 int dir, in xfs_btree_shift_ptrs() argument
1455 ASSERT(dir == 1 || dir == -1); in xfs_btree_shift_ptrs()
1457 dst_ptr = (char *)ptr + (dir * xfs_btree_ptr_len(cur)); in xfs_btree_shift_ptrs()
1881 xfs_lookup_t dir, /* <=, ==, or >= */ in xfs_btree_lookup() argument
1942 cur->bc_levels[0].ptr = dir != XFS_LOOKUP_LE; in xfs_btree_lookup()
1999 if (dir != XFS_LOOKUP_LE && diff < 0) { in xfs_btree_lookup()
2006 if (dir == XFS_LOOKUP_GE && in xfs_btree_lookup()
2020 } else if (dir == XFS_LOOKUP_LE && diff > 0) in xfs_btree_lookup()
2027 else if (dir != XFS_LOOKUP_EQ || diff == 0) in xfs_btree_lookup()