Searched refs:EXT4_INODES_PER_GROUP (Results 1 – 5 of 5) sorted by relevance
/fs/ext4/ |
D | ialloc.c | 86 memset(bh->b_data, 0, (EXT4_INODES_PER_GROUP(sb) + 7) / 8); in ext4_init_inode_bitmap() 87 mark_bitmap_end(EXT4_INODES_PER_GROUP(sb), sb->s_blocksize * 8, in ext4_init_inode_bitmap() 90 return EXT4_INODES_PER_GROUP(sb); in ext4_init_inode_bitmap() 239 block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in ext4_free_inode() 240 bit = (ino - 1) % EXT4_INODES_PER_GROUP(sb); in ext4_free_inode() 448 int inodes_per_group = EXT4_INODES_PER_GROUP(sb); in find_group_orlov() 626 ino > EXT4_INODES_PER_GROUP(sb)) { in ext4_claim_inode() 631 ino + group * EXT4_INODES_PER_GROUP(sb)); in ext4_claim_inode() 649 free = EXT4_INODES_PER_GROUP(sb) - in ext4_claim_inode() 661 (EXT4_INODES_PER_GROUP(sb) - ino)); in ext4_claim_inode() [all …]
|
D | resize.c | 298 mark_bitmap_end(EXT4_INODES_PER_GROUP(sb), sb->s_blocksize * 8, in setup_new_group_blocks() 768 if (le32_to_cpu(es->s_inodes_count) + EXT4_INODES_PER_GROUP(sb) < in ext4_group_add() 869 ext4_free_inodes_set(sb, gdp, EXT4_INODES_PER_GROUP(sb)); in ext4_group_add() 895 le32_add_cpu(&es->s_inodes_count, EXT4_INODES_PER_GROUP(sb)); in ext4_group_add() 936 EXT4_INODES_PER_GROUP(sb)); in ext4_group_add() 944 EXT4_INODES_PER_GROUP(sb); in ext4_group_add()
|
D | ext4.h | 203 # define EXT4_INODES_PER_GROUP(s) (EXT4_SB(s)->s_inodes_per_group) macro 208 # define EXT4_INODES_PER_GROUP(s) ((s)->s_inodes_per_group) macro
|
D | inode.c | 3993 iloc->block_group = (inode->i_ino - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc() 4003 EXT4_INODES_PER_GROUP(sb)); in __ext4_get_inode_loc() 4093 num = EXT4_INODES_PER_GROUP(sb); in __ext4_get_inode_loc()
|
D | super.c | 1566 EXT4_INODES_PER_GROUP(sb), in ext4_setup_super() 2235 if (EXT4_INODE_SIZE(sb) == 0 || EXT4_INODES_PER_GROUP(sb) == 0) in ext4_fill_super()
|