Lines Matching refs:maxlen
212 ASSERT(rlen <= args->maxlen); in xfs_alloc_fix_len()
213 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len()
228 ASSERT(rlen <= args->maxlen); in xfs_alloc_fix_len()
449 (void *)(__psunsigned_t)args->maxlen, in xfs_alloc_trace_alloc()
574 ASSERT(args->maxlen > 0); in xfs_alloc_ag_vextent()
575 ASSERT(args->minlen <= args->maxlen); in xfs_alloc_ag_vextent()
609 ASSERT(args->len >= args->minlen && args->len <= args->maxlen); in xfs_alloc_ag_vextent()
692 maxend = args->agbno + args->maxlen; in xfs_alloc_ag_vextent_exact()
797 if ((error = xfs_alloc_lookup_ge(cnt_cur, 0, args->maxlen, &i))) in xfs_alloc_ag_vextent_near()
858 !error && j && (blen < args->maxlen || bdiff > 0); in xfs_alloc_ag_vextent_near()
871 args->len = XFS_EXTLEN_MIN(ltlena, args->maxlen); in xfs_alloc_ag_vextent_near()
951 if ((error = xfs_alloc_lookup_le(bno_cur_lt, args->agbno, args->maxlen, &i))) in xfs_alloc_ag_vextent_near()
1029 args->len = XFS_EXTLEN_MIN(ltlena, args->maxlen); in xfs_alloc_ag_vextent_near()
1068 args->maxlen); in xfs_alloc_ag_vextent_near()
1126 args->len = XFS_EXTLEN_MIN(gtlena, args->maxlen); in xfs_alloc_ag_vextent_near()
1164 ltlena, args->maxlen); in xfs_alloc_ag_vextent_near()
1243 args->len = XFS_EXTLEN_MIN(ltlena, args->maxlen); in xfs_alloc_ag_vextent_near()
1310 args->maxlen + args->alignment - 1, &i))) in xfs_alloc_ag_vextent_size()
1343 rlen = XFS_EXTLEN_MIN(args->maxlen, rlen); in xfs_alloc_ag_vextent_size()
1346 if (rlen < args->maxlen) { in xfs_alloc_ag_vextent_size()
1369 rlen = XFS_EXTLEN_MIN(args->maxlen, rlen); in xfs_alloc_ag_vextent_size()
1378 if (rlen == args->maxlen) in xfs_alloc_ag_vextent_size()
1961 targs.maxlen = need - INT_GET(agf->agf_flcount, ARCH_CONVERT); in xfs_alloc_fix_freelist()
2261 if (args->maxlen > agsize) in xfs_alloc_vextent()
2262 args->maxlen = agsize; in xfs_alloc_vextent()
2267 ASSERT(args->minlen <= args->maxlen); in xfs_alloc_vextent()
2272 args->minlen > args->maxlen || args->minlen > agsize || in xfs_alloc_vextent()
2426 ASSERT(args->len <= args->maxlen); in xfs_alloc_vextent()