EXT3_SB 55 fs/ext3/balloc.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 113 fs/ext3/balloc.c offset + EXT3_SB(sb)->s_itb_per_group, EXT3_SB 115 fs/ext3/balloc.c if (next_zero_bit >= offset + EXT3_SB(sb)->s_itb_per_group) EXT3_SB 329 fs/ext3/balloc.c struct rb_root *root = &EXT3_SB(sb)->s_rsv_window_root; EXT3_SB 371 fs/ext3/balloc.c rb_erase(&rsv->rsv_node, &EXT3_SB(sb)->s_rsv_window_root); EXT3_SB 454 fs/ext3/balloc.c spinlock_t *rsv_lock = &EXT3_SB(inode->i_sb)->s_rsv_window_lock; EXT3_SB 493 fs/ext3/balloc.c sbi = EXT3_SB(sb); EXT3_SB 916 fs/ext3/balloc.c if (!claim_block(sb_bgl_lock(EXT3_SB(sb), group), EXT3_SB 932 fs/ext3/balloc.c && claim_block(sb_bgl_lock(EXT3_SB(sb), group), EXT3_SB 1106 fs/ext3/balloc.c struct rb_root *fs_rsv_root = &EXT3_SB(sb)->s_rsv_window_root; EXT3_SB 1109 fs/ext3/balloc.c spinlock_t *rsv_lock = &EXT3_SB(sb)->s_rsv_window_lock; EXT3_SB 1248 fs/ext3/balloc.c spinlock_t *rsv_lock = &EXT3_SB(sb)->s_rsv_window_lock; EXT3_SB 1383 fs/ext3/balloc.c rsv_window_dump(&EXT3_SB(sb)->s_rsv_window_root, 1); EXT3_SB 1446 fs/ext3/balloc.c if (!ext3_has_free_blocks(EXT3_SB(sb)) || (*retries)++ > 3) EXT3_SB 1451 fs/ext3/balloc.c return journal_force_commit_nested(EXT3_SB(sb)->s_journal); EXT3_SB 1510 fs/ext3/balloc.c sbi = EXT3_SB(sb); EXT3_SB 1511 fs/ext3/balloc.c es = EXT3_SB(sb)->s_es; EXT3_SB 1568 fs/ext3/balloc.c ngroups = EXT3_SB(sb)->s_groups_count; EXT3_SB 1638 fs/ext3/balloc.c EXT3_SB(sb)->s_itb_per_group) || EXT3_SB 1640 fs/ext3/balloc.c EXT3_SB(sb)->s_itb_per_group)) { EXT3_SB 1755 fs/ext3/balloc.c unsigned long ngroups = EXT3_SB(sb)->s_groups_count; EXT3_SB 1762 fs/ext3/balloc.c es = EXT3_SB(sb)->s_es; EXT3_SB 1852 fs/ext3/balloc.c return ext3_bg_has_super(sb, group) ? EXT3_SB(sb)->s_gdb_count : 0; EXT3_SB 1867 fs/ext3/balloc.c le32_to_cpu(EXT3_SB(sb)->s_es->s_first_meta_bg); EXT3_SB 81 fs/ext3/dir.c le32_to_cpu(EXT3_SB(dir->i_sb)->s_es->s_inodes_count)) EXT3_SB 117 fs/ext3/ialloc.c sbi = EXT3_SB(sb); EXT3_SB 136 fs/ext3/ialloc.c es = EXT3_SB(sb)->s_es; EXT3_SB 202 fs/ext3/ialloc.c int ngroups = EXT3_SB(sb)->s_groups_count; EXT3_SB 207 fs/ext3/ialloc.c freei = percpu_counter_read_positive(&EXT3_SB(sb)->s_freeinodes_counter); EXT3_SB 257 fs/ext3/ialloc.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 355 fs/ext3/ialloc.c int ngroups = EXT3_SB(sb)->s_groups_count; EXT3_SB 445 fs/ext3/ialloc.c sbi = EXT3_SB(sb); EXT3_SB 638 fs/ext3/ialloc.c unsigned long max_ino = le32_to_cpu(EXT3_SB(sb)->s_es->s_inodes_count); EXT3_SB 722 fs/ext3/ialloc.c es = EXT3_SB(sb)->s_es; EXT3_SB 726 fs/ext3/ialloc.c for (i = 0; i < EXT3_SB(sb)->s_groups_count; i++) { EXT3_SB 747 fs/ext3/ialloc.c for (i = 0; i < EXT3_SB(sb)->s_groups_count; i++) { EXT3_SB 764 fs/ext3/ialloc.c for (i = 0; i < EXT3_SB(sb)->s_groups_count; i++) { EXT3_SB 2741 fs/ext3/inode.c !(EXT3_SB(inode->i_sb)->s_mount_state & EXT3_ORPHAN_FS)) { EXT3_SB 2857 fs/ext3/inode.c memset(raw_inode, 0, EXT3_SB(inode->i_sb)->s_inode_size); EXT3_SB 2908 fs/ext3/inode.c EXT3_SB(sb)->s_es->s_rev_level == EXT3_SB 2914 fs/ext3/inode.c EXT3_SB(sb)->s_sbh); EXT3_SB 2923 fs/ext3/inode.c EXT3_SB(sb)->s_sbh); EXT3_SB 182 fs/ext3/ioctl.c add_wait_queue(&EXT3_SB(sb)->ro_wait_queue, &wait); EXT3_SB 183 fs/ext3/ioctl.c if (timer_pending(&EXT3_SB(sb)->turn_ro_timer)) { EXT3_SB 187 fs/ext3/ioctl.c remove_wait_queue(&EXT3_SB(sb)->ro_wait_queue, &wait); EXT3_SB 255 fs/ext3/ioctl.c err = ext3_group_extend(sb, EXT3_SB(sb)->s_es, n_blocks_count); EXT3_SB 256 fs/ext3/ioctl.c journal_lock_updates(EXT3_SB(sb)->s_journal); EXT3_SB 257 fs/ext3/ioctl.c journal_flush(EXT3_SB(sb)->s_journal); EXT3_SB 258 fs/ext3/ioctl.c journal_unlock_updates(EXT3_SB(sb)->s_journal); EXT3_SB 282 fs/ext3/ioctl.c journal_lock_updates(EXT3_SB(sb)->s_journal); EXT3_SB 283 fs/ext3/ioctl.c journal_flush(EXT3_SB(sb)->s_journal); EXT3_SB 284 fs/ext3/ioctl.c journal_unlock_updates(EXT3_SB(sb)->s_journal); EXT3_SB 372 fs/ext3/namei.c hinfo->seed = EXT3_SB(dir->i_sb)->s_hash_seed; EXT3_SB 639 fs/ext3/namei.c hinfo.hash_version = EXT3_SB(dir->i_sb)->s_def_hash_version; EXT3_SB 640 fs/ext3/namei.c hinfo.seed = EXT3_SB(dir->i_sb)->s_hash_seed; EXT3_SB 1410 fs/ext3/namei.c root->info.hash_version = EXT3_SB(dir->i_sb)->s_def_hash_version; EXT3_SB 1418 fs/ext3/namei.c hinfo.seed = EXT3_SB(dir->i_sb)->s_hash_seed; EXT3_SB 1931 fs/ext3/namei.c BUFFER_TRACE(EXT3_SB(sb)->s_sbh, "get_write_access"); EXT3_SB 1932 fs/ext3/namei.c err = ext3_journal_get_write_access(handle, EXT3_SB(sb)->s_sbh); EXT3_SB 1941 fs/ext3/namei.c NEXT_ORPHAN(inode) = le32_to_cpu(EXT3_SB(sb)->s_es->s_last_orphan); EXT3_SB 1942 fs/ext3/namei.c EXT3_SB(sb)->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); EXT3_SB 1943 fs/ext3/namei.c err = ext3_journal_dirty_metadata(handle, EXT3_SB(sb)->s_sbh); EXT3_SB 1957 fs/ext3/namei.c list_add(&EXT3_I(inode)->i_orphan, &EXT3_SB(sb)->s_orphan); EXT3_SB 1989 fs/ext3/namei.c sbi = EXT3_SB(inode->i_sb); EXT3_SB 26 fs/ext3/resize.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 194 fs/ext3/resize.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 379 fs/ext3/resize.c const unsigned long end = EXT3_SB(sb)->s_groups_count; EXT3_SB 421 fs/ext3/resize.c struct ext3_super_block *es = EXT3_SB(sb)->s_es; EXT3_SB 423 fs/ext3/resize.c ext3_fsblk_t gdblock = EXT3_SB(sb)->s_sbh->b_blocknr + 1 + gdb_num; EXT3_SB 441 fs/ext3/resize.c if (EXT3_SB(sb)->s_sbh->b_blocknr != EXT3_SB 442 fs/ext3/resize.c le32_to_cpu(EXT3_SB(sb)->s_es->s_first_data_block)) { EXT3_SB 445 fs/ext3/resize.c (unsigned long long)EXT3_SB(sb)->s_sbh->b_blocknr); EXT3_SB 474 fs/ext3/resize.c if ((err = ext3_journal_get_write_access(handle, EXT3_SB(sb)->s_sbh))) EXT3_SB 513 fs/ext3/resize.c o_group_desc = EXT3_SB(sb)->s_group_desc; EXT3_SB 515 fs/ext3/resize.c EXT3_SB(sb)->s_gdb_count * sizeof(struct buffer_head *)); EXT3_SB 517 fs/ext3/resize.c EXT3_SB(sb)->s_group_desc = n_group_desc; EXT3_SB 518 fs/ext3/resize.c EXT3_SB(sb)->s_gdb_count++; EXT3_SB 522 fs/ext3/resize.c ext3_journal_dirty_metadata(handle, EXT3_SB(sb)->s_sbh); EXT3_SB 561 fs/ext3/resize.c int reserved_gdb =le16_to_cpu(EXT3_SB(sb)->s_es->s_reserved_gdt_blocks); EXT3_SB 582 fs/ext3/resize.c blk = EXT3_SB(sb)->s_sbh->b_blocknr + 1 + EXT3_SB(sb)->s_gdb_count; EXT3_SB 583 fs/ext3/resize.c data = (__le32 *)dind->b_data + (EXT3_SB(sb)->s_gdb_count % EXT3_SB 674 fs/ext3/resize.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 758 fs/ext3/resize.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 978 fs/ext3/resize.c o_groups_count = EXT3_SB(sb)->s_groups_count; EXT3_SB 1059 fs/ext3/resize.c EXT3_SB(sb)->s_sbh))) { EXT3_SB 1067 fs/ext3/resize.c ext3_journal_dirty_metadata(handle, EXT3_SB(sb)->s_sbh); EXT3_SB 1080 fs/ext3/resize.c update_backups(sb, EXT3_SB(sb)->s_sbh->b_blocknr, (char *)es, EXT3_SB 85 fs/ext3/super.c journal = EXT3_SB(sb)->s_journal; EXT3_SB 156 fs/ext3/super.c struct ext3_super_block *es = EXT3_SB(sb)->s_es; EXT3_SB 158 fs/ext3/super.c EXT3_SB(sb)->s_mount_state |= EXT3_ERROR_FS; EXT3_SB 165 fs/ext3/super.c journal_t *journal = EXT3_SB(sb)->s_journal; EXT3_SB 167 fs/ext3/super.c EXT3_SB(sb)->s_mount_opt |= EXT3_MOUNT_ABORT; EXT3_SB 208 fs/ext3/super.c if (!sb || EXT3_SB(sb)->s_journal->j_flags & JFS_ABORT) EXT3_SB 281 fs/ext3/super.c EXT3_SB(sb)->s_mount_state |= EXT3_ERROR_FS; EXT3_SB 283 fs/ext3/super.c EXT3_SB(sb)->s_mount_opt |= EXT3_MOUNT_ABORT; EXT3_SB 284 fs/ext3/super.c journal_abort(EXT3_SB(sb)->s_journal, -EIO); EXT3_SB 302 fs/ext3/super.c struct ext3_super_block *es = EXT3_SB(sb)->s_es; EXT3_SB 391 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 528 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 556 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 641 fs/ext3/super.c if (ino > le32_to_cpu(EXT3_SB(sb)->s_es->s_inodes_count)) EXT3_SB 839 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 1206 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 1260 fs/ext3/super.c if (EXT3_SB(sb)->s_journal->j_inode == NULL) { EXT3_SB 1264 fs/ext3/super.c bdevname(EXT3_SB(sb)->s_journal->j_dev, b)); EXT3_SB 1274 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 1365 fs/ext3/super.c if (EXT3_SB(sb)->s_mount_state & EXT3_ERROR_FS) { EXT3_SB 1384 fs/ext3/super.c if (EXT3_SB(sb)->s_qf_names[i]) { EXT3_SB 1403 fs/ext3/super.c list_add(&EXT3_I(inode)->i_orphan, &EXT3_SB(sb)->s_orphan); EXT3_SB 1493 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 1925 fs/ext3/super.c EXT3_SB(sb)->s_mount_state |= EXT3_ORPHAN_FS; EXT3_SB 1927 fs/ext3/super.c EXT3_SB(sb)->s_mount_state &= ~EXT3_ORPHAN_FS; EXT3_SB 1976 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 2084 fs/ext3/super.c if (memcmp(EXT3_SB(sb)->s_es->s_journal_uuid, es->s_uuid, 16)) { EXT3_SB 2113 fs/ext3/super.c EXT3_SB(sb)->journal_bdev = bdev; EXT3_SB 2197 fs/ext3/super.c EXT3_SB(sb)->s_journal = journal; EXT3_SB 2239 fs/ext3/super.c EXT3_SB(sb)->s_journal = journal; EXT3_SB 2258 fs/ext3/super.c struct buffer_head *sbh = EXT3_SB(sb)->s_sbh; EXT3_SB 2280 fs/ext3/super.c journal_t *journal = EXT3_SB(sb)->s_journal; EXT3_SB 2307 fs/ext3/super.c journal = EXT3_SB(sb)->s_journal; EXT3_SB 2324 fs/ext3/super.c EXT3_SB(sb)->s_mount_state |= EXT3_ERROR_FS; EXT3_SB 2344 fs/ext3/super.c journal = EXT3_SB(sb)->s_journal; EXT3_SB 2371 fs/ext3/super.c if (journal_start_commit(EXT3_SB(sb)->s_journal, &target)) { EXT3_SB 2373 fs/ext3/super.c log_wait_commit(EXT3_SB(sb)->s_journal, target); EXT3_SB 2387 fs/ext3/super.c journal_t *journal = EXT3_SB(sb)->s_journal; EXT3_SB 2395 fs/ext3/super.c ext3_commit_super(sb, EXT3_SB(sb)->s_es, 1); EXT3_SB 2409 fs/ext3/super.c ext3_commit_super(sb, EXT3_SB(sb)->s_es, 1); EXT3_SB 2411 fs/ext3/super.c journal_unlock_updates(EXT3_SB(sb)->s_journal); EXT3_SB 2418 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 2557 fs/ext3/super.c struct ext3_sb_info *sbi = EXT3_SB(sb); EXT3_SB 2731 fs/ext3/super.c if (EXT3_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || EXT3_SB 2732 fs/ext3/super.c EXT3_SB(dquot->dq_sb)->s_qf_names[GRPQUOTA]) { EXT3_SB 2762 fs/ext3/super.c return vfs_quota_on_mount(sb, EXT3_SB(sb)->s_qf_names[type], EXT3_SB 2763 fs/ext3/super.c EXT3_SB(sb)->s_jquota_fmt, type); EXT3_SB 2791 fs/ext3/super.c if (EXT3_SB(sb)->s_qf_names[type]) { EXT3_SB 2808 fs/ext3/super.c journal_lock_updates(EXT3_SB(sb)->s_journal); EXT3_SB 2809 fs/ext3/super.c journal_flush(EXT3_SB(sb)->s_journal); EXT3_SB 2810 fs/ext3/super.c journal_unlock_updates(EXT3_SB(sb)->s_journal); EXT3_SB 2868 fs/ext3/super.c int journal_quota = EXT3_SB(sb)->s_qf_names[type] != NULL; EXT3_SB 285 fs/ext3/xattr.c end = (void *)raw_inode + EXT3_SB(inode->i_sb)->s_inode_size; EXT3_SB 410 fs/ext3/xattr.c end = (void *)raw_inode + EXT3_SB(inode->i_sb)->s_inode_size; EXT3_SB 464 fs/ext3/xattr.c if (ext3_journal_get_write_access(handle, EXT3_SB(sb)->s_sbh) == 0) { EXT3_SB 467 fs/ext3/xattr.c ext3_journal_dirty_metadata(handle, EXT3_SB(sb)->s_sbh); EXT3_SB 882 fs/ext3/xattr.c is->s.end = (void *)raw_inode + EXT3_SB(inode->i_sb)->s_inode_size; EXT3_SB 966 fs/ext3/xattr.c memset(raw_inode, 0, EXT3_SB(inode->i_sb)->s_inode_size); EXT3_SB 89 include/linux/ext3_fs.h #define EXT3_ADDR_PER_BLOCK_BITS(s) (EXT3_SB(s)->s_addr_per_block_bits) EXT3_SB 90 include/linux/ext3_fs.h #define EXT3_INODE_SIZE(s) (EXT3_SB(s)->s_inode_size) EXT3_SB 91 include/linux/ext3_fs.h #define EXT3_FIRST_INO(s) (EXT3_SB(s)->s_first_ino) EXT3_SB 108 include/linux/ext3_fs.h # define EXT3_FRAG_SIZE(s) (EXT3_SB(s)->s_frag_size) EXT3_SB 109 include/linux/ext3_fs.h # define EXT3_FRAGS_PER_BLOCK(s) (EXT3_SB(s)->s_frags_per_block) EXT3_SB 134 include/linux/ext3_fs.h # define EXT3_BLOCKS_PER_GROUP(s) (EXT3_SB(s)->s_blocks_per_group) EXT3_SB 135 include/linux/ext3_fs.h # define EXT3_DESC_PER_BLOCK(s) (EXT3_SB(s)->s_desc_per_block) EXT3_SB 136 include/linux/ext3_fs.h # define EXT3_INODES_PER_GROUP(s) (EXT3_SB(s)->s_inodes_per_group) EXT3_SB 137 include/linux/ext3_fs.h # define EXT3_DESC_PER_BLOCK_BITS(s) (EXT3_SB(s)->s_desc_per_block_bits) EXT3_SB 388 include/linux/ext3_fs.h #define test_opt(sb, opt) (EXT3_SB(sb)->s_mount_opt & \ EXT3_SB 511 include/linux/ext3_fs.h ino <= le32_to_cpu(EXT3_SB(sb)->s_es->s_inodes_count)); EXT3_SB 547 include/linux/ext3_fs.h ( EXT3_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) ) EXT3_SB 549 include/linux/ext3_fs.h ( EXT3_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) ) EXT3_SB 551 include/linux/ext3_fs.h ( EXT3_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) ) EXT3_SB 553 include/linux/ext3_fs.h EXT3_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) EXT3_SB 555 include/linux/ext3_fs.h EXT3_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask) EXT3_SB 557 include/linux/ext3_fs.h EXT3_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask) EXT3_SB 559 include/linux/ext3_fs.h EXT3_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask) EXT3_SB 561 include/linux/ext3_fs.h EXT3_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask) EXT3_SB 563 include/linux/ext3_fs.h EXT3_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask) EXT3_SB 750 include/linux/ext3_fs.h le32_to_cpu(EXT3_SB(sb)->s_es->s_first_data_block); EXT3_SB 22 include/linux/ext3_jbd.h #define EXT3_JOURNAL(inode) (EXT3_SB((inode)->i_sb)->s_journal)