Lines Matching defs:alen
3971 xfs_extlen_t alen;
3980 alen = XFS_FILBLKS_MIN(len + prealloc, MAXEXTLEN);
3982 alen = XFS_FILBLKS_MIN(alen, got->br_startoff - aoff);
3983 if (prealloc && alen >= len)
3984 prealloc = alen - len;
3986 /* Figure out the extent size, adjust alen */
3995 1, 0, &aoff, &alen);
4004 error = xfs_trans_reserve_quota_nblks(NULL, ip, (long)alen, 0,
4010 * Split changing sb for alen and indlen since they could be coming
4013 indlen = (xfs_extlen_t)xfs_bmap_worst_indlen(ip, alen);
4016 error = xfs_mod_fdblocks(mp, -((int64_t)alen), false);
4025 ip->i_delayed_blks += alen;
4026 xfs_mod_delalloc(ip->i_mount, alen + indlen);
4030 got->br_blockcount = alen;
4042 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len))
4048 xfs_mod_fdblocks(mp, alen, false);
4051 xfs_trans_unreserve_quota_nblks(NULL, ip, (long)alen, 0,