Lines Matching refs:group_no
163 static void group_adjust_blocks(struct super_block *sb, int group_no, in group_adjust_blocks() argument
170 spin_lock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
173 spin_unlock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
1211 int group_no; in ext2_new_blocks() local
1271 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / in ext2_new_blocks()
1273 goal_group = group_no; in ext2_new_blocks()
1275 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks()
1299 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1302 grp_alloc_blk = ext2_try_to_allocate_with_rsv(sb, group_no, in ext2_new_blocks()
1317 group_no++; in ext2_new_blocks()
1318 if (group_no >= ngroups) in ext2_new_blocks()
1319 group_no = 0; in ext2_new_blocks()
1320 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks()
1340 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1346 grp_alloc_blk = ext2_try_to_allocate_with_rsv(sb, group_no, in ext2_new_blocks()
1361 group_no = goal_group; in ext2_new_blocks()
1371 group_no, gdp->bg_free_blocks_count); in ext2_new_blocks()
1373 ret_block = grp_alloc_blk + ext2_group_first_block_no(sb, group_no); in ext2_new_blocks()
1400 le32_to_cpu(es->s_blocks_count), group_no, es); in ext2_new_blocks()
1404 group_adjust_blocks(sb, group_no, gdp, gdp_bh, -num); in ext2_new_blocks()