Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_alloc.c370 xfs_extlen_t wantlen, /* target length */ in xfs_alloc_compute_diff() argument
385 ASSERT(freelen >= wantlen); in xfs_alloc_compute_diff()
387 wantend = wantbno + wantlen; in xfs_alloc_compute_diff()
404 newlen1 = XFS_EXTLEN_MIN(wantlen, freeend - newbno1); in xfs_alloc_compute_diff()
408 newlen2 = XFS_EXTLEN_MIN(wantlen, freeend - newbno2); in xfs_alloc_compute_diff()
420 newbno1 = roundup(freeend - wantlen, alignment); in xfs_alloc_compute_diff()
421 if (newbno1 > freeend - wantlen && in xfs_alloc_compute_diff()
427 newbno1 = freeend - wantlen; in xfs_alloc_compute_diff()