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.c369 xfs_extlen_t wantlen, /* target length */ in xfs_alloc_compute_diff() argument
384 ASSERT(freelen >= wantlen); in xfs_alloc_compute_diff()
386 wantend = wantbno + wantlen; 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()
419 newbno1 = roundup(freeend - wantlen, alignment); in xfs_alloc_compute_diff()
420 if (newbno1 > freeend - wantlen && in xfs_alloc_compute_diff()
426 newbno1 = freeend - wantlen; in xfs_alloc_compute_diff()