Lines Matching refs:i_sb

97 	unsigned long max_entries = inode->i_sb->s_blocksize >> 2;  in update_ind_extent_range()
99 bh = ext4_sb_bread(inode->i_sb, pblock, 0); in update_ind_extent_range()
126 unsigned long max_entries = inode->i_sb->s_blocksize >> 2; in update_dind_extent_range()
128 bh = ext4_sb_bread(inode->i_sb, pblock, 0); in update_dind_extent_range()
156 unsigned long max_entries = inode->i_sb->s_blocksize >> 2; in update_tind_extent_range()
158 bh = ext4_sb_bread(inode->i_sb, pblock, 0); in update_tind_extent_range()
185 struct super_block *sb = inode->i_sb; in free_dind_blocks()
186 unsigned long max_entries = inode->i_sb->s_blocksize >> 2; in free_dind_blocks()
226 unsigned long max_entries = inode->i_sb->s_blocksize >> 2; in free_tind_blocks()
228 bh = ext4_sb_bread(inode->i_sb, le32_to_cpu(i_data), 0); in free_tind_blocks()
245 ext4_free_metadata_revoke_credits(inode->i_sb, 1)); in free_tind_blocks()
262 ext4_free_metadata_revoke_credits(inode->i_sb, 1)); in free_ind_block()
362 bh = ext4_sb_bread(inode->i_sb, block, 0); in free_ext_idx()
379 ext4_free_metadata_revoke_credits(inode->i_sb, 1)); in free_ext_idx()
427 if (!ext4_has_feature_extents(inode->i_sb) || in ext4_ext_migrate()
438 alloc_ctx = ext4_writepages_down_write(inode->i_sb); in ext4_ext_migrate()
446 3 + EXT4_MAXQUOTAS_TRANS_BLOCKS(inode->i_sb)); in ext4_ext_migrate()
452 goal = (((inode->i_ino - 1) / EXT4_INODES_PER_GROUP(inode->i_sb)) * in ext4_ext_migrate()
453 EXT4_INODES_PER_GROUP(inode->i_sb)) + 1; in ext4_ext_migrate()
456 tmp_inode = ext4_new_inode(handle, d_inode(inode->i_sb->s_root), in ext4_ext_migrate()
511 max_entries = inode->i_sb->s_blocksize >> 2; in ext4_ext_migrate()
590 ext4_writepages_up_write(inode->i_sb, alloc_ctx); in ext4_ext_migrate()
600 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_ind_migrate()
611 if (!ext4_has_feature_extents(inode->i_sb) || in ext4_ind_migrate()
615 if (ext4_has_feature_bigalloc(inode->i_sb)) in ext4_ind_migrate()
623 if (test_opt(inode->i_sb, DELALLOC)) in ext4_ind_migrate()
626 alloc_ctx = ext4_writepages_down_write(inode->i_sb); in ext4_ind_migrate()
670 ext4_writepages_up_write(inode->i_sb, alloc_ctx); in ext4_ind_migrate()