Lines Matching refs:group_no
162 static void group_adjust_blocks(struct super_block *sb, int group_no, in group_adjust_blocks() argument
169 spin_lock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
172 spin_unlock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
1236 int group_no; in ext2_new_blocks() local
1296 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / in ext2_new_blocks()
1298 goal_group = group_no; in ext2_new_blocks()
1300 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks()
1317 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1320 grp_alloc_blk = ext2_try_to_allocate_with_rsv(sb, group_no, in ext2_new_blocks()
1335 group_no++; in ext2_new_blocks()
1336 if (group_no >= ngroups) in ext2_new_blocks()
1337 group_no = 0; in ext2_new_blocks()
1338 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks()
1358 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1364 grp_alloc_blk = ext2_try_to_allocate_with_rsv(sb, group_no, in ext2_new_blocks()
1379 group_no = goal_group; in ext2_new_blocks()
1389 group_no, gdp->bg_free_blocks_count); in ext2_new_blocks()
1391 ret_block = grp_alloc_blk + ext2_group_first_block_no(sb, group_no); in ext2_new_blocks()
1417 le32_to_cpu(es->s_blocks_count), group_no, es); in ext2_new_blocks()
1421 group_adjust_blocks(sb, group_no, gdp, gdp_bh, -num); in ext2_new_blocks()