• Home
  • Raw
  • Download

Lines Matching refs:group

262 			unsigned int group, struct super_block * sb)  in goal_in_my_reservation()  argument
266 group_first_block = ext3_group_first_block_no(sb, group); in goal_in_my_reservation()
865 ext3_try_to_allocate(struct super_block *sb, handle_t *handle, int group, in ext3_try_to_allocate() argument
875 group_first_block = ext3_group_first_block_no(sb, group); in ext3_try_to_allocate()
916 if (!claim_block(sb_bgl_lock(EXT3_SB(sb), group), in ext3_try_to_allocate()
932 && claim_block(sb_bgl_lock(EXT3_SB(sb), group), in ext3_try_to_allocate()
1101 unsigned int group, struct buffer_head *bitmap_bh) in alloc_new_reservation() argument
1111 group_first_block = ext3_group_first_block_no(sb, group); in alloc_new_reservation()
1299 unsigned int group, struct buffer_head *bitmap_bh, in ext3_try_to_allocate_with_rsv() argument
1330 ret = ext3_try_to_allocate(sb, handle, group, bitmap_bh, in ext3_try_to_allocate_with_rsv()
1340 group_first_block = ext3_group_first_block_no(sb, group); in ext3_try_to_allocate_with_rsv()
1361 grp_goal, group, sb)) { in ext3_try_to_allocate_with_rsv()
1365 group, bitmap_bh); in ext3_try_to_allocate_with_rsv()
1370 grp_goal, group, sb)) in ext3_try_to_allocate_with_rsv()
1386 ret = ext3_try_to_allocate(sb, handle, group, bitmap_bh, in ext3_try_to_allocate_with_rsv()
1813 static int ext3_group_sparse(int group) in ext3_group_sparse() argument
1815 if (group <= 1) in ext3_group_sparse()
1817 if (!(group & 1)) in ext3_group_sparse()
1819 return (test_root(group, 7) || test_root(group, 5) || in ext3_group_sparse()
1820 test_root(group, 3)); in ext3_group_sparse()
1831 int ext3_bg_has_super(struct super_block *sb, int group) in ext3_bg_has_super() argument
1835 !ext3_group_sparse(group)) in ext3_bg_has_super()
1840 static unsigned long ext3_bg_num_gdb_meta(struct super_block *sb, int group) in ext3_bg_num_gdb_meta() argument
1842 unsigned long metagroup = group / EXT3_DESC_PER_BLOCK(sb); in ext3_bg_num_gdb_meta()
1846 if (group == first || group == first + 1 || group == last) in ext3_bg_num_gdb_meta()
1851 static unsigned long ext3_bg_num_gdb_nometa(struct super_block *sb, int group) in ext3_bg_num_gdb_nometa() argument
1853 return ext3_bg_has_super(sb, group) ? EXT3_SB(sb)->s_gdb_count : 0; in ext3_bg_num_gdb_nometa()
1865 unsigned long ext3_bg_num_gdb(struct super_block *sb, int group) in ext3_bg_num_gdb() argument
1869 unsigned long metagroup = group / EXT3_DESC_PER_BLOCK(sb); in ext3_bg_num_gdb()
1873 return ext3_bg_num_gdb_nometa(sb,group); in ext3_bg_num_gdb()
1875 return ext3_bg_num_gdb_meta(sb,group); in ext3_bg_num_gdb()