Lines Matching refs:src_inode
1202 static int cifs_precopy_set_eof(struct inode *src_inode, struct cifsInodeInfo *src_cifsi, in cifs_precopy_set_eof() argument
1214 src_inode->i_size, true /* no need to set sparse */); in cifs_precopy_set_eof()
1225 fscache_resize_cookie(cifs_inode_cookie(src_inode), src_end); in cifs_precopy_set_eof()
1229 return filemap_write_and_wait(src_inode->i_mapping); in cifs_precopy_set_eof()
1269 struct inode *src_inode = file_inode(src_file); in cifs_remap_file_range() local
1271 struct cifsInodeInfo *src_cifsi = CIFS_I(src_inode); in cifs_remap_file_range()
1303 lock_two_nondirectories(target_inode, src_inode); in cifs_remap_file_range()
1306 len = src_inode->i_size - off; in cifs_remap_file_range()
1311 rc = filemap_write_and_wait_range(src_inode->i_mapping, off, in cifs_remap_file_range()
1321 rc = cifs_precopy_set_eof(src_inode, src_cifsi, src_tcon, xid, off + len); in cifs_remap_file_range()
1367 unlock_two_nondirectories(src_inode, target_inode); in cifs_remap_file_range()
1378 struct inode *src_inode = file_inode(src_file); in cifs_file_copychunk_range() local
1380 struct cifsInodeInfo *src_cifsi = CIFS_I(src_inode); in cifs_file_copychunk_range()
1416 lock_two_nondirectories(target_inode, src_inode); in cifs_file_copychunk_range()
1420 rc = filemap_write_and_wait_range(src_inode->i_mapping, off, in cifs_file_copychunk_range()
1430 rc = cifs_precopy_set_eof(src_inode, src_cifsi, src_tcon, xid, off + len); in cifs_file_copychunk_range()
1472 unlock_two_nondirectories(src_inode, target_inode); in cifs_file_copychunk_range()