Lines Matching refs:ext2_data
25 static int get_level_offsets(struct ext2_data *fs, uint32_t block, uint32_t offsets[4]);
26 static inline uint32_t get_ngroups(struct ext2_data *fs);
201 int ext2_fetch_superblock(struct ext2_data *fs) in ext2_fetch_superblock()
226 static inline uint32_t get_ngroups(struct ext2_data *fs) in get_ngroups()
238 int ext2_fetch_block_group(struct ext2_data *fs, uint32_t group) in ext2_fetch_block_group()
299 struct ext2_data *fs = bg->fs; in ext2_fetch_bg_itable()
318 struct ext2_data *fs = bg->fs; in ext2_fetch_bg_ibitmap()
334 struct ext2_data *fs = bg->fs; in ext2_fetch_bg_bbitmap()
349 static int32_t get_itable_entry(struct ext2_data *fs, uint32_t ino) in get_itable_entry()
377 int ext2_fetch_inode(struct ext2_data *fs, uint32_t ino, struct ext2_inode *inode) in ext2_fetch_inode()
456 struct ext2_data *fs = inode->i_fs; in ext2_fetch_inode_block()
497 static int64_t delete_blocks(struct ext2_data *fs, uint32_t block_num, int lvl, in delete_blocks()
610 static int get_level_offsets(struct ext2_data *fs, uint32_t block, uint32_t offsets[4]) in get_level_offsets()
668 struct ext2_data *fs = inode->i_fs; in ext2_inode_remove_blocks()
717 struct ext2_data *fs = inode->i_fs; in alloc_level_blocks()
759 int ext2_commit_superblock(struct ext2_data *fs) in ext2_commit_superblock()
789 int ext2_commit_bg(struct ext2_data *fs) in ext2_commit_bg()
819 struct ext2_data *fs = inode->i_fs; in ext2_commit_inode()
854 int ext2_clear_inode(struct ext2_data *fs, uint32_t ino) in ext2_clear_inode()
868 int64_t ext2_alloc_block(struct ext2_data *fs) in ext2_alloc_block()
941 static int check_zero_inode(struct ext2_data *fs, uint32_t ino) in check_zero_inode()
959 int32_t ext2_alloc_inode(struct ext2_data *fs) in ext2_alloc_inode()
1042 int ext2_free_block(struct ext2_data *fs, uint32_t block) in ext2_free_block()
1097 int ext2_free_inode(struct ext2_data *fs, uint32_t ino, bool directory) in ext2_free_inode()