Lines Matching refs:tmp_inode
288 struct inode *tmp_inode) in ext4_ext_swap_inode_data() argument
293 struct ext4_inode_info *tmp_ei = EXT4_I(tmp_inode); in ext4_ext_swap_inode_data()
336 inode->i_blocks += tmp_inode->i_blocks; in ext4_ext_swap_inode_data()
416 struct inode *tmp_inode = NULL; in ext4_ext_migrate() local
456 tmp_inode = ext4_new_inode(handle, d_inode(inode->i_sb->s_root), in ext4_ext_migrate()
458 if (IS_ERR(tmp_inode)) { in ext4_ext_migrate()
459 retval = PTR_ERR(tmp_inode); in ext4_ext_migrate()
469 tmp_csum_seed = EXT4_I(tmp_inode)->i_csum_seed; in ext4_ext_migrate()
470 EXT4_I(tmp_inode)->i_csum_seed = ei->i_csum_seed; in ext4_ext_migrate()
471 i_size_write(tmp_inode, i_size_read(inode)); in ext4_ext_migrate()
476 clear_nlink(tmp_inode); in ext4_ext_migrate()
478 ext4_ext_tree_init(handle, tmp_inode); in ext4_ext_migrate()
514 retval = update_extent_range(handle, tmp_inode, in ext4_ext_migrate()
522 retval = update_ind_extent_range(handle, tmp_inode, in ext4_ext_migrate()
529 retval = update_dind_extent_range(handle, tmp_inode, in ext4_ext_migrate()
536 retval = update_tind_extent_range(handle, tmp_inode, in ext4_ext_migrate()
544 retval = finish_range(handle, tmp_inode, &lb); in ext4_ext_migrate()
551 free_ext_block(handle, tmp_inode); in ext4_ext_migrate()
553 retval = ext4_ext_swap_inode_data(handle, inode, tmp_inode); in ext4_ext_migrate()
559 free_ext_block(handle, tmp_inode); in ext4_ext_migrate()
569 i_size_write(tmp_inode, 0); in ext4_ext_migrate()
579 tmp_inode->i_blocks = 0; in ext4_ext_migrate()
580 EXT4_I(tmp_inode)->i_csum_seed = tmp_csum_seed; in ext4_ext_migrate()
583 ext4_ext_tree_init(handle, tmp_inode); in ext4_ext_migrate()
587 unlock_new_inode(tmp_inode); in ext4_ext_migrate()
588 iput(tmp_inode); in ext4_ext_migrate()