Lines Matching refs:group_first_block
79 ext2_fsblk_t group_first_block; in ext2_valid_block_bitmap() local
82 group_first_block = ext2_group_first_block_no(sb, block_group); in ext2_valid_block_bitmap()
83 max_bit = ext2_group_last_block_no(sb, block_group) - group_first_block; in ext2_valid_block_bitmap()
87 offset = bitmap_blk - group_first_block; in ext2_valid_block_bitmap()
95 offset = bitmap_blk - group_first_block; in ext2_valid_block_bitmap()
103 offset = bitmap_blk - group_first_block; in ext2_valid_block_bitmap()
273 ext2_fsblk_t group_first_block, group_last_block; in goal_in_my_reservation() local
275 group_first_block = ext2_group_first_block_no(sb, group); in goal_in_my_reservation()
279 (rsv->_rsv_end < group_first_block)) in goal_in_my_reservation()
281 if ((grp_goal >= 0) && ((grp_goal + group_first_block < rsv->_rsv_start) in goal_in_my_reservation()
282 || (grp_goal + group_first_block > rsv->_rsv_end))) in goal_in_my_reservation()
673 ext2_fsblk_t group_first_block = ext2_group_first_block_no(sb, group); in ext2_try_to_allocate() local
679 end = group_last_block - group_first_block + 1; in ext2_try_to_allocate()
682 if (my_rsv->_rsv_start >= group_first_block) in ext2_try_to_allocate()
683 start = my_rsv->_rsv_start - group_first_block; in ext2_try_to_allocate()
685 end = my_rsv->_rsv_end - group_first_block + 1; in ext2_try_to_allocate()
875 ext2_fsblk_t group_first_block, group_end_block, start_block; in alloc_new_reservation() local
882 group_first_block = ext2_group_first_block_no(sb, group); in alloc_new_reservation()
886 start_block = group_first_block; in alloc_new_reservation()
888 start_block = grp_goal + group_first_block; in alloc_new_reservation()
962 my_rsv->rsv_start - group_first_block, in alloc_new_reservation()
963 bitmap_bh, group_end_block - group_first_block + 1); in alloc_new_reservation()
977 start_block = first_free_block + group_first_block; in alloc_new_reservation()
1069 ext2_fsblk_t group_first_block, group_last_block; in ext2_try_to_allocate_with_rsv() local
1089 group_first_block = ext2_group_first_block_no(sb, group); in ext2_try_to_allocate_with_rsv()
1123 (grp_goal + group_first_block) + 1; in ext2_try_to_allocate_with_rsv()
1131 (my_rsv->rsv_end < group_first_block)) { in ext2_try_to_allocate_with_rsv()
1134 group, grp_goal, group_first_block, in ext2_try_to_allocate_with_rsv()