Home
last modified time | relevance | path

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

/kernel/linux/linux-4.19/fs/xfs/
Dxfs_rtalloc.c232 xfs_rtblock_t besti; /* best rtblock found so far */ in xfs_rtallocate_extent_block() local
244 for (i = XFS_BLOCKTOBIT(mp, bbno), besti = -1, bestlen = 0, in xfs_rtallocate_extent_block()
283 besti = i; in xfs_rtallocate_extent_block()
301 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block()
316 error = xfs_rtallocate_range(mp, tp, besti, bestlen, rbpp, rsb); in xfs_rtallocate_extent_block()
321 *rtblock = besti; in xfs_rtallocate_extent_block()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_rtalloc.c234 xfs_rtblock_t besti; /* best rtblock 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()
285 besti = i; in xfs_rtallocate_extent_block()
303 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block()
318 error = xfs_rtallocate_range(mp, tp, besti, bestlen, rbpp, rsb); in xfs_rtallocate_extent_block()
323 *rtblock = besti; in xfs_rtallocate_extent_block()
/kernel/linux/linux-4.19/fs/xfs/libxfs/
Dxfs_alloc.c1082 int besti=0; in xfs_alloc_ag_vextent_near() local
1142 besti = cnt_cur->bc_ptrs[0]; in xfs_alloc_ag_vextent_near()
1154 cnt_cur->bc_ptrs[0] = besti; in xfs_alloc_ag_vextent_near()