Lines Matching defs:need
93 * extents need to be actually allocated. To get around this, we explicitly set
96 * We need to reserve 4 fsbs _per AG_ for the freelist and 4 more to handle a
572 * 2 resulting free entries, need to add one.
1091 * free space, we need to clear out the OWN_AG rmap.
2147 * In all cases we need to insert the new freespace in the by-size tree.
2205 * Find the length of the longest extent in an AG. The 'need' parameter
2206 * specifies how much space we're going to need for the AGFL and the
2213 xfs_extlen_t need,
2222 if (need > pag->pagf_flcount)
2223 delta = need - pag->pagf_flcount;
2493 xfs_extlen_t need; /* total blocks needed in freelist */
2520 need = xfs_alloc_min_freelist(mp, pag);
2521 if (!xfs_alloc_space_available(args, need, flags |
2544 need = xfs_alloc_min_freelist(mp, pag);
2545 if (!xfs_alloc_space_available(args, need, flags))
2554 * and hence need to be released manually. If they have been joined to
2560 * anything other than extra overhead when we need to put more blocks
2578 while (!(flags & XFS_ALLOC_FLAG_NOSHRINK) && pag->pagf_flcount > need) {
2599 while (pag->pagf_flcount < need) {
2601 targs.maxlen = need - pag->pagf_flcount;