Lines Matching refs:EXT4_SB

56 	struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);  in ext4_inode_csum()
90 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_verify()
111 if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != in ext4_inode_csum_set()
235 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode()
376 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_da_update_reserve_space()
424 le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) in __check_block_validity()
1272 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) in ext4_write_begin()
1599 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_da_reserve_space()
1627 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_da_release_space()
1668 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_da_page_release_reservation()
1792 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_print_free_blocks()
1797 EXT4_C2B(EXT4_SB(inode->i_sb), in ext4_print_free_blocks()
1801 (long long) EXT4_C2B(EXT4_SB(sb), in ext4_print_free_blocks()
1804 (long long) EXT4_C2B(EXT4_SB(sb), in ext4_print_free_blocks()
1836 if (invalid_block < ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es)) in ext4_da_map_blocks()
1905 if (EXT4_SB(inode->i_sb)->s_cluster_ratio == 1 || in ext4_da_map_blocks()
2145 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) { in ext4_writepage()
2550 if (ext4_forced_shutdown(EXT4_SB(sb)) || in mpage_map_and_submit_extent()
2551 EXT4_SB(sb)->s_mount_flags & EXT4_MF_FS_ABORTED) in mpage_map_and_submit_extent()
2765 struct ext4_sb_info *sbi = EXT4_SB(mapping->host->i_sb); in ext4_writepages()
2770 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) in ext4_writepages()
2799 if (unlikely(ext4_forced_shutdown(EXT4_SB(mapping->host->i_sb)) || in ext4_writepages()
3003 struct ext4_sb_info *sbi = EXT4_SB(mapping->host->i_sb); in ext4_dax_writepages()
3005 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) in ext4_dax_writepages()
3021 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_nonda_switch()
3075 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) in ext4_da_write_begin()
3460 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty()
3474 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_iomap_begin()
4325 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_punch_hole()
4479 if (ei->jinode || !EXT4_SB(inode->i_sb)->s_journal) in ext4_inode_attach_jinode()
4647 inode->i_ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in __ext4_get_inode_loc()
4658 inodes_per_block = EXT4_SB(sb)->s_inodes_per_block; in __ext4_get_inode_loc()
4664 if ((block <= le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) || in __ext4_get_inode_loc()
4665 (block >= ext4_blocks_count(EXT4_SB(sb)->s_es))) { in __ext4_get_inode_loc()
4739 if (EXT4_SB(sb)->s_inode_readahead_blks) { in __ext4_get_inode_loc()
4742 __u32 ra_blks = EXT4_SB(sb)->s_inode_readahead_blks; in __ext4_get_inode_loc()
4907 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget()
4918 (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) { in __ext4_iget()
4965 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in __ext4_iget()
5012 !(EXT4_SB(inode->i_sb)->s_mount_state & EXT4_ORPHAN_FS)) && in __ext4_iget()
5289 int i, inodes_per_block = EXT4_SB(sb)->s_inodes_per_block; in ext4_update_other_inodes_time()
5333 memset(raw_inode, 0, EXT4_SB(inode->i_sb)->s_inode_size); in ext4_do_update_inode()
5386 EXT4_SB(sb)->s_es->s_rev_level == in ext4_do_update_inode()
5439 BUFFER_TRACE(EXT4_SB(sb)->s_sbh, "get write access"); in ext4_do_update_inode()
5440 err = ext4_journal_get_write_access(handle, EXT4_SB(sb)->s_sbh); in ext4_do_update_inode()
5496 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) in ext4_write_inode()
5499 if (EXT4_SB(inode->i_sb)->s_journal) { in ext4_write_inode()
5514 err = jbd2_complete_transaction(EXT4_SB(inode->i_sb)->s_journal, in ext4_write_inode()
5547 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit()
5615 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) in ext4_setattr()
5680 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_setattr()
5854 delalloc_blocks = EXT4_C2B(EXT4_SB(inode->i_sb), in ext4_file_getattr()
5903 if (groups > EXT4_SB(inode->i_sb)->s_gdb_count) in ext4_meta_trans_blocks()
5904 gdpblocks = EXT4_SB(inode->i_sb)->s_gdb_count; in ext4_meta_trans_blocks()
5961 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) { in ext4_mark_iloc_dirty()
5988 if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb)))) in ext4_reserve_inode_write()
6161 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_mark_inode_dirty()
6247 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_change_inode_journal_flag()