Home
last modified time | relevance | path

Searched refs:freeend (Results 1 – 1 of 1) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_alloc.c376 xfs_agblock_t freeend; /* end of freespace extent */ in xfs_alloc_compute_diff() local
385 freeend = freebno + freelen; in xfs_alloc_compute_diff()
397 } else if (freeend >= wantend && alignment > 1) { in xfs_alloc_compute_diff()
400 if (newbno1 >= freeend) in xfs_alloc_compute_diff()
403 newlen1 = XFS_EXTLEN_MIN(wantlen, freeend - newbno1); in xfs_alloc_compute_diff()
407 newlen2 = XFS_EXTLEN_MIN(wantlen, freeend - newbno2); in xfs_alloc_compute_diff()
416 } else if (freeend >= wantend) { in xfs_alloc_compute_diff()
419 newbno1 = roundup(freeend - wantlen, alignment); in xfs_alloc_compute_diff()
420 if (newbno1 > freeend - wantlen && in xfs_alloc_compute_diff()
423 else if (newbno1 >= freeend) in xfs_alloc_compute_diff()
[all …]