Lines Matching defs:goal

44  * near to the goal(block) value specified.
173 * fragment size > goal length. So before falling to the slower
174 * CR_GOAL_LEN_SLOW, in CR_BEST_AVAIL_LEN we proactively trim goal length and
202 * the group specified as the goal value in allocation context via
970 * a larger normalized goal len request which can be trimmed to
971 * a smaller goal len such that it can still satisfy original
984 * order we have and proactively trim the goal request length to that order to
1008 * goal length.
1024 * up the goal len to num_stripe_clusters
1035 * Scale down goal len to make sure we find something
1043 * Try to round up the adjusted goal length to
1062 /* Reset goal length to original goal length before falling into CR_GOAL_LEN_SLOW */
2218 * * If free extent found is exactly as big as goal, then
2221 * * If free extent found is smaller than goal, then keep retrying
2225 * * If free extent found is bigger than goal, then keep retrying
2665 * can't possibly satisfy the full goal request due to insufficient
2811 /* first, try the goal */
2839 /* if stream allocation is enabled, use global goal */
2860 * from the goal value specified
2943 /* Reset goal length to original goal length before
3810 "mballoc: %u extents scanned, %u groups scanned, %u goal hits, "
4227 mb_debug(sb, "goal %u blocks for locality group\n", ac->ac_g_ex.fe_len);
4554 * range of goal/best blocks [start, size] to put it at the
4568 /* now prepare goal request */
4576 /* define goal start in order to merge */
4595 mb_debug(ac->ac_sb, "goal: %lld(was %lld) blocks at %u\n", size,
4728 * from the goal block. @cpa is the prealloc
4730 * from the goal block.
4787 * search goal blocks in preallocated space
4965 * minimal distance from the goal block.
5192 * when the goal doesn't cover the original request as below:
5203 * extent doesn't overflow out of goal extent:
5205 * 1. Check if best ex can be kept at end of goal (before
5207 * 2. Else, check if best ex can be kept at start of goal and
5714 "goal %lu/%lu/%lu@%lu, "
5814 ext4_fsblk_t goal;
5824 /* start searching from the goal */
5825 goal = ar->goal;
5826 if (goal < le32_to_cpu(es->s_first_data_block) ||
5827 goal >= ext4_blocks_count(es))
5828 goal = le32_to_cpu(es->s_first_data_block);
5829 ext4_get_group_no_and_offset(sb, goal, &group, &block);
5848 mb_debug(sb, "init ac: %u blocks @ %u, goal %u, flags 0x%x, 2^%d, "
5851 (unsigned) ar->goal, ac->ac_flags, ac->ac_2order,
6082 * linearly starting at the goal block and also excludes the blocks which
6095 ext4_fsblk_t goal, block;
6098 goal = ar->goal;
6099 if (goal < le32_to_cpu(es->s_first_data_block) ||
6100 goal >= ext4_blocks_count(es))
6101 goal = le32_to_cpu(es->s_first_data_block);
6104 ext4_get_group_no_and_offset(sb, goal, &group, &blkoff);