Lines Matching refs:group

365 			    ext4_group_t *group, umode_t mode,  in find_group_orlov()  argument
431 *group = grp; in find_group_orlov()
448 *group = grp+i; in find_group_orlov()
494 *group = grp; in find_group_orlov()
513 ext4_group_t *group, umode_t mode) in find_group_other() argument
538 *group = i; in find_group_other()
552 *group = parent_group + flex_size; in find_group_other()
553 if (*group > ngroups) in find_group_other()
554 *group = 0; in find_group_other()
555 return find_group_orlov(sb, parent, group, mode, NULL); in find_group_other()
561 *group = parent_group; in find_group_other()
562 desc = ext4_get_group_desc(sb, *group, NULL); in find_group_other()
576 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
583 *group += i; in find_group_other()
584 if (*group >= ngroups) in find_group_other()
585 *group -= ngroups; in find_group_other()
586 desc = ext4_get_group_desc(sb, *group, NULL); in find_group_other()
596 *group = parent_group; in find_group_other()
598 if (++*group >= ngroups) in find_group_other()
599 *group = 0; in find_group_other()
600 desc = ext4_get_group_desc(sb, *group, NULL); in find_group_other()
624 ext4_group_t ngroups, group = 0; in ext4_new_inode() local
652 group = (goal - 1) / EXT4_INODES_PER_GROUP(sb); in ext4_new_inode()
659 ret2 = find_group_orlov(sb, dir, &group, mode, qstr); in ext4_new_inode()
661 ret2 = find_group_other(sb, dir, &group, mode); in ext4_new_inode()
664 EXT4_I(dir)->i_last_alloc_group = group; in ext4_new_inode()
677 gdp = ext4_get_group_desc(sb, group, &group_desc_bh); in ext4_new_inode()
682 inode_bitmap_bh = ext4_read_inode_bitmap(sb, group); in ext4_new_inode()
692 if (group == 0 && (ino+1) < EXT4_FIRST_INO(sb)) { in ext4_new_inode()
701 ext4_lock_group(sb, group); in ext4_new_inode()
703 ext4_unlock_group(sb, group); in ext4_new_inode()
710 if (++group == ngroups) in ext4_new_inode()
711 group = 0; in ext4_new_inode()
727 block_bitmap_bh = ext4_read_block_bitmap(sb, group); in ext4_new_inode()
739 ext4_lock_group(sb, group); in ext4_new_inode()
743 ext4_free_clusters_after_init(sb, group, gdp)); in ext4_new_inode()
744 gdp->bg_checksum = ext4_group_desc_csum(sbi, group, in ext4_new_inode()
747 ext4_unlock_group(sb, group); in ext4_new_inode()
762 struct ext4_group_info *grp = ext4_get_group_info(sb, group); in ext4_new_inode()
765 ext4_lock_group(sb, group); /* while we modify the bg desc */ in ext4_new_inode()
782 ext4_lock_group(sb, group); in ext4_new_inode()
788 ext4_group_t f = ext4_flex_group(sbi, group); in ext4_new_inode()
794 gdp->bg_checksum = ext4_group_desc_csum(sbi, group, gdp); in ext4_new_inode()
796 ext4_unlock_group(sb, group); in ext4_new_inode()
809 flex_group = ext4_flex_group(sbi, group); in ext4_new_inode()
823 inode->i_ino = ino + group * EXT4_INODES_PER_GROUP(sb); in ext4_new_inode()
838 ei->i_block_group = group; in ext4_new_inode()
1064 int ext4_init_inode_table(struct super_block *sb, ext4_group_t group, in ext4_init_inode_table() argument
1067 struct ext4_group_info *grp = ext4_get_group_info(sb, group); in ext4_init_inode_table()
1081 gdp = ext4_get_group_desc(sb, group, &group_desc_bh); in ext4_init_inode_table()
1113 group, used_blks, in ext4_init_inode_table()
1137 group); in ext4_init_inode_table()
1145 ext4_lock_group(sb, group); in ext4_init_inode_table()
1147 gdp->bg_checksum = ext4_group_desc_csum(sbi, group, gdp); in ext4_init_inode_table()
1148 ext4_unlock_group(sb, group); in ext4_init_inode_table()