Lines Matching refs:dest
4434 int ocfs2_reflink_update_dest(struct inode *dest, in ocfs2_reflink_update_dest() argument
4441 dest->i_blocks = ocfs2_inode_sector_count(dest); in ocfs2_reflink_update_dest()
4443 if (newlen <= i_size_read(dest)) in ocfs2_reflink_update_dest()
4446 handle = ocfs2_start_trans(OCFS2_SB(dest->i_sb), in ocfs2_reflink_update_dest()
4455 spin_lock(&OCFS2_I(dest)->ip_lock); in ocfs2_reflink_update_dest()
4456 if (newlen > i_size_read(dest)) in ocfs2_reflink_update_dest()
4457 i_size_write(dest, newlen); in ocfs2_reflink_update_dest()
4458 spin_unlock(&OCFS2_I(dest)->ip_lock); in ocfs2_reflink_update_dest()
4459 inode_set_mtime_to_ts(dest, inode_set_ctime_current(dest)); in ocfs2_reflink_update_dest()
4461 ret = ocfs2_mark_inode_dirty(handle, dest, d_bh); in ocfs2_reflink_update_dest()
4468 ocfs2_commit_trans(OCFS2_SB(dest->i_sb), handle); in ocfs2_reflink_update_dest()