Lines Matching defs:alen
4067 xfs_extlen_t alen;
4076 alen = XFS_FILBLKS_MIN(len + prealloc, XFS_MAX_BMBT_EXTLEN);
4078 alen = XFS_FILBLKS_MIN(alen, got->br_startoff - aoff);
4079 if (prealloc && alen >= len)
4080 prealloc = alen - len;
4082 /* Figure out the extent size, adjust alen */
4091 1, 0, &aoff, &alen);
4100 error = xfs_quota_reserve_blkres(ip, alen);
4105 * Split changing sb for alen and indlen since they could be coming
4108 indlen = (xfs_extlen_t)xfs_bmap_worst_indlen(ip, alen);
4111 error = xfs_mod_fdblocks(mp, -((int64_t)alen), false);
4120 ip->i_delayed_blks += alen;
4121 xfs_mod_delalloc(ip->i_mount, alen + indlen);
4125 got->br_blockcount = alen;
4137 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len))
4143 xfs_mod_fdblocks(mp, alen, false);
4146 xfs_quota_unreserve_blkres(ip, alen);