Searched refs:group_no (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/fs/ext2/ |
D | balloc.c | 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() [all …]
|
D | ext2.h | 809 ext2_group_first_block_no(struct super_block *sb, unsigned long group_no) in ext2_group_first_block_no() argument 811 return group_no * (ext2_fsblk_t)EXT2_BLOCKS_PER_GROUP(sb) + in ext2_group_first_block_no() 816 ext2_group_last_block_no(struct super_block *sb, unsigned long group_no) in ext2_group_last_block_no() argument 820 if (group_no == sbi->s_groups_count - 1) in ext2_group_last_block_no() 823 return ext2_group_first_block_no(sb, group_no) + in ext2_group_last_block_no()
|
/linux-6.1.9/fs/ocfs2/ |
D | suballoc.c | 2257 u32 group_no; in ocfs2_which_cluster_group() local 2261 group_no = cluster / osb->bitmap_cpg; in ocfs2_which_cluster_group() 2262 if (!group_no) in ocfs2_which_cluster_group() 2265 group_no * osb->bitmap_cpg); in ocfs2_which_cluster_group()
|
/linux-6.1.9/fs/ext4/ |
D | ext4.h | 2544 ext4_group_first_block_no(struct super_block *sb, ext4_group_t group_no) in ext4_group_first_block_no() argument 2546 return group_no * (ext4_fsblk_t)EXT4_BLOCKS_PER_GROUP(sb) + in ext4_group_first_block_no()
|