Lines Matching refs:lr
932 int lr, in xfs_btree_readahead_lblock() argument
939 if ((lr & XFS_BTCUR_LEFTRA) && left != NULLFSBLOCK) { in xfs_btree_readahead_lblock()
945 if ((lr & XFS_BTCUR_RIGHTRA) && right != NULLFSBLOCK) { in xfs_btree_readahead_lblock()
957 int lr, in xfs_btree_readahead_sblock() argument
965 if ((lr & XFS_BTCUR_LEFTRA) && left != NULLAGBLOCK) { in xfs_btree_readahead_sblock()
971 if ((lr & XFS_BTCUR_RIGHTRA) && right != NULLAGBLOCK) { in xfs_btree_readahead_sblock()
988 int lr) /* left/right bits */ in xfs_btree_readahead() argument
1000 if ((cur->bc_levels[lev].ra | lr) == cur->bc_levels[lev].ra) in xfs_btree_readahead()
1003 cur->bc_levels[lev].ra |= lr; in xfs_btree_readahead()
1007 return xfs_btree_readahead_lblock(cur, lr, block); in xfs_btree_readahead()
1008 return xfs_btree_readahead_sblock(cur, lr, block); in xfs_btree_readahead()
1118 int lr) in xfs_btree_get_sibling() argument
1120 ASSERT(lr == XFS_BB_LEFTSIB || lr == XFS_BB_RIGHTSIB); in xfs_btree_get_sibling()
1123 if (lr == XFS_BB_RIGHTSIB) in xfs_btree_get_sibling()
1128 if (lr == XFS_BB_RIGHTSIB) in xfs_btree_get_sibling()
1140 int lr) in xfs_btree_set_sibling() argument
1142 ASSERT(lr == XFS_BB_LEFTSIB || lr == XFS_BB_RIGHTSIB); in xfs_btree_set_sibling()
1145 if (lr == XFS_BB_RIGHTSIB) in xfs_btree_set_sibling()
1150 if (lr == XFS_BB_RIGHTSIB) in xfs_btree_set_sibling()