Searched refs:minlen (Results 1 – 10 of 10) sorted by relevance
/fs/xfs/ |
D | xfs_rtalloc.c | 208 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 …]
|
D | xfs_alloc.c | 187 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 …]
|
D | xfs_filestream.c | 140 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()
|
D | xfs_alloc.h | 79 xfs_extlen_t minlen; /* minimum size of extent */ member
|
D | xfs_rtalloc.h | 87 xfs_extlen_t minlen, /* minimum length to allocate */
|
D | xfs_bmap.c | 2849 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 …]
|
D | xfs_bmap.h | 128 xfs_extlen_t minlen; /* mininum allocation size (blocks) */ member
|
D | xfs_ialloc_btree.c | 92 args.minlen = 1; in xfs_inobt_alloc_block()
|
D | xfs_ialloc.c | 197 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()
|
D | xfs_bmap_btree.c | 559 args.minlen = args.maxlen = args.prod = 1; in xfs_bmbt_alloc_block()
|