Lines Matching refs:grp
85 struct ext4_group_info *grp = ext4_get_group_info(sb, block_group); in ext4_validate_inode_bitmap() local
89 if (EXT4_MB_GRP_IBITMAP_CORRUPT(grp)) in ext4_validate_inode_bitmap()
244 struct ext4_group_info *grp; in ext4_free_inode() local
290 grp = ext4_get_group_info(sb, block_group); in ext4_free_inode()
296 if (unlikely(EXT4_MB_GRP_IBITMAP_CORRUPT(grp))) { in ext4_free_inode()
431 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
461 grp = hinfo.hash; in find_group_orlov()
463 grp = prandom_u32(); in find_group_orlov()
464 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
476 grp = g; in find_group_orlov()
484 *group = grp; in find_group_orlov()
495 grp *= flex_size; in find_group_orlov()
497 if (grp+i >= real_ngroups) in find_group_orlov()
499 desc = ext4_get_group_desc(sb, grp+i, NULL); in find_group_orlov()
501 *group = grp+i; in find_group_orlov()
525 grp = (parent_group + i) % ngroups; in find_group_orlov()
526 get_orlov_stats(sb, grp, flex_size, &stats); in find_group_orlov()
542 grp = (parent_group + i) % ngroups; in find_group_orlov()
543 desc = ext4_get_group_desc(sb, grp, NULL); in find_group_orlov()
547 *group = grp; in find_group_orlov()
763 struct ext4_group_info *grp; in __ext4_new_inode() local
901 grp = ext4_get_group_info(sb, group); in __ext4_new_inode()
903 if (EXT4_MB_GRP_IBITMAP_CORRUPT(grp)) in __ext4_new_inode()
909 if (EXT4_MB_GRP_IBITMAP_CORRUPT(grp) || in __ext4_new_inode()
1032 struct ext4_group_info *grp = ext4_get_group_info(sb, group); in __ext4_new_inode() local
1034 down_read(&grp->alloc_sem); /* protect vs itable lazyinit */ in __ext4_new_inode()
1050 up_read(&grp->alloc_sem); in __ext4_new_inode()
1353 struct ext4_group_info *grp = ext4_get_group_info(sb, group); in ext4_init_inode_table() local
1385 down_write(&grp->alloc_sem); in ext4_init_inode_table()
1461 up_write(&grp->alloc_sem); in ext4_init_inode_table()