Home
last modified time | relevance | path

Searched refs:ext3_sb (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/fs/ext3/
Dballoc.c49 if (block_group >= sb->u.ext3_sb.s_groups_count) { in ext3_get_group_desc()
53 block_group, sb->u.ext3_sb.s_groups_count); in ext3_get_group_desc()
60 if (!sb->u.ext3_sb.s_group_desc[group_desc]) { in ext3_get_group_desc()
69 sb->u.ext3_sb.s_group_desc[group_desc]->b_data; in ext3_get_group_desc()
71 *bh = sb->u.ext3_sb.s_group_desc[group_desc]; in ext3_get_group_desc()
107 sb->u.ext3_sb.s_block_bitmap_number[bitmap_nr] = block_group; in read_block_bitmap()
108 sb->u.ext3_sb.s_block_bitmap[bitmap_nr] = bh; in read_block_bitmap()
132 if (block_group >= sb->u.ext3_sb.s_groups_count) in __load_block_bitmap()
136 block_group, sb->u.ext3_sb.s_groups_count); in __load_block_bitmap()
138 if (sb->u.ext3_sb.s_groups_count <= EXT3_MAX_GROUP_LOADED) { in __load_block_bitmap()
[all …]
Dialloc.c76 sb->u.ext3_sb.s_inode_bitmap_number[bitmap_nr] = block_group; in read_inode_bitmap()
77 sb->u.ext3_sb.s_inode_bitmap[bitmap_nr] = bh; in read_inode_bitmap()
228 es = sb->u.ext3_sb.s_es; in ext3_free_inode()
240 bh = sb->u.ext3_sb.s_inode_bitmap[bitmap_nr]; in ext3_free_inode()
258 BUFFER_TRACE(sb->u.ext3_sb.s_sbh, "get write access"); in ext3_free_inode()
259 fatal = ext3_journal_get_write_access(handle, sb->u.ext3_sb.s_sbh); in ext3_free_inode()
274 BUFFER_TRACE(sb->u.ext3_sb.s_sbh, in ext3_free_inode()
276 err = ext3_journal_dirty_metadata(handle, sb->u.ext3_sb.s_sbh); in ext3_free_inode()
324 es = sb->u.ext3_sb.s_es; in ext3_new_inode()
331 sb->u.ext3_sb.s_groups_count; in ext3_new_inode()
[all …]
Dioctl.c143 add_wait_queue(&sb->u.ext3_sb.ro_wait_queue, &wait); in ext3_ioctl()
144 if (timer_pending(&sb->u.ext3_sb.turn_ro_timer)) { in ext3_ioctl()
148 remove_wait_queue(&sb->u.ext3_sb.ro_wait_queue, &wait); in ext3_ioctl()
Dsuper.c126 switch (le16_to_cpu(sb->u.ext3_sb.s_es->s_errors)) { in ext3_error_behaviour()
274 sb->u.ext3_sb.s_mount_state |= EXT3_ERROR_FS; in ext3_abort()
276 sb->u.ext3_sb.s_mount_opt |= EXT3_MOUNT_ABORT; in ext3_abort()
845 if (sb->u.ext3_sb.s_mount_state & EXT3_ERROR_FS) { in ext3_orphan_cleanup()
1518 BUFFER_TRACE(sb->u.ext3_sb.s_sbh, "marking dirty"); in ext3_commit_super()
1519 mark_buffer_dirty(sb->u.ext3_sb.s_sbh); in ext3_commit_super()
1521 ll_rw_block(WRITE, 1, &sb->u.ext3_sb.s_sbh); in ext3_commit_super()
1522 wait_on_buffer(sb->u.ext3_sb.s_sbh); in ext3_commit_super()
1573 sb->u.ext3_sb.s_mount_state |= EXT3_ERROR_FS; in ext3_clear_journal_err()
Ddir.c55 le32_to_cpu(dir->i_sb->u.ext3_sb.s_es->s_inodes_count)) in ext3_check_dir_entry()
Dinode.c486 le32_to_cpu(inode->i_sb->u.ext3_sb.s_es->s_first_data_block); in ext3_find_near()
2041 inode->i_sb->u.ext3_sb.s_es->s_inodes_count)) { in ext3_get_inode_loc()
2047 if (block_group >= inode->i_sb->u.ext3_sb.s_groups_count) { in ext3_get_inode_loc()
2054 bh = inode->i_sb->u.ext3_sb.s_group_desc[group_desc]; in ext3_get_inode_loc()
2135 !(inode->i_sb->u.ext3_sb.s_mount_state & EXT3_ORPHAN_FS)) { in ext3_read_inode()
2286 sb->u.ext3_sb.s_sbh); in ext3_do_update_inode()
2295 sb->u.ext3_sb.s_sbh); in ext3_do_update_inode()
Dnamei.c674 BUFFER_TRACE(sb->u.ext3_sb.s_sbh, "get_write_access"); in ext3_orphan_add()
675 err = ext3_journal_get_write_access(handle, sb->u.ext3_sb.s_sbh); in ext3_orphan_add()
686 err = ext3_journal_dirty_metadata(handle, sb->u.ext3_sb.s_sbh); in ext3_orphan_add()
/linux-2.4.37.9/include/linux/
Dext3_fs.h100 #define EXT3_ADDR_PER_BLOCK_BITS(s) ((s)->u.ext3_sb.s_addr_per_block_bits)
101 #define EXT3_INODE_SIZE(s) ((s)->u.ext3_sb.s_inode_size)
102 #define EXT3_FIRST_INO(s) ((s)->u.ext3_sb.s_first_ino)
119 # define EXT3_FRAG_SIZE(s) ((s)->u.ext3_sb.s_frag_size)
120 # define EXT3_FRAGS_PER_BLOCK(s) ((s)->u.ext3_sb.s_frags_per_block)
167 # define EXT3_BLOCKS_PER_GROUP(s) ((s)->u.ext3_sb.s_blocks_per_group)
168 # define EXT3_DESC_PER_BLOCK(s) ((s)->u.ext3_sb.s_desc_per_block)
169 # define EXT3_INODES_PER_GROUP(s) ((s)->u.ext3_sb.s_inodes_per_group)
170 # define EXT3_DESC_PER_BLOCK_BITS(s) ((s)->u.ext3_sb.s_desc_per_block_bits)
347 #define test_opt(sb, opt) ((sb)->u.ext3_sb.s_mount_opt & \
[all …]
Dfs.h775 struct ext3_sb_info ext3_sb; member
/linux-2.4.37.9/fs/intermezzo/
Djournal_ext3.c72 loff_t freebl = le32_to_cpu(sb->u.ext3_sb.s_es->s_free_blocks_count); in presto_e3_freespace()
74 le32_to_cpu(sb->u.ext3_sb.s_es->s_r_blocks_count); in presto_e3_freespace()
97 avail_kmlblocks = inode->i_sb->u.ext3_sb.s_es->s_free_blocks_count; in presto_e3_trans_start()
Djournal_obdfs.c78 avail_kmlblocks = inode->i_sb->u.ext3_sb.s_es->s_free_blocks_count;