Lines Matching refs:src_inode
1249 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1253 struct f2fs_sb_info *sbi = F2FS_I_SB(src_inode); in __clone_blkaddrs()
1288 f2fs_i_blocks_write(src_inode, in __clone_blkaddrs()
1308 psrc = f2fs_get_lock_data_page(src_inode, in __clone_blkaddrs()
1324 ret = f2fs_truncate_hole(src_inode, in __clone_blkaddrs()
1334 static int __exchange_data_block(struct inode *src_inode, in __exchange_data_block() argument
1344 olen = min((pgoff_t)4 * ADDRS_PER_BLOCK(src_inode), len); in __exchange_data_block()
1346 src_blkaddr = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1352 do_replace = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1360 ret = __read_out_blkaddrs(src_inode, src_blkaddr, in __exchange_data_block()
1365 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()
1380 __roll_back_blkaddrs(src_inode, src_blkaddr, do_replace, src, olen); in __exchange_data_block()