Home
last modified time | relevance | path

Searched refs:s_inodes_per_group (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/fs/ext2/
Dsuper.c1015 sbi->s_inodes_per_group = le32_to_cpu(es->s_inodes_per_group); in ext2_fill_super()
1018 if (sbi->s_inodes_per_block == 0 || sbi->s_inodes_per_group == 0) in ext2_fill_super()
1020 sbi->s_itb_per_group = sbi->s_inodes_per_group / in ext2_fill_super()
1057 sbi->s_blocks_per_group, sbi->s_inodes_per_group + 3); in ext2_fill_super()
1060 if (sbi->s_inodes_per_group < sbi->s_inodes_per_block || in ext2_fill_super()
1061 sbi->s_inodes_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1064 sbi->s_inodes_per_group); in ext2_fill_super()
1078 if ((u64)sbi->s_groups_count * sbi->s_inodes_per_group != in ext2_fill_super()
1082 (u64)sbi->s_groups_count * sbi->s_inodes_per_group); in ext2_fill_super()
Dext2.h75 unsigned long s_inodes_per_group;/* Number of inodes in a group */ member
208 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
421 __le32 s_inodes_per_group; /* # Inodes per group */ member
/linux-6.6.21/Documentation/filesystems/ext4/
Dinodes.rst20 ``sb.s_inode_size * sb.s_inodes_per_group`` bytes. The number of the
22 ``(inode_number - 1) / sb.s_inodes_per_group``, and the offset into the
23 group's table is ``(inode_number - 1) % sb.s_inodes_per_group``. There
484 Each block group contains ``sb->s_inodes_per_group`` inodes. Because
487 ``bg = (inode_num - 1) / sb->s_inodes_per_group``. The particular inode
489 ``index = (inode_num - 1) % sb->s_inodes_per_group``. To get the byte
Dgroup_descr.rst97 ``(sb.s_inodes_per_group - gdt.bg_itable_unused)`` th entry in the
Dblockgroup.rst52 ``sb.s_inodes_per_group * sb.s_inode_size`` bytes.
Dsuper.rst74 - s_inodes_per_group
/linux-6.6.21/fs/ext4/
Dext4.h449 # define EXT4_INODES_PER_GROUP(s) (EXT4_SB(s)->s_inodes_per_group)
454 # define EXT4_INODES_PER_GROUP(s) ((s)->s_inodes_per_group)
1300 __le32 s_inodes_per_group; /* # Inodes per group */ member
1485 unsigned long s_inodes_per_group;/* Number of inodes in a group */ member
Dsuper.c4827 if (((u64)sbi->s_groups_count * sbi->s_inodes_per_group) != in ext4_check_geometry()
4831 ((u64)sbi->s_groups_count * sbi->s_inodes_per_group)); in ext4_check_geometry()
5184 sbi->s_inodes_per_group = le32_to_cpu(es->s_inodes_per_group); in ext4_block_group_meta_init()
5192 if (sbi->s_inodes_per_group < sbi->s_inodes_per_block || in ext4_block_group_meta_init()
5193 sbi->s_inodes_per_group > sb->s_blocksize * 8) { in ext4_block_group_meta_init()
5195 sbi->s_inodes_per_group); in ext4_block_group_meta_init()
5198 sbi->s_itb_per_group = sbi->s_inodes_per_group / in ext4_block_group_meta_init()