Lines Matching defs:goal
44 * near to the goal(block) value specified.
148 * the group specified as the goal value in allocation context via
2342 /* first, try the goal */
2373 /* if stream allocation is enabled, use global goal */
2393 * from the goal value specified
3101 "mballoc: %u extents scanned, %u groups scanned, %u goal hits, "
3527 mb_debug(sb, "goal %u blocks for locality group\n", ac->ac_g_ex.fe_len);
3713 /* now prepare goal request */
3720 /* define goal start in order to merge */
3739 mb_debug(ac->ac_sb, "goal: %lld(was %lld) blocks at %u\n", size,
3861 * from the goal block. @cpa is the prealloc
3863 * from the goal block.
3889 * search goal blocks in preallocated space
3951 * minimal distance from the goal block.
4172 * extent doesn't overflow out of goal extent:
4174 * 1. Check if best ex can be kept at end of goal and still
4176 * 2. Else, check if best ex can be kept at start of goal and
4678 "goal %lu/%lu/%lu@%lu, "
4773 ext4_fsblk_t goal;
4783 /* start searching from the goal */
4784 goal = ar->goal;
4785 if (goal < le32_to_cpu(es->s_first_data_block) ||
4786 goal >= ext4_blocks_count(es))
4787 goal = le32_to_cpu(es->s_first_data_block);
4788 ext4_get_group_no_and_offset(sb, goal, &group, &block);
4806 mb_debug(sb, "init ac: %u blocks @ %u, goal %u, flags 0x%x, 2^%d, "
4809 (unsigned) ar->goal, ac->ac_flags, ac->ac_2order,
5333 * linearly starting at the goal block and also excludes the blocks which
5345 ext4_fsblk_t goal, block;
5348 goal = ar->goal;
5349 if (goal < le32_to_cpu(es->s_first_data_block) ||
5350 goal >= ext4_blocks_count(es))
5351 goal = le32_to_cpu(es->s_first_data_block);
5354 ext4_get_group_no_and_offset(sb, goal, &group, &blkoff);
5364 max(ext4_group_first_block_no(sb, group), goal),