Home
last modified time | relevance | path

Searched refs:minlen (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/
Dxfs_rtalloc.c208 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block() argument
260 if (minlen < maxlen) { in xfs_rtallocate_extent_block()
264 if (thislen >= minlen && thislen > bestlen) { in xfs_rtallocate_extent_block()
283 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block()
321 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact() argument
334 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact()
358 if (maxlen < minlen) { in xfs_rtallocate_extent_exact()
370 if (maxlen < minlen) { in xfs_rtallocate_extent_exact()
400 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_near() argument
417 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_near()
[all …]
Dxfs_alloc.c187 xfs_extlen_t minlen, /* minimum length for allocation */ in xfs_alloc_compute_aligned() argument
195 if (alignment > 1 && foundlen >= minlen) { in xfs_alloc_compute_aligned()
282 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len()
291 if ((int)(rlen = rlen - k - args->mod) < (int)args->minlen) in xfs_alloc_fix_len()
295 (int)args->minlen) in xfs_alloc_fix_len()
298 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len()
323 if (args->len >= args->minlen) in xfs_alloc_fix_minleft()
519 (void *)(__psunsigned_t)args->minlen, in xfs_alloc_trace_alloc()
637 ASSERT(args->minlen > 0); in xfs_alloc_ag_vextent()
639 ASSERT(args->minlen <= args->maxlen); in xfs_alloc_ag_vextent()
[all …]
Dxfs_filestream.c140 xfs_extlen_t minlen) in _xfs_filestream_pick_ag() argument
195 if (((minlen && longest >= minlen) || in _xfs_filestream_pick_ag()
196 (!minlen && pag->pagf_freeblks >= minfree)) && in _xfs_filestream_pick_ag()
633 xfs_extlen_t minlen; in xfs_filestream_new_ag() local
640 minlen = ap->alen; in xfs_filestream_new_ag()
715 err = _xfs_filestream_pick_ag(mp, ag, agp, flags, minlen); in xfs_filestream_new_ag()
Dxfs_alloc.h79 xfs_extlen_t minlen; /* minimum size of extent */ member
Dxfs_rtalloc.h87 xfs_extlen_t minlen, /* minimum length to allocate */
Dxfs_bmap.c2849 if (notinit || blen < ap->minlen) in xfs_bmap_btalloc()
2850 args.minlen = ap->minlen; in xfs_bmap_btalloc()
2856 args.minlen = blen; in xfs_bmap_btalloc()
2862 args.minlen = ap->alen; in xfs_bmap_btalloc()
2875 args.total = args.minlen = ap->minlen; in xfs_bmap_btalloc()
2879 args.minlen = ap->minlen; in xfs_bmap_btalloc()
2912 args.minlen = blen - args.alignment; in xfs_bmap_btalloc()
2933 nextminlen = args.minlen; in xfs_bmap_btalloc()
2934 if (nextminlen + mp->m_dalign > args.minlen + 1) in xfs_bmap_btalloc()
2937 args.minlen - 1; in xfs_bmap_btalloc()
[all …]
Dxfs_bmap.h128 xfs_extlen_t minlen; /* mininum allocation size (blocks) */ member
Dxfs_ialloc_btree.c92 args.minlen = 1; in xfs_inobt_alloc_block()
Dxfs_ialloc.c197 args.minlen = args.maxlen = XFS_IALLOC_BLOCKS(args.mp); in xfs_ialloc_ag_alloc()
296 ASSERT(args.len == args.minlen); in xfs_ialloc_ag_alloc()
Dxfs_bmap_btree.c559 args.minlen = args.maxlen = args.prod = 1; in xfs_bmbt_alloc_block()