Lines Matching refs:ext2_data
22 static struct ext2_data __fs;
39 void error_behavior(struct ext2_data *fs, const char *msg) in error_behavior()
89 struct ext2_block *ext2_get_block(struct ext2_data *fs, uint32_t block) in ext2_get_block()
108 struct ext2_block *ext2_get_empty_block(struct ext2_data *fs) in ext2_get_empty_block()
121 int ext2_write_block(struct ext2_data *fs, struct ext2_block *b) in ext2_write_block()
148 void ext2_init_blocks_slab(struct ext2_data *fs) in ext2_init_blocks_slab()
162 int ext2_assign_block_num(struct ext2_data *fs, struct ext2_block *b) in ext2_assign_block_num()
184 int ext2_init_storage(struct ext2_data **fsp, const void *storage_dev, int flags) in ext2_init_storage()
191 struct ext2_data *fs = &__fs; in ext2_init_storage()
308 int ext2_init_fs(struct ext2_data *fs) in ext2_init_fs()
362 int ext2_close_fs(struct ext2_data *fs) in ext2_close_fs()
393 int ext2_close_struct(struct ext2_data *fs) in ext2_close_struct()
395 memset(fs, 0, sizeof(struct ext2_data)); in ext2_close_struct()
408 int ext2_lookup_inode(struct ext2_data *fs, struct ext2_lookup_args *args) in ext2_lookup_inode()
568 struct ext2_data *fs = inode->i_fs; in find_dir_entry()
765 static int write_one_block(struct ext2_data *fs, struct ext2_block *b) in write_one_block()
783 struct ext2_data *fs = inode->i_fs; in ext2_inode_sync()
809 struct ext2_data *fs = dir->f_inode->i_fs; in ext2_get_direntry()
874 static int ext2_create_inode(struct ext2_data *fs, struct ext2_inode *parent, in ext2_create_inode()
1026 struct ext2_data *fs = parent->i_fs; in ext2_create_file()
1060 struct ext2_data *fs = parent->i_fs; in ext2_create_dir()
1441 int ext2_inode_get(struct ext2_data *fs, uint32_t ino, struct ext2_inode **ret) in ext2_inode_get()
1491 struct ext2_data *fs = inode->i_fs; in ext2_inode_drop()