Lines Matching refs:src_inode
1251 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1255 struct f2fs_sb_info *sbi = F2FS_I_SB(src_inode); in __clone_blkaddrs()
1290 f2fs_i_blocks_write(src_inode, in __clone_blkaddrs()
1310 psrc = f2fs_get_lock_data_page(src_inode, in __clone_blkaddrs()
1325 ret = f2fs_truncate_hole(src_inode, in __clone_blkaddrs()
1335 static int __exchange_data_block(struct inode *src_inode, in __exchange_data_block() argument
1345 olen = min((pgoff_t)4 * ADDRS_PER_BLOCK(src_inode), len); in __exchange_data_block()
1347 src_blkaddr = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1353 do_replace = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1361 ret = __read_out_blkaddrs(src_inode, src_blkaddr, in __exchange_data_block()
1366 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()
1381 __roll_back_blkaddrs(src_inode, src_blkaddr, do_replace, src, olen); in __exchange_data_block()