Lines Matching defs:bno
97 xfs_fileoff_t bno; /* block number in file */
105 xfs_fsblock_t fsbno; /* filesystem block for bno */
159 for (bno = map.br_startoff, fsbno = map.br_startblock;
160 bno < map.br_startoff + map.br_blockcount;
161 bno++, fsbno++) {
318 * bno. If we don't get maxlen then use prod to trim the length, if given.
326 xfs_rtblock_t bno, /* starting block number to allocate */
344 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree);
352 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb);
357 *rtblock = bno;
363 maxlen = next - bno;
387 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb);
392 *rtblock = bno;
398 * to bno as possible. If we don't get maxlen then use prod to trim
405 xfs_rtblock_t bno, /* starting block number to allocate */
428 if (bno >= mp->m_sb.sb_rextents)
429 bno = mp->m_sb.sb_rextents - 1;
433 error = xfs_rtallocate_extent_exact(mp, tp, bno, minlen, maxlen, len,
445 bbno = XFS_BITTOBLOCK(mp, bno);
906 xfs_rtblock_t bno, /* starting block number of extent */
912 return xfs_rtcheck_range(mp, tp, bno, len, 0, &new, stat);
2067 xfs_rtblock_t bno, /* starting block number to allocate */
2116 error = xfs_rtallocate_extent_near(mp, tp, bno, minlen, maxlen,
2120 error = xfs_rtallocate_extent_exact(mp, tp, bno, minlen, maxlen,
2152 xfs_rtblock_t bno, /* starting block number to free */
2175 error = xfs_rtcheck_alloc_range(mp, tp, bno, len, &stat);
2186 error = xfs_rtfree_range(mp, tp, bno, len, &sumbp, &sb);