Lines Matching refs:bno
574 xfs_fileoff_t bno; /* directory offset of new block */ in xfs_dir2_grow_inode() local
583 bno = XFS_B_TO_FSBT(mp, space * XFS_DIR2_SPACE_SIZE); in xfs_dir2_grow_inode()
586 error = xfs_da_grow_inode_int(args, &bno, count); in xfs_dir2_grow_inode()
590 *dbp = xfs_dir2_da_to_db(args->geo, (xfs_dablk_t)bno); in xfs_dir2_grow_inode()
598 size = XFS_FSB_TO_B(mp, bno + count); in xfs_dir2_grow_inode()
667 xfs_fileoff_t bno; /* directory file offset */ in xfs_dir2_shrink_inode() local
714 bno = da; in xfs_dir2_shrink_inode()
715 if ((error = xfs_bmap_last_before(tp, dp, &bno, XFS_DATA_FORK))) { in xfs_dir2_shrink_inode()
722 ASSERT(bno == 0); in xfs_dir2_shrink_inode()
724 ASSERT(bno > 0); in xfs_dir2_shrink_inode()
728 dp->i_disk_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()