Lines Matching refs:alen
4108 xfs_extlen_t alen; in xfs_bmapi_reserve_delalloc() local
4114 alen = XFS_FILBLKS_MIN(len, MAXEXTLEN); in xfs_bmapi_reserve_delalloc()
4116 alen = XFS_FILBLKS_MIN(alen, got->br_startoff - aoff); in xfs_bmapi_reserve_delalloc()
4122 1, 0, &aoff, &alen); in xfs_bmapi_reserve_delalloc()
4127 extsz = alen / mp->m_sb.sb_rextsize; in xfs_bmapi_reserve_delalloc()
4134 error = xfs_trans_reserve_quota_nblks(NULL, ip, (long)alen, 0, in xfs_bmapi_reserve_delalloc()
4143 indlen = (xfs_extlen_t)xfs_bmap_worst_indlen(ip, alen); in xfs_bmapi_reserve_delalloc()
4149 error = xfs_mod_fdblocks(mp, -((int64_t)alen), false); in xfs_bmapi_reserve_delalloc()
4160 ip->i_delayed_blks += alen; in xfs_bmapi_reserve_delalloc()
4164 got->br_blockcount = alen; in xfs_bmapi_reserve_delalloc()
4175 ASSERT(got->br_startoff + got->br_blockcount >= aoff + alen); in xfs_bmapi_reserve_delalloc()
4184 xfs_mod_fdblocks(mp, alen, false); in xfs_bmapi_reserve_delalloc()
4187 xfs_trans_unreserve_quota_nblks(NULL, ip, (long)alen, 0, rt ? in xfs_bmapi_reserve_delalloc()