Lines Matching refs:ext2_inode
45 struct ext2_inode *g_parent_inode;
628 static int search_dir(struct ext2_inode *parent_inode, char *dirname) in search_dir()
736 int ext4fs_iget(int inode_no, struct ext2_inode *inode) in ext4fs_iget()
761 struct ext2_inode *parent_inode = NULL; in ext4fs_get_parent_inode_num()
762 struct ext2_inode *first_inode = NULL; in ext4fs_get_parent_inode_num()
763 struct ext2_inode temp_inode; in ext4fs_get_parent_inode_num()
788 parent_inode = zalloc(sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
791 first_inode = zalloc(sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
794 memcpy(parent_inode, ext4fs_root->inode, sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
795 memcpy(first_inode, parent_inode, sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
814 sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
1207 static void alloc_single_indirect_block(struct ext2_inode *file_inode, in alloc_single_indirect_block()
1266 static void alloc_double_indirect_block(struct ext2_inode *file_inode, in alloc_double_indirect_block()
1373 static void alloc_triple_indirect_block(struct ext2_inode *file_inode, in alloc_triple_indirect_block()
1493 void ext4fs_allocate_blocks(struct ext2_inode *file_inode, in ext4fs_allocate_blocks()
1586 int ext4fs_read_inode(struct ext2_data *data, int ino, struct ext2_inode *inode) in ext4fs_read_inode()
1610 sizeof(struct ext2_inode), (char *)inode); in ext4fs_read_inode()
1617 long int read_allocated_block(struct ext2_inode *inode, int fileblock) in read_allocated_block()