Lines Matching refs:target_inode
1235 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range() local
1237 struct cifsInodeInfo *target_cifsi = CIFS_I(target_inode); in cifs_remap_file_range()
1268 lock_two_nondirectories(target_inode, src_inode); in cifs_remap_file_range()
1300 rc = cifs_flush_folio(target_inode, destoff, &fstart, &fend, true); in cifs_remap_file_range()
1303 rc = cifs_flush_folio(target_inode, destend, &fstart, &fend, false); in cifs_remap_file_range()
1312 truncate_inode_pages_range(&target_inode->i_data, fstart, fend); in cifs_remap_file_range()
1314 fscache_invalidate(cifs_inode_cookie(target_inode), NULL, in cifs_remap_file_range()
1315 i_size_read(target_inode), 0); in cifs_remap_file_range()
1322 truncate_setsize(target_inode, new_size); in cifs_remap_file_range()
1323 fscache_resize_cookie(cifs_inode_cookie(target_inode), in cifs_remap_file_range()
1332 CIFS_I(target_inode)->time = 0; in cifs_remap_file_range()
1336 unlock_two_nondirectories(src_inode, target_inode); in cifs_remap_file_range()
1348 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range() local
1350 struct cifsInodeInfo *target_cifsi = CIFS_I(target_inode); in cifs_file_copychunk_range()
1385 lock_two_nondirectories(target_inode, src_inode); in cifs_file_copychunk_range()
1408 rc = filemap_invalidate_inode(target_inode, true, destoff, destoff + len - 1); in cifs_file_copychunk_range()
1412 fscache_invalidate(cifs_inode_cookie(target_inode), NULL, in cifs_file_copychunk_range()
1413 i_size_read(target_inode), 0); in cifs_file_copychunk_range()
1419 if (rc > 0 && destoff + rc > i_size_read(target_inode)) { in cifs_file_copychunk_range()
1420 truncate_setsize(target_inode, destoff + rc); in cifs_file_copychunk_range()
1422 i_size_read(target_inode), true); in cifs_file_copychunk_range()
1423 fscache_resize_cookie(cifs_inode_cookie(target_inode), in cifs_file_copychunk_range()
1424 i_size_read(target_inode)); in cifs_file_copychunk_range()
1435 CIFS_I(target_inode)->time = 0; in cifs_file_copychunk_range()
1441 unlock_two_nondirectories(src_inode, target_inode); in cifs_file_copychunk_range()