Home
last modified time | relevance | path

Searched refs:EXT2_SB (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/include/linux/
Dext2_fs.h70 static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) in EXT2_SB() function
78 #define EXT2_SB(sb) (sb) macro
104 #define EXT2_ADDR_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_addr_per_block_bits)
105 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size)
106 #define EXT2_FIRST_INO(s) (EXT2_SB(s)->s_first_ino)
123 # define EXT2_FRAG_SIZE(s) (EXT2_SB(s)->s_frag_size)
124 # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_SB(s)->s_frags_per_block)
149 # define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group)
150 # define EXT2_DESC_PER_BLOCK(s) (EXT2_SB(s)->s_desc_per_block)
151 # define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
[all …]
/linux-2.6.39/fs/ext2/
Dballoc.c46 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_get_group_desc()
103 offset + EXT2_SB(sb)->s_itb_per_group, in ext2_valid_block_bitmap()
105 if (next_zero_bit >= offset + EXT2_SB(sb)->s_itb_per_group) in ext2_valid_block_bitmap()
165 struct ext2_sb_info *sbi = EXT2_SB(sb); in release_blocks()
176 struct ext2_sb_info *sbi = EXT2_SB(sb); in group_adjust_blocks()
343 struct rb_root *root = &EXT2_SB(sb)->s_rsv_window_root; in ext2_rsv_window_add()
385 rb_erase(&rsv->rsv_node, &EXT2_SB(sb)->s_rsv_window_root); in rsv_window_remove()
467 spinlock_t *rsv_lock = &EXT2_SB(inode->i_sb)->s_rsv_window_lock; in ext2_discard_reservation()
497 struct ext2_sb_info * sbi = EXT2_SB(sb); in ext2_free_blocks()
724 if (ext2_set_bit_atomic(sb_bgl_lock(EXT2_SB(sb), group), grp_goal, in ext2_try_to_allocate()
[all …]
Dialloc.c77 spin_lock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
81 spin_unlock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
83 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()
208 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir()
263 struct ext2_sb_info *sbi = EXT2_SB(sb); in find_group_orlov()
375 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_other()
453 sbi = EXT2_SB(sb); in ext2_new_inode()
626 es = EXT2_SB(sb)->s_es; in ext2_count_free_inodes()
[all …]
Dsuper.c51 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_error()
102 struct ext2_super_block *es = EXT2_SB(sb)->s_es; in ext2_update_dynamic_rev()
129 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_put_super()
217 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_show_options()
327 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode()
437 struct ext2_sb_info *sbi = EXT2_SB(sb); in parse_options()
586 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_setup_super()
634 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_check_descriptors()
732 struct ext2_sb_info *sbi = EXT2_SB(sb); in descriptor_loc()
854 ((EXT2_SB(sb)->s_mount_opt & EXT2_MOUNT_POSIX_ACL) ? in ext2_fill_super()
[all …]
Dxip.h14 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_use_xip()
Dxip.c67 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_xip_verify_sb()
Dext2.h175 le32_to_cpu(EXT2_SB(sb)->s_es->s_first_data_block); in ext2_group_first_block_no()
Dinode.c1223 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_get_inode()
1432 memset(raw_inode, 0, EXT2_SB(sb)->s_inode_size); in __ext2_write_inode()
1476 EXT2_SB(sb)->s_es->s_rev_level == in __ext2_write_inode()
1481 spin_lock(&EXT2_SB(sb)->s_lock); in __ext2_write_inode()
1485 spin_unlock(&EXT2_SB(sb)->s_lock); in __ext2_write_inode()
Dxattr.c340 spin_lock(&EXT2_SB(sb)->s_lock); in ext2_xattr_update_super_block()
342 spin_unlock(&EXT2_SB(sb)->s_lock); in ext2_xattr_update_super_block()
344 mark_buffer_dirty(EXT2_SB(sb)->s_sbh); in ext2_xattr_update_super_block()
Ddir.c124 u32 max_inumber = le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count); in ext2_check_page()