Lines Matching refs:ext4fs_root
33 struct ext2_data *ext4fs_root; variable
250 if (count > le32_to_cpu(ext4fs_root->sblock.inodes_per_group)) in _get_new_inode_no()
312 int blocksize = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_set_block_bmap()
348 int blocksize = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_reset_block_bmap()
377 inode_no -= (index * le32_to_cpu(ext4fs_root->sblock.inodes_per_group)); in ext4fs_set_inode_bmap()
402 inode_no -= (index * le32_to_cpu(ext4fs_root->sblock.inodes_per_group)); in ext4fs_reset_inode_bmap()
509 LOG2_BLOCK_SIZE(ext4fs_root); in ext4fs_update_parent_dentry()
642 LOG2_BLOCK_SIZE(ext4fs_root); in search_dir()
738 if (ext4fs_read_inode(ext4fs_root, inode_no, inode) == 0) in ext4fs_iget()
794 memcpy(parent_inode, ext4fs_root->inode, sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
943 LOG2_BLOCK_SIZE(ext4fs_root); in ext4fs_filename_unlink()
965 unsigned int blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in ext4fs_get_new_blk_no()
1093 unsigned int inodes_per_grp = le32_to_cpu(ext4fs_root->sblock.inodes_per_group); in ext4fs_get_new_inode_no()
1628 blksz = EXT2_BLOCK_SIZE(ext4fs_root); in read_allocated_block()
1629 log2_blksz = LOG2_BLOCK_SIZE(ext4fs_root) in read_allocated_block()
1641 ext4fs_get_extent_block(ext4fs_root, buf, in read_allocated_block()
1995 if ((ext4fs_file != NULL) && (ext4fs_root != NULL)) { in ext4fs_close()
1996 ext4fs_free_node(ext4fs_file, &ext4fs_root->diropen); in ext4fs_close()
1999 if (ext4fs_root != NULL) { in ext4fs_close()
2000 free(ext4fs_root); in ext4fs_close()
2001 ext4fs_root = NULL; in ext4fs_close()
2246 oldnode = &ext4fs_root->diropen; in ext4fs_find_file1()
2303 if (ext4fs_root == NULL) in ext4fs_open()
2307 status = ext4fs_find_file(filename, &ext4fs_root->diropen, &fdiro, in ext4fs_open()
2323 ext4fs_free_node(fdiro, &ext4fs_root->diropen); in ext4fs_open()
2376 ext4fs_root = data; in ext4fs_mount()
2383 ext4fs_root = NULL; in ext4fs_mount()