Lines Matching refs:minlen
234 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block() argument
286 if (minlen < maxlen) { in xfs_rtallocate_extent_block()
290 if (thislen >= minlen && thislen > bestlen) { in xfs_rtallocate_extent_block()
309 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block()
347 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact() argument
360 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact()
384 if (maxlen < minlen) { in xfs_rtallocate_extent_exact()
396 if (maxlen < minlen) { in xfs_rtallocate_extent_exact()
426 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_near() argument
443 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_near()
453 error = xfs_rtallocate_extent_exact(mp, tp, bno, minlen, maxlen, len, in xfs_rtallocate_extent_near()
467 log2len = xfs_highbit32(minlen); in xfs_rtallocate_extent_near()
495 bbno + i, minlen, maxlen, len, &n, rbpp, in xfs_rtallocate_extent_near()
540 tp, bbno + j, minlen, maxlen, in xfs_rtallocate_extent_near()
562 bbno + i, minlen, maxlen, len, &n, rbpp, in xfs_rtallocate_extent_near()
619 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_size() argument
634 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_size()
688 if (minlen > --maxlen) { in xfs_rtallocate_extent_size()
697 for (l = xfs_highbit32(maxlen); l >= xfs_highbit32(minlen); l--) { in xfs_rtallocate_extent_size()
722 XFS_RTMAX(minlen, 1 << l), in xfs_rtallocate_extent_size()
2145 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent() argument
2160 ASSERT(minlen > 0 && minlen <= maxlen); in xfs_rtallocate_extent()
2170 if ((i = minlen % prod)) in xfs_rtallocate_extent()
2171 minlen += prod - i; in xfs_rtallocate_extent()
2172 if (maxlen < minlen) { in xfs_rtallocate_extent()
2190 error = xfs_rtallocate_extent_size(mp, tp, minlen, maxlen, len, in xfs_rtallocate_extent()
2194 error = xfs_rtallocate_extent_near(mp, tp, bno, minlen, maxlen, in xfs_rtallocate_extent()
2198 error = xfs_rtallocate_extent_exact(mp, tp, bno, minlen, maxlen, in xfs_rtallocate_extent()
2213 ASSERT(*len >= minlen && *len <= maxlen); in xfs_rtallocate_extent()