Searched refs:bestlen (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/xfs/
H A Dxfs_rtalloc.c244 xfs_rtblock_t bestlen; /* best length found so far */ xfs_rtallocate_extent_block() local
255 for (i = XFS_BLOCKTOBIT(mp, bbno), besti = -1, bestlen = 0, xfs_rtallocate_extent_block()
290 if (thislen >= minlen && thislen > bestlen) { xfs_rtallocate_extent_block()
292 bestlen = thislen; xfs_rtallocate_extent_block()
315 if (prod > 1 && (p = do_mod(bestlen, prod))) xfs_rtallocate_extent_block()
316 bestlen -= p; xfs_rtallocate_extent_block()
318 * Allocate besti for bestlen & return that. xfs_rtallocate_extent_block()
320 error = xfs_rtallocate_range(mp, tp, besti, bestlen, rbpp, rsb); xfs_rtallocate_extent_block()
324 *len = bestlen; xfs_rtallocate_extent_block()

Completed in 86 milliseconds