Home
last modified time | relevance | path

Searched refs:group_no (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/fs/ext2/
Dballoc.c164 static void group_adjust_blocks(struct super_block *sb, int group_no, in group_adjust_blocks() argument
171 spin_lock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
174 spin_unlock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
1235 int group_no; in ext2_new_blocks() local
1295 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / in ext2_new_blocks()
1297 goal_group = group_no; in ext2_new_blocks()
1299 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks()
1316 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1319 grp_alloc_blk = ext2_try_to_allocate_with_rsv(sb, group_no, in ext2_new_blocks()
1334 group_no++; in ext2_new_blocks()
[all …]
Dext2.h810 ext2_group_first_block_no(struct super_block *sb, unsigned long group_no) in ext2_group_first_block_no() argument
812 return group_no * (ext2_fsblk_t)EXT2_BLOCKS_PER_GROUP(sb) + in ext2_group_first_block_no()
/Linux-v5.4/fs/ocfs2/
Dsuballoc.c2256 u32 group_no; in ocfs2_which_cluster_group() local
2260 group_no = cluster / osb->bitmap_cpg; in ocfs2_which_cluster_group()
2261 if (!group_no) in ocfs2_which_cluster_group()
2264 group_no * osb->bitmap_cpg); in ocfs2_which_cluster_group()
/Linux-v5.4/fs/ext4/
Dext4.h2165 ext4_group_first_block_no(struct super_block *sb, ext4_group_t group_no) in ext4_group_first_block_no() argument
2167 return group_no * (ext4_fsblk_t)EXT4_BLOCKS_PER_GROUP(sb) + in ext4_group_first_block_no()