Lines Matching refs:bno
344 xfs_rtblock_t bno, /* starting block number to allocate */ in xfs_rtallocate_extent_exact() argument
362 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree); in xfs_rtallocate_extent_exact()
370 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); in xfs_rtallocate_extent_exact()
375 *rtblock = bno; in xfs_rtallocate_extent_exact()
381 maxlen = next - bno; in xfs_rtallocate_extent_exact()
405 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); in xfs_rtallocate_extent_exact()
410 *rtblock = bno; in xfs_rtallocate_extent_exact()
423 xfs_rtblock_t bno, /* starting block number to allocate */ in xfs_rtallocate_extent_near() argument
446 if (bno >= mp->m_sb.sb_rextents) in xfs_rtallocate_extent_near()
447 bno = mp->m_sb.sb_rextents - 1; in xfs_rtallocate_extent_near()
450 maxlen = min(mp->m_sb.sb_rextents, bno + maxlen) - bno; in xfs_rtallocate_extent_near()
459 error = xfs_rtallocate_extent_exact(mp, tp, bno, minlen, maxlen, len, in xfs_rtallocate_extent_near()
471 bbno = XFS_BITTOBLOCK(mp, bno); in xfs_rtallocate_extent_near()
773 xfs_fileoff_t bno; /* block number in file */ in xfs_growfs_rt_alloc() local
835 for (bno = map.br_startoff, fsbno = map.br_startblock; in xfs_growfs_rt_alloc()
836 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
837 bno++, fsbno++) { in xfs_growfs_rt_alloc()
1177 xfs_rtblock_t bno, /* starting block number to allocate */ in xfs_rtallocate_extent() argument
1212 if (bno == 0) { in xfs_rtallocate_extent()
1216 error = xfs_rtallocate_extent_near(mp, tp, bno, minlen, maxlen, in xfs_rtallocate_extent()