Lines Matching refs:group
271 unsigned int group, struct super_block * sb) in goal_in_my_reservation() argument
275 group_first_block = ext2_group_first_block_no(sb, group); in goal_in_my_reservation()
276 group_last_block = ext2_group_last_block_no(sb, group); in goal_in_my_reservation()
668 ext2_try_to_allocate(struct super_block *sb, int group, in ext2_try_to_allocate() argument
673 ext2_fsblk_t group_first_block = ext2_group_first_block_no(sb, group); in ext2_try_to_allocate()
674 ext2_fsblk_t group_last_block = ext2_group_last_block_no(sb, group); in ext2_try_to_allocate()
707 if (ext2_set_bit_atomic(sb_bgl_lock(EXT2_SB(sb), group), in ext2_try_to_allocate()
872 unsigned int group, struct buffer_head *bitmap_bh) in alloc_new_reservation() argument
882 group_first_block = ext2_group_first_block_no(sb, group); in alloc_new_reservation()
883 group_end_block = ext2_group_last_block_no(sb, group); in alloc_new_reservation()
1064 ext2_try_to_allocate_with_rsv(struct super_block *sb, unsigned int group, in ext2_try_to_allocate_with_rsv() argument
1080 return ext2_try_to_allocate(sb, group, bitmap_bh, in ext2_try_to_allocate_with_rsv()
1089 group_first_block = ext2_group_first_block_no(sb, group); in ext2_try_to_allocate_with_rsv()
1090 group_last_block = ext2_group_last_block_no(sb, group); in ext2_try_to_allocate_with_rsv()
1110 grp_goal, group, sb)) { in ext2_try_to_allocate_with_rsv()
1114 group, bitmap_bh); in ext2_try_to_allocate_with_rsv()
1119 grp_goal, group, sb)) in ext2_try_to_allocate_with_rsv()
1134 group, grp_goal, group_first_block, in ext2_try_to_allocate_with_rsv()
1140 ret = ext2_try_to_allocate(sb, group, bitmap_bh, grp_goal, in ext2_try_to_allocate_with_rsv()
1498 static int ext2_group_sparse(int group) in ext2_group_sparse() argument
1500 if (group <= 1) in ext2_group_sparse()
1502 return (test_root(group, 3) || test_root(group, 5) || in ext2_group_sparse()
1503 test_root(group, 7)); in ext2_group_sparse()
1514 int ext2_bg_has_super(struct super_block *sb, int group) in ext2_bg_has_super() argument
1517 !ext2_group_sparse(group)) in ext2_bg_has_super()
1531 unsigned long ext2_bg_num_gdb(struct super_block *sb, int group) in ext2_bg_num_gdb() argument
1533 return ext2_bg_has_super(sb, group) ? EXT2_SB(sb)->s_gdb_count : 0; in ext2_bg_num_gdb()