EXT4_SB 34 fs/ext4/balloc.c struct ext4_super_block *es = EXT4_SB(sb)->s_es; EXT4_SB 60 fs/ext4/balloc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 94 fs/ext4/balloc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 211 fs/ext4/balloc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 280 fs/ext4/balloc.c offset + EXT4_SB(sb)->s_itb_per_group, EXT4_SB 282 fs/ext4/balloc.c if (next_zero_bit >= offset + EXT4_SB(sb)->s_itb_per_group) EXT4_SB 327 fs/ext4/balloc.c spin_lock(sb_bgl_lock(EXT4_SB(sb), block_group)); EXT4_SB 332 fs/ext4/balloc.c spin_unlock(sb_bgl_lock(EXT4_SB(sb), block_group)); EXT4_SB 335 fs/ext4/balloc.c spin_unlock(sb_bgl_lock(EXT4_SB(sb), block_group)); EXT4_SB 384 fs/ext4/balloc.c sbi = EXT4_SB(sb); EXT4_SB 676 fs/ext4/balloc.c if (!ext4_has_free_blocks(EXT4_SB(sb), 1) || (*retries)++ > 3) EXT4_SB 681 fs/ext4/balloc.c return jbd2_journal_force_commit_nested(EXT4_SB(sb)->s_journal); EXT4_SB 790 fs/ext4/balloc.c ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; EXT4_SB 797 fs/ext4/balloc.c es = EXT4_SB(sb)->s_es; EXT4_SB 888 fs/ext4/balloc.c return ext4_bg_has_super(sb, group) ? EXT4_SB(sb)->s_gdb_count : 0; EXT4_SB 903 fs/ext4/balloc.c le32_to_cpu(EXT4_SB(sb)->s_es->s_first_meta_bg); EXT4_SB 81 fs/ext4/dir.c le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count)) EXT4_SB 138 fs/ext4/ext4.h #define EXT4_ADDR_PER_BLOCK_BITS(s) (EXT4_SB(s)->s_addr_per_block_bits) EXT4_SB 139 fs/ext4/ext4.h #define EXT4_INODE_SIZE(s) (EXT4_SB(s)->s_inode_size) EXT4_SB 140 fs/ext4/ext4.h #define EXT4_FIRST_INO(s) (EXT4_SB(s)->s_first_ino) EXT4_SB 198 fs/ext4/ext4.h #define EXT4_DESC_SIZE(s) (EXT4_SB(s)->s_desc_size) EXT4_SB 200 fs/ext4/ext4.h # define EXT4_BLOCKS_PER_GROUP(s) (EXT4_SB(s)->s_blocks_per_group) EXT4_SB 201 fs/ext4/ext4.h # define EXT4_DESC_PER_BLOCK(s) (EXT4_SB(s)->s_desc_per_block) EXT4_SB 202 fs/ext4/ext4.h # define EXT4_INODES_PER_GROUP(s) (EXT4_SB(s)->s_inodes_per_group) EXT4_SB 203 fs/ext4/ext4.h # define EXT4_DESC_PER_BLOCK_BITS(s) (EXT4_SB(s)->s_desc_per_block_bits) EXT4_SB 549 fs/ext4/ext4.h #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \ EXT4_SB 694 fs/ext4/ext4.h ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); EXT4_SB 730 fs/ext4/ext4.h (EXT4_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask)) EXT4_SB 732 fs/ext4/ext4.h (EXT4_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask)) EXT4_SB 734 fs/ext4/ext4.h (EXT4_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask)) EXT4_SB 736 fs/ext4/ext4.h EXT4_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) EXT4_SB 738 fs/ext4/ext4.h EXT4_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask) EXT4_SB 740 fs/ext4/ext4.h EXT4_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask) EXT4_SB 742 fs/ext4/ext4.h EXT4_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask) EXT4_SB 744 fs/ext4/ext4.h EXT4_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask) EXT4_SB 746 fs/ext4/ext4.h EXT4_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask) EXT4_SB 950 fs/ext4/ext4.h le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); EXT4_SB 1205 fs/ext4/ext4.h grp_info = EXT4_SB(sb)->s_group_info; EXT4_SB 22 fs/ext4/ext4_jbd2.h #define EXT4_JOURNAL(inode) (EXT4_SB((inode)->i_sb)->s_journal) EXT4_SB 172 fs/ext4/extents.c le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_first_data_block); EXT4_SB 173 fs/ext4/extents.c last_block = ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es) - 1; EXT4_SB 1928 fs/ext4/extents.c struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); EXT4_SB 2266 fs/ext4/extents.c spin_lock_init(&EXT4_SB(sb)->s_ext_stats_lock); EXT4_SB 2267 fs/ext4/extents.c EXT4_SB(sb)->s_ext_min = 1 << 30; EXT4_SB 2268 fs/ext4/extents.c EXT4_SB(sb)->s_ext_max = 0; EXT4_SB 2282 fs/ext4/extents.c if (EXT4_SB(sb)->s_ext_blocks && EXT4_SB(sb)->s_ext_extents) { EXT4_SB 2283 fs/ext4/extents.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 3175 fs/ext4/extents.c length = EXT4_SB(inode->i_sb)->s_inode_size - offset; EXT4_SB 65 fs/ext4/file.c struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); EXT4_SB 50 fs/ext4/fsync.c journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; EXT4_SB 70 fs/ext4/ialloc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 123 fs/ext4/ialloc.c spin_lock(sb_bgl_lock(EXT4_SB(sb), block_group)); EXT4_SB 128 fs/ext4/ialloc.c spin_unlock(sb_bgl_lock(EXT4_SB(sb), block_group)); EXT4_SB 131 fs/ext4/ialloc.c spin_unlock(sb_bgl_lock(EXT4_SB(sb), block_group)); EXT4_SB 189 fs/ext4/ialloc.c sbi = EXT4_SB(sb); EXT4_SB 208 fs/ext4/ialloc.c es = EXT4_SB(sb)->s_es; EXT4_SB 283 fs/ext4/ialloc.c ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; EXT4_SB 289 fs/ext4/ialloc.c freei = percpu_counter_read_positive(&EXT4_SB(sb)->s_freeinodes_counter); EXT4_SB 314 fs/ext4/ialloc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 415 fs/ext4/ialloc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 518 fs/ext4/ialloc.c ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; EXT4_SB 610 fs/ext4/ialloc.c sbi = EXT4_SB(sb); EXT4_SB 834 fs/ext4/ialloc.c ei->i_extra_isize = EXT4_SB(sb)->s_want_extra_isize; EXT4_SB 890 fs/ext4/ialloc.c unsigned long max_ino = le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count); EXT4_SB 974 fs/ext4/ialloc.c es = EXT4_SB(sb)->s_es; EXT4_SB 978 fs/ext4/ialloc.c for (i = 0; i < EXT4_SB(sb)->s_groups_count; i++) { EXT4_SB 1000 fs/ext4/ialloc.c for (i = 0; i < EXT4_SB(sb)->s_groups_count; i++) { EXT4_SB 1017 fs/ext4/ialloc.c for (i = 0; i < EXT4_SB(sb)->s_groups_count; i++) { EXT4_SB 467 fs/ext4/inode.c last_block = ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es) - 1; EXT4_SB 995 fs/ext4/inode.c struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); EXT4_SB 1517 fs/ext4/inode.c struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); EXT4_SB 1551 fs/ext4/inode.c struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); EXT4_SB 1817 fs/ext4/inode.c struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); EXT4_SB 2369 fs/ext4/inode.c struct ext4_sb_info *sbi = EXT4_SB(mapping->host->i_sb); EXT4_SB 2474 fs/ext4/inode.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 3914 fs/ext4/inode.c if (EXT4_SB(sb)->s_inode_readahead_blks) { EXT4_SB 3920 fs/ext4/inode.c while (EXT4_SB(sb)->s_inode_readahead_blks & EXT4_SB 3921 fs/ext4/inode.c (EXT4_SB(sb)->s_inode_readahead_blks-1)) EXT4_SB 3922 fs/ext4/inode.c EXT4_SB(sb)->s_inode_readahead_blks = EXT4_SB 3923 fs/ext4/inode.c (EXT4_SB(sb)->s_inode_readahead_blks & EXT4_SB 3924 fs/ext4/inode.c (EXT4_SB(sb)->s_inode_readahead_blks-1)); EXT4_SB 3925 fs/ext4/inode.c b = block & ~(EXT4_SB(sb)->s_inode_readahead_blks-1); EXT4_SB 3928 fs/ext4/inode.c end = b + EXT4_SB(sb)->s_inode_readahead_blks; EXT4_SB 4073 fs/ext4/inode.c !(EXT4_SB(inode->i_sb)->s_mount_state & EXT4_ORPHAN_FS)) { EXT4_SB 4087 fs/ext4/inode.c if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != EXT4_SB 4239 fs/ext4/inode.c memset(raw_inode, 0, EXT4_SB(inode->i_sb)->s_inode_size); EXT4_SB 4279 fs/ext4/inode.c if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != EXT4_SB 4289 fs/ext4/inode.c EXT4_SB(sb)->s_es->s_rev_level == EXT4_SB 4295 fs/ext4/inode.c EXT4_SB(sb)->s_sbh); EXT4_SB 4304 fs/ext4/inode.c EXT4_SB(sb)->s_sbh); EXT4_SB 4458 fs/ext4/inode.c struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); EXT4_SB 4617 fs/ext4/inode.c if (groups > EXT4_SB(inode->i_sb)->s_groups_count) EXT4_SB 4618 fs/ext4/inode.c groups = EXT4_SB(inode->i_sb)->s_groups_count; EXT4_SB 4619 fs/ext4/inode.c if (groups > EXT4_SB(inode->i_sb)->s_gdb_count) EXT4_SB 4620 fs/ext4/inode.c gdpblocks = EXT4_SB(inode->i_sb)->s_gdb_count; EXT4_SB 4773 fs/ext4/inode.c struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); EXT4_SB 183 fs/ext4/ioctl.c add_wait_queue(&EXT4_SB(sb)->ro_wait_queue, &wait); EXT4_SB 184 fs/ext4/ioctl.c if (timer_pending(&EXT4_SB(sb)->turn_ro_timer)) { EXT4_SB 188 fs/ext4/ioctl.c remove_wait_queue(&EXT4_SB(sb)->ro_wait_queue, &wait); EXT4_SB 207 fs/ext4/ioctl.c err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); EXT4_SB 208 fs/ext4/ioctl.c jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); EXT4_SB 209 fs/ext4/ioctl.c err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal); EXT4_SB 210 fs/ext4/ioctl.c jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); EXT4_SB 234 fs/ext4/ioctl.c jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); EXT4_SB 235 fs/ext4/ioctl.c err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal); EXT4_SB 236 fs/ext4/ioctl.c jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); EXT4_SB 425 fs/ext4/mballoc.c bb = EXT4_MB_BUDDY(e4b) + EXT4_SB(e4b->bd_sb)->s_mb_offsets[order]; EXT4_SB 426 fs/ext4/mballoc.c *max = EXT4_SB(e4b->bd_sb)->s_mb_maxs[order]; EXT4_SB 447 fs/ext4/mballoc.c le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); EXT4_SB 629 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 706 fs/ext4/mballoc.c spin_lock(&EXT4_SB(sb)->s_bal_lock); EXT4_SB 707 fs/ext4/mballoc.c EXT4_SB(sb)->s_mb_buddies_generated++; EXT4_SB 708 fs/ext4/mballoc.c EXT4_SB(sb)->s_mb_generation_time += period; EXT4_SB 709 fs/ext4/mballoc.c spin_unlock(&EXT4_SB(sb)->s_bal_lock); EXT4_SB 772 fs/ext4/mballoc.c if (first_group + i >= EXT4_SB(sb)->s_groups_count) EXT4_SB 790 fs/ext4/mballoc.c spin_lock(sb_bgl_lock(EXT4_SB(sb), first_group + i)); EXT4_SB 796 fs/ext4/mballoc.c spin_unlock(sb_bgl_lock(EXT4_SB(sb), first_group + i)); EXT4_SB 799 fs/ext4/mballoc.c spin_unlock(sb_bgl_lock(EXT4_SB(sb), first_group + i)); EXT4_SB 822 fs/ext4/mballoc.c if (group >= EXT4_SB(sb)->s_groups_count) EXT4_SB 889 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 1079 fs/ext4/mballoc.c if (first + count < EXT4_SB(sb)->s_mb_maxs[0]) EXT4_SB 1096 fs/ext4/mballoc.c le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); EXT4_SB 1225 fs/ext4/mballoc.c if (start + len < EXT4_SB(e4b->bd_sb)->s_mb_maxs[0]) EXT4_SB 1268 fs/ext4/mballoc.c mb_set_bits(sb_bgl_lock(EXT4_SB(e4b->bd_sb), ex->fe_group), EXT4_SB 1281 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); EXT4_SB 1323 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); EXT4_SB 1459 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); EXT4_SB 1543 fs/ext4/mballoc.c if (EXT4_SB(sb)->s_mb_stats) EXT4_SB 1544 fs/ext4/mballoc.c atomic_inc(&EXT4_SB(sb)->s_bal_2orders); EXT4_SB 1616 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 1709 fs/ext4/mballoc.c sbi = EXT4_SB(sb); EXT4_SB 1770 fs/ext4/mballoc.c for (i = 0; i < EXT4_SB(sb)->s_groups_count; group++, i++) { EXT4_SB 1774 fs/ext4/mballoc.c if (group == EXT4_SB(sb)->s_groups_count) EXT4_SB 1985 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2052 fs/ext4/mballoc.c EXT4_SB(sb)->s_mb_history_filter = value; EXT4_SB 2069 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2082 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2170 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2181 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2202 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); EXT4_SB 2250 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2335 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2389 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2483 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2583 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2650 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2716 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2742 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2806 fs/ext4/mballoc.c sbi = EXT4_SB(sb); EXT4_SB 2839 fs/ext4/mballoc.c EXT4_SB(sb)->s_itb_per_group) || EXT4_SB 2841 fs/ext4/mballoc.c EXT4_SB(sb)->s_itb_per_group)) { EXT4_SB 2924 fs/ext4/mballoc.c if (EXT4_SB(sb)->s_stripe) EXT4_SB 2925 fs/ext4/mballoc.c ac->ac_g_ex.fe_len = EXT4_SB(sb)->s_stripe; EXT4_SB 2927 fs/ext4/mballoc.c ac->ac_g_ex.fe_len = EXT4_SB(sb)->s_mb_group_prealloc; EXT4_SB 3124 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); EXT4_SB 3278 fs/ext4/mballoc.c le32_to_cpu(EXT4_SB(ac->ac_sb)->s_es->s_first_data_block); EXT4_SB 3341 fs/ext4/mballoc.c mb_set_bits(sb_bgl_lock(EXT4_SB(sb), group), EXT4_SB 3475 fs/ext4/mballoc.c atomic_add(pa->pa_free, &EXT4_SB(sb)->s_mb_preallocated); EXT4_SB 3533 fs/ext4/mballoc.c atomic_add(pa->pa_free, &EXT4_SB(sb)->s_mb_preallocated); EXT4_SB 3578 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 3654 fs/ext4/mballoc.c atomic_add(pa->pa_len, &EXT4_SB(sb)->s_mb_discarded); EXT4_SB 3942 fs/ext4/mballoc.c for (i = 0; i < EXT4_SB(sb)->s_groups_count; i++) { EXT4_SB 3983 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); EXT4_SB 4021 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 4264 fs/ext4/mballoc.c for (i = 0; i < EXT4_SB(sb)->s_groups_count && needed > 0; i++) { EXT4_SB 4290 fs/ext4/mballoc.c sbi = EXT4_SB(sb); EXT4_SB 4390 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 4424 fs/ext4/mballoc.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 4505 fs/ext4/mballoc.c sbi = EXT4_SB(sb); EXT4_SB 4506 fs/ext4/mballoc.c es = EXT4_SB(sb)->s_es; EXT4_SB 4551 fs/ext4/mballoc.c EXT4_SB(sb)->s_itb_per_group) || EXT4_SB 4553 fs/ext4/mballoc.c EXT4_SB(sb)->s_itb_per_group)) { EXT4_SB 306 fs/ext4/mballoc.h + le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); EXT4_SB 375 fs/ext4/namei.c hinfo->seed = EXT4_SB(dir->i_sb)->s_hash_seed; EXT4_SB 643 fs/ext4/namei.c hinfo.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version; EXT4_SB 644 fs/ext4/namei.c hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; EXT4_SB 1413 fs/ext4/namei.c root->info.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version; EXT4_SB 1421 fs/ext4/namei.c hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; EXT4_SB 1962 fs/ext4/namei.c BUFFER_TRACE(EXT4_SB(sb)->s_sbh, "get_write_access"); EXT4_SB 1963 fs/ext4/namei.c err = ext4_journal_get_write_access(handle, EXT4_SB(sb)->s_sbh); EXT4_SB 1972 fs/ext4/namei.c NEXT_ORPHAN(inode) = le32_to_cpu(EXT4_SB(sb)->s_es->s_last_orphan); EXT4_SB 1973 fs/ext4/namei.c EXT4_SB(sb)->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); EXT4_SB 1974 fs/ext4/namei.c err = ext4_journal_dirty_metadata(handle, EXT4_SB(sb)->s_sbh); EXT4_SB 1988 fs/ext4/namei.c list_add(&EXT4_I(inode)->i_orphan, &EXT4_SB(sb)->s_orphan); EXT4_SB 2020 fs/ext4/namei.c sbi = EXT4_SB(inode->i_sb); EXT4_SB 26 fs/ext4/resize.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 178 fs/ext4/resize.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 359 fs/ext4/resize.c const ext4_group_t end = EXT4_SB(sb)->s_groups_count; EXT4_SB 404 fs/ext4/resize.c struct ext4_super_block *es = EXT4_SB(sb)->s_es; EXT4_SB 406 fs/ext4/resize.c ext4_fsblk_t gdblock = EXT4_SB(sb)->s_sbh->b_blocknr + 1 + gdb_num; EXT4_SB 424 fs/ext4/resize.c if (EXT4_SB(sb)->s_sbh->b_blocknr != EXT4_SB 425 fs/ext4/resize.c le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) { EXT4_SB 428 fs/ext4/resize.c (unsigned long long)EXT4_SB(sb)->s_sbh->b_blocknr); EXT4_SB 457 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, EXT4_SB(sb)->s_sbh))) EXT4_SB 496 fs/ext4/resize.c o_group_desc = EXT4_SB(sb)->s_group_desc; EXT4_SB 498 fs/ext4/resize.c EXT4_SB(sb)->s_gdb_count * sizeof(struct buffer_head *)); EXT4_SB 500 fs/ext4/resize.c EXT4_SB(sb)->s_group_desc = n_group_desc; EXT4_SB 501 fs/ext4/resize.c EXT4_SB(sb)->s_gdb_count++; EXT4_SB 505 fs/ext4/resize.c ext4_journal_dirty_metadata(handle, EXT4_SB(sb)->s_sbh); EXT4_SB 544 fs/ext4/resize.c int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); EXT4_SB 565 fs/ext4/resize.c blk = EXT4_SB(sb)->s_sbh->b_blocknr + 1 + EXT4_SB(sb)->s_gdb_count; EXT4_SB 566 fs/ext4/resize.c data = (__le32 *)dind->b_data + (EXT4_SB(sb)->s_gdb_count % EXT4_SB 657 fs/ext4/resize.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 741 fs/ext4/resize.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 986 fs/ext4/resize.c o_groups_count = EXT4_SB(sb)->s_groups_count; EXT4_SB 1066 fs/ext4/resize.c EXT4_SB(sb)->s_sbh))) { EXT4_SB 1074 fs/ext4/resize.c ext4_journal_dirty_metadata(handle, EXT4_SB(sb)->s_sbh); EXT4_SB 1097 fs/ext4/resize.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 1133 fs/ext4/resize.c update_backups(sb, EXT4_SB(sb)->s_sbh->b_blocknr, (char *)es, EXT4_SB 138 fs/ext4/super.c journal = EXT4_SB(sb)->s_journal; EXT4_SB 209 fs/ext4/super.c struct ext4_super_block *es = EXT4_SB(sb)->s_es; EXT4_SB 211 fs/ext4/super.c EXT4_SB(sb)->s_mount_state |= EXT4_ERROR_FS; EXT4_SB 218 fs/ext4/super.c journal_t *journal = EXT4_SB(sb)->s_journal; EXT4_SB 220 fs/ext4/super.c EXT4_SB(sb)->s_mount_opt |= EXT4_MOUNT_ABORT; EXT4_SB 261 fs/ext4/super.c if (!sb || EXT4_SB(sb)->s_journal->j_flags & JBD2_ABORT) EXT4_SB 333 fs/ext4/super.c EXT4_SB(sb)->s_mount_state |= EXT4_ERROR_FS; EXT4_SB 335 fs/ext4/super.c EXT4_SB(sb)->s_mount_opt |= EXT4_MOUNT_ABORT; EXT4_SB 336 fs/ext4/super.c jbd2_journal_abort(EXT4_SB(sb)->s_journal, -EIO); EXT4_SB 354 fs/ext4/super.c struct ext4_super_block *es = EXT4_SB(sb)->s_es; EXT4_SB 383 fs/ext4/super.c EXT4_SB(sb)->s_sbh); EXT4_SB 389 fs/ext4/super.c BUFFER_TRACE(EXT4_SB(sb)->s_sbh, EXT4_SB 392 fs/ext4/super.c EXT4_SB(sb)->s_sbh); EXT4_SB 403 fs/ext4/super.c EXT4_SB(sb)->s_sbh); EXT4_SB 409 fs/ext4/super.c BUFFER_TRACE(EXT4_SB(sb)->s_sbh, EXT4_SB 412 fs/ext4/super.c EXT4_SB(sb)->s_sbh); EXT4_SB 423 fs/ext4/super.c EXT4_SB(sb)->s_sbh); EXT4_SB 429 fs/ext4/super.c BUFFER_TRACE(EXT4_SB(sb)->s_sbh, EXT4_SB 432 fs/ext4/super.c EXT4_SB(sb)->s_sbh); EXT4_SB 503 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 648 fs/ext4/super.c jbd2_journal_release_jbd_inode(EXT4_SB(inode->i_sb)->s_journal, EXT4_SB 656 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 686 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 796 fs/ext4/super.c if (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) EXT4_SB 1011 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 1444 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 1499 fs/ext4/super.c sb->s_id, EXT4_SB(sb)->s_journal->j_inode ? "internal" : EXT4_SB 1500 fs/ext4/super.c "external", EXT4_SB(sb)->s_journal->j_devname); EXT4_SB 1506 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 1594 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 1696 fs/ext4/super.c if (EXT4_SB(sb)->s_mount_state & EXT4_ERROR_FS) { EXT4_SB 1715 fs/ext4/super.c if (EXT4_SB(sb)->s_qf_names[i]) { EXT4_SB 1734 fs/ext4/super.c list_add(&EXT4_I(inode)->i_orphan, &EXT4_SB(sb)->s_orphan); EXT4_SB 1878 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2319 fs/ext4/super.c EXT4_SB(sb)->s_journal->j_failed_commit) { EXT4_SB 2323 fs/ext4/super.c EXT4_SB(sb)->s_journal->j_failed_commit); EXT4_SB 2328 fs/ext4/super.c EXT4_SB(sb)->s_mount_state |= EXT4_ERROR_FS; EXT4_SB 2332 fs/ext4/super.c EXT4_SB(sb)->s_mount_state |= EXT4_ERROR_FS; EXT4_SB 2353 fs/ext4/super.c !jbd2_journal_set_features(EXT4_SB(sb)->s_journal, 0, 0, EXT4_SB 2467 fs/ext4/super.c EXT4_SB(sb)->s_mount_state |= EXT4_ORPHAN_FS; EXT4_SB 2469 fs/ext4/super.c EXT4_SB(sb)->s_mount_state &= ~EXT4_ORPHAN_FS; EXT4_SB 2539 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 2651 fs/ext4/super.c if (memcmp(EXT4_SB(sb)->s_es->s_journal_uuid, es->s_uuid, 16)) { EXT4_SB 2680 fs/ext4/super.c EXT4_SB(sb)->journal_bdev = bdev; EXT4_SB 2769 fs/ext4/super.c EXT4_SB(sb)->s_journal = journal; EXT4_SB 2811 fs/ext4/super.c EXT4_SB(sb)->s_journal = journal; EXT4_SB 2829 fs/ext4/super.c struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; EXT4_SB 2872 fs/ext4/super.c journal_t *journal = EXT4_SB(sb)->s_journal; EXT4_SB 2903 fs/ext4/super.c journal = EXT4_SB(sb)->s_journal; EXT4_SB 2920 fs/ext4/super.c EXT4_SB(sb)->s_mount_state |= EXT4_ERROR_FS; EXT4_SB 2940 fs/ext4/super.c journal = EXT4_SB(sb)->s_journal; EXT4_SB 2968 fs/ext4/super.c if (jbd2_journal_start_commit(EXT4_SB(sb)->s_journal, &target)) { EXT4_SB 2970 fs/ext4/super.c jbd2_log_wait_commit(EXT4_SB(sb)->s_journal, target); EXT4_SB 2984 fs/ext4/super.c journal_t *journal = EXT4_SB(sb)->s_journal; EXT4_SB 2998 fs/ext4/super.c ext4_commit_super(sb, EXT4_SB(sb)->s_es, 1); EXT4_SB 3012 fs/ext4/super.c ext4_commit_super(sb, EXT4_SB(sb)->s_es, 1); EXT4_SB 3014 fs/ext4/super.c jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); EXT4_SB 3021 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 3181 fs/ext4/super.c struct ext4_sb_info *sbi = EXT4_SB(sb); EXT4_SB 3356 fs/ext4/super.c if (EXT4_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || EXT4_SB 3357 fs/ext4/super.c EXT4_SB(dquot->dq_sb)->s_qf_names[GRPQUOTA]) { EXT4_SB 3387 fs/ext4/super.c return vfs_quota_on_mount(sb, EXT4_SB(sb)->s_qf_names[type], EXT4_SB 3388 fs/ext4/super.c EXT4_SB(sb)->s_jquota_fmt, type); EXT4_SB 3416 fs/ext4/super.c if (EXT4_SB(sb)->s_qf_names[type]) { EXT4_SB 3433 fs/ext4/super.c jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); EXT4_SB 3434 fs/ext4/super.c err = jbd2_journal_flush(EXT4_SB(sb)->s_journal); EXT4_SB 3435 fs/ext4/super.c jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); EXT4_SB 3497 fs/ext4/super.c int journal_quota = EXT4_SB(sb)->s_qf_names[type] != NULL; EXT4_SB 278 fs/ext4/xattr.c end = (void *)raw_inode + EXT4_SB(inode->i_sb)->s_inode_size; EXT4_SB 403 fs/ext4/xattr.c end = (void *)raw_inode + EXT4_SB(inode->i_sb)->s_inode_size; EXT4_SB 457 fs/ext4/xattr.c if (ext4_journal_get_write_access(handle, EXT4_SB(sb)->s_sbh) == 0) { EXT4_SB 460 fs/ext4/xattr.c ext4_journal_dirty_metadata(handle, EXT4_SB(sb)->s_sbh); EXT4_SB 891 fs/ext4/xattr.c is->s.end = (void *)raw_inode + EXT4_SB(inode->i_sb)->s_inode_size; EXT4_SB 979 fs/ext4/xattr.c memset(raw_inode, 0, EXT4_SB(inode->i_sb)->s_inode_size); EXT4_SB 1132 fs/ext4/xattr.c int s_min_extra_isize = le16_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_min_extra_isize); EXT4_SB 1150 fs/ext4/xattr.c end = (void *)raw_inode + EXT4_SB(inode->i_sb)->s_inode_size;