Lines Matching refs:EXT2_SB
78 spin_lock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
82 spin_unlock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
83 percpu_counter_inc(&EXT2_SB(sb)->s_freeinodes_counter); in ext2_release_inode()
85 percpu_counter_dec(&EXT2_SB(sb)->s_dirs_counter); in ext2_release_inode()
126 es = EXT2_SB(sb)->s_es; in ext2_free_inode()
142 if (!ext2_clear_bit_atomic(sb_bgl_lock(EXT2_SB(sb), block_group), in ext2_free_inode()
201 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir()
254 struct ext2_sb_info *sbi = EXT2_SB(sb); in find_group_orlov()
365 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_other()
443 sbi = EXT2_SB(sb); in ext2_new_inode()
626 es = EXT2_SB(sb)->s_es; in ext2_count_free_inodes()
627 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_inodes()
647 percpu_counter_read(&EXT2_SB(sb)->s_freeinodes_counter), in ext2_count_free_inodes()
651 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_inodes()
667 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_dirs()