Lines Matching refs:minlen
115 xfs_extlen_t minlen, /* minimum length for allocation */ in xfs_alloc_compute_aligned() argument
123 if (alignment > 1 && foundlen >= minlen) { in xfs_alloc_compute_aligned()
133 return len >= minlen; in xfs_alloc_compute_aligned()
211 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len()
220 if ((int)(rlen = rlen - k - args->mod) < (int)args->minlen) in xfs_alloc_fix_len()
224 (int)args->minlen) in xfs_alloc_fix_len()
227 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len()
252 if (args->len >= args->minlen) in xfs_alloc_fix_minleft()
448 (void *)(__psunsigned_t)args->minlen, in xfs_alloc_trace_alloc()
573 ASSERT(args->minlen > 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()
674 if ((error = xfs_alloc_lookup_le(bno_cur, args->agbno, args->minlen, &i))) in xfs_alloc_ag_vextent_exact()
691 minend = args->agbno + args->minlen; in xfs_alloc_ag_vextent_exact()
847 if (ltlen >= args->minlen) in xfs_alloc_ag_vextent_near()
852 ASSERT(ltlen >= args->minlen); in xfs_alloc_ag_vextent_near()
868 args->alignment, args->minlen, in xfs_alloc_ag_vextent_near()
873 ASSERT(args->len >= args->minlen); in xfs_alloc_ag_vextent_near()
990 args->alignment, args->minlen, in xfs_alloc_ag_vextent_near()
1006 args->alignment, args->minlen, in xfs_alloc_ag_vextent_near()
1025 if (ltlena >= args->minlen) { in xfs_alloc_ag_vextent_near()
1049 args->alignment, args->minlen, in xfs_alloc_ag_vextent_near()
1065 if (gtlena >= args->minlen) { in xfs_alloc_ag_vextent_near()
1146 args->alignment, args->minlen, in xfs_alloc_ag_vextent_near()
1162 if (ltlena >= args->minlen) { in xfs_alloc_ag_vextent_near()
1341 xfs_alloc_compute_aligned(fbno, flen, args->alignment, args->minlen, in xfs_alloc_ag_vextent_size()
1368 args->minlen, &rbno, &rlen); in xfs_alloc_ag_vextent_size()
1397 if (rlen < args->minlen || !xfs_alloc_fix_minleft(args)) { in xfs_alloc_ag_vextent_size()
1468 else if (args->minlen == 1 && args->alignment == 1 && !args->isfl && in xfs_alloc_ag_vextent_small()
1507 if (flen < args->minlen) { in xfs_alloc_ag_vextent_small()
1884 if (args->minlen + args->alignment + args->minalignslop - 1 > longest || in xfs_alloc_fix_freelist()
1920 if (args->minlen + args->alignment + args->minalignslop - 1 > longest || in xfs_alloc_fix_freelist()
1951 targs.alignment = targs.minlen = targs.prod = targs.isfl = 1; in xfs_alloc_fix_freelist()
2267 ASSERT(args->minlen <= args->maxlen); in xfs_alloc_vextent()
2268 ASSERT(args->minlen <= agsize); in xfs_alloc_vextent()
2272 args->minlen > args->maxlen || args->minlen > agsize || in xfs_alloc_vextent()
2425 ASSERT(args->len >= args->minlen); in xfs_alloc_vextent()
2462 args.minlen = args.minleft = args.minalignslop = 0; in xfs_free_extent()