/* Lookup the first record less than or equal to  in the btree given by cur.  */
STATIC int xfs_alloc_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, int *stat)
/* Lookup the first record less than or equal to  in the btree given by cur.  */
STATIC int xfs_alloc_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, int *stat)
{
	cur->bc_rec.a.ar_startblock = bno;
	cur->bc_rec.a.ar_blockcount = len;
	return xfs_btree_lookup(cur, XFS_LOOKUP_LE, stat);
}