Lines Matching refs:grp
85 struct ext4_group_info *grp; in ext4_validate_inode_bitmap() local
90 grp = ext4_get_group_info(sb, block_group); in ext4_validate_inode_bitmap()
94 if (!grp || EXT4_MB_GRP_IBITMAP_CORRUPT(grp)) in ext4_validate_inode_bitmap()
248 struct ext4_group_info *grp; in ext4_free_inode() local
295 grp = ext4_get_group_info(sb, block_group); in ext4_free_inode()
296 if (!grp || unlikely(EXT4_MB_GRP_IBITMAP_CORRUPT(grp))) { in ext4_free_inode()
436 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
480 grp = g; in find_group_orlov()
488 *group = grp; in find_group_orlov()
499 grp *= flex_size; in find_group_orlov()
501 if (grp+i >= real_ngroups) in find_group_orlov()
503 desc = ext4_get_group_desc(sb, grp+i, NULL); in find_group_orlov()
505 *group = grp+i; in find_group_orlov()
531 grp = (parent_group + i) % ngroups; in find_group_orlov()
532 get_orlov_stats(sb, grp, flex_size, &stats); in find_group_orlov()
548 grp = (parent_group + i) % ngroups; in find_group_orlov()
549 desc = ext4_get_group_desc(sb, grp, NULL); in find_group_orlov()
553 *group = grp; in find_group_orlov()
946 struct ext4_group_info *grp = NULL; in __ext4_new_inode() local
1047 grp = ext4_get_group_info(sb, group); in __ext4_new_inode()
1052 if (!grp || EXT4_MB_GRP_IBITMAP_CORRUPT(grp)) in __ext4_new_inode()
1064 EXT4_MB_GRP_IBITMAP_CORRUPT(grp)) in __ext4_new_inode()
1186 struct ext4_group_info *grp = NULL; in __ext4_new_inode() local
1189 grp = ext4_get_group_info(sb, group); in __ext4_new_inode()
1190 if (!grp) { in __ext4_new_inode()
1194 down_read(&grp->alloc_sem); /* in __ext4_new_inode()
1215 up_read(&grp->alloc_sem); in __ext4_new_inode()
1521 struct ext4_group_info *grp = ext4_get_group_info(sb, group); in ext4_init_inode_table() local
1531 if (!gdp || !grp) in ext4_init_inode_table()
1547 down_write(&grp->alloc_sem); in ext4_init_inode_table()
1623 up_write(&grp->alloc_sem); in ext4_init_inode_table()