Lines Matching refs:bno
562 xfs_fileoff_t bno; /* directory offset of new block */ in xfs_dir2_grow_inode() local
571 bno = XFS_B_TO_FSBT(mp, space * XFS_DIR2_SPACE_SIZE); in xfs_dir2_grow_inode()
574 error = xfs_da_grow_inode_int(args, &bno, count); in xfs_dir2_grow_inode()
578 *dbp = xfs_dir2_da_to_db(args->geo, (xfs_dablk_t)bno); in xfs_dir2_grow_inode()
586 size = XFS_FSB_TO_B(mp, bno + count); in xfs_dir2_grow_inode()
645 xfs_fileoff_t bno; /* directory file offset */ in xfs_dir2_shrink_inode() local
692 bno = da; in xfs_dir2_shrink_inode()
693 if ((error = xfs_bmap_last_before(tp, dp, &bno, XFS_DATA_FORK))) { in xfs_dir2_shrink_inode()
700 ASSERT(bno == 0); in xfs_dir2_shrink_inode()
702 ASSERT(bno > 0); in xfs_dir2_shrink_inode()
706 dp->i_disk_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()