Searched refs:bestlen (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_rtalloc.c | 235 xfs_rtblock_t bestlen; /* best length found so far */ in xfs_rtallocate_extent_block() local 246 for (i = XFS_BLOCKTOBIT(mp, bbno), besti = -1, bestlen = 0, in xfs_rtallocate_extent_block() 284 if (thislen >= minlen && thislen > bestlen) { in xfs_rtallocate_extent_block() 286 bestlen = thislen; in xfs_rtallocate_extent_block() 310 div_u64_rem(bestlen, prod, &p); in xfs_rtallocate_extent_block() 312 bestlen -= p; in xfs_rtallocate_extent_block() 316 * Allocate besti for bestlen & return that. in xfs_rtallocate_extent_block() 318 error = xfs_rtallocate_range(mp, tp, besti, bestlen, rbpp, rsb); in xfs_rtallocate_extent_block() 322 *len = bestlen; in xfs_rtallocate_extent_block()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_rtalloc.c | 252 xfs_rtblock_t bestlen; /* best length found so far */ in xfs_rtallocate_extent_block() local 263 for (i = XFS_BLOCKTOBIT(mp, bbno), besti = -1, bestlen = 0, in xfs_rtallocate_extent_block() 301 if (thislen >= minlen && thislen > bestlen) { in xfs_rtallocate_extent_block() 303 bestlen = thislen; in xfs_rtallocate_extent_block() 327 div_u64_rem(bestlen, prod, &p); in xfs_rtallocate_extent_block() 329 bestlen -= p; in xfs_rtallocate_extent_block() 333 * Allocate besti for bestlen & return that. in xfs_rtallocate_extent_block() 335 error = xfs_rtallocate_range(mp, tp, besti, bestlen, rbpp, rsb); in xfs_rtallocate_extent_block() 339 *len = bestlen; in xfs_rtallocate_extent_block()
|
Completed in 4 milliseconds