Lines Matching refs:grp_goal

264 goal_in_my_reservation(struct ext2_reserve_window *rsv, ext2_grpblk_t grp_goal,  in goal_in_my_reservation()  argument
275 if ((grp_goal >= 0) && ((grp_goal + group_first_block < rsv->_rsv_start) in goal_in_my_reservation()
276 || (grp_goal + group_first_block > rsv->_rsv_end))) in goal_in_my_reservation()
663 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate() argument
680 if (grp_goal < start || grp_goal >= end) in ext2_try_to_allocate()
681 grp_goal = -1; in ext2_try_to_allocate()
685 if (grp_goal < 0) { in ext2_try_to_allocate()
686 grp_goal = find_next_usable_block(start, bitmap_bh, end); in ext2_try_to_allocate()
687 if (grp_goal < 0) in ext2_try_to_allocate()
692 for (i = 0; i < 7 && grp_goal > start && in ext2_try_to_allocate()
693 !ext2_test_bit(grp_goal - 1, in ext2_try_to_allocate()
695 i++, grp_goal--) in ext2_try_to_allocate()
700 for (; num < *count && grp_goal < end; grp_goal++) { in ext2_try_to_allocate()
702 grp_goal, bitmap_bh->b_data)) { in ext2_try_to_allocate()
714 return grp_goal - num; in ext2_try_to_allocate()
874 ext2_grpblk_t grp_goal, struct super_block *sb, in alloc_new_reservation() argument
888 if (grp_goal < 0) in alloc_new_reservation()
891 start_block = grp_goal + group_first_block; in alloc_new_reservation()
1068 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate_with_rsv() argument
1084 grp_goal, count, NULL); in ext2_try_to_allocate_with_rsv()
1113 grp_goal, group, sb)) { in ext2_try_to_allocate_with_rsv()
1116 ret = alloc_new_reservation(my_rsv, grp_goal, sb, in ext2_try_to_allocate_with_rsv()
1122 grp_goal, group, sb)) in ext2_try_to_allocate_with_rsv()
1123 grp_goal = -1; in ext2_try_to_allocate_with_rsv()
1124 } else if (grp_goal >= 0) { in ext2_try_to_allocate_with_rsv()
1126 (grp_goal + group_first_block) + 1; in ext2_try_to_allocate_with_rsv()
1138 ret = ext2_try_to_allocate(sb, group, bitmap_bh, grp_goal, in ext2_try_to_allocate_with_rsv()