Lines Matching refs:dst_inode
2225 static int is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, in is_file_size_ok() argument
2242 size = i_size_read(dst_inode); in is_file_size_ok()
2245 if (inode_newsize_ok(dst_inode, endoff)) in is_file_size_ok()
2248 if (ceph_quota_is_max_bytes_exceeded(dst_inode, endoff)) in is_file_size_ok()
2380 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() local
2382 struct ceph_inode_info *dst_ci = ceph_inode(dst_inode); in __ceph_copy_file_range()
2391 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range()
2392 struct ceph_fs_client *dst_fsc = ceph_inode_to_client(dst_inode); in __ceph_copy_file_range()
2401 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
2463 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range()
2468 ceph_fscache_invalidate(dst_inode, false); in __ceph_copy_file_range()
2469 ret = invalidate_inode_pages2_range(dst_inode->i_mapping, in __ceph_copy_file_range()
2513 err = is_file_size_ok(src_inode, dst_inode, in __ceph_copy_file_range()
2519 size = i_size_read(dst_inode); in __ceph_copy_file_range()
2532 inode_inc_iversion_raw(dst_inode); in __ceph_copy_file_range()
2536 if (ceph_inode_set_size(dst_inode, dst_off) || in __ceph_copy_file_range()
2537 ceph_quota_is_max_bytes_approaching(dst_inode, dst_off)) in __ceph_copy_file_range()
2545 __mark_inode_dirty(dst_inode, dirty); in __ceph_copy_file_range()