Lines Matching refs:grp_goal

265 goal_in_my_reservation(struct ext2_reserve_window *rsv, ext2_grpblk_t grp_goal,  in goal_in_my_reservation()  argument
276 if ((grp_goal >= 0) && ((grp_goal + group_first_block < rsv->_rsv_start) in goal_in_my_reservation()
277 || (grp_goal + group_first_block > rsv->_rsv_end))) in goal_in_my_reservation()
664 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate() argument
681 if (grp_goal < start || grp_goal >= end) in ext2_try_to_allocate()
682 grp_goal = -1; in ext2_try_to_allocate()
686 if (grp_goal < 0) { in ext2_try_to_allocate()
687 grp_goal = find_next_usable_block(start, bitmap_bh, end); in ext2_try_to_allocate()
688 if (grp_goal < 0) in ext2_try_to_allocate()
693 for (i = 0; i < 7 && grp_goal > start && in ext2_try_to_allocate()
694 !ext2_test_bit(grp_goal - 1, in ext2_try_to_allocate()
696 i++, grp_goal--) in ext2_try_to_allocate()
701 for (; num < *count && grp_goal < end; grp_goal++) { in ext2_try_to_allocate()
703 grp_goal, bitmap_bh->b_data)) { in ext2_try_to_allocate()
715 return grp_goal - num; in ext2_try_to_allocate()
875 ext2_grpblk_t grp_goal, struct super_block *sb, in alloc_new_reservation() argument
889 if (grp_goal < 0) in alloc_new_reservation()
892 start_block = grp_goal + group_first_block; in alloc_new_reservation()
1069 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate_with_rsv() argument
1085 grp_goal, count, NULL); in ext2_try_to_allocate_with_rsv()
1114 grp_goal, group, sb)) { in ext2_try_to_allocate_with_rsv()
1117 ret = alloc_new_reservation(my_rsv, grp_goal, sb, in ext2_try_to_allocate_with_rsv()
1123 grp_goal, group, sb)) in ext2_try_to_allocate_with_rsv()
1124 grp_goal = -1; in ext2_try_to_allocate_with_rsv()
1125 } else if (grp_goal >= 0) { in ext2_try_to_allocate_with_rsv()
1127 (grp_goal + group_first_block) + 1; in ext2_try_to_allocate_with_rsv()
1139 ret = ext2_try_to_allocate(sb, group, bitmap_bh, grp_goal, in ext2_try_to_allocate_with_rsv()