Home
last modified time | relevance | path

Searched refs:dst_inode (Results 1 – 9 of 9) sorted by relevance

/fs/nfs/
Dnfs4file.c247 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() local
248 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
261 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range()
273 if (src_inode == dst_inode) in nfs42_remap_file_range()
279 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
280 inode_lock_nested(dst_inode, I_MUTEX_PARENT); in nfs42_remap_file_range()
284 inode_lock_nested(dst_inode, I_MUTEX_CHILD); in nfs42_remap_file_range()
292 ret = nfs_sync_inode(dst_inode); in nfs42_remap_file_range()
301 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range()
306 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
[all …]
Dnfs42proc.c324 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy() local
326 struct nfs_server *dst_server = NFS_SERVER(dst_inode); in _nfs42_proc_copy()
358 status = nfs_sync_inode(dst_inode); in _nfs42_proc_copy()
376 trace_nfs4_copy(src_inode, dst_inode, args, res, nss, status); in _nfs42_proc_copy()
403 nfs42_copy_dest_done(dst_inode, pos_dst, res->write_res.count); in _nfs42_proc_copy()
1053 struct inode *dst_inode = file_inode(dst_f); in _nfs42_proc_clone() local
1054 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_clone()
1058 .dst_fh = NFS_FH(dst_inode), in _nfs42_proc_clone()
1092 dst_inode, NFS_INO_INVALID_BLOCKS); in _nfs42_proc_clone()
1096 trace_nfs4_clone(src_inode, dst_inode, &args, status); in _nfs42_proc_clone()
[all …]
Dnfs4trace.h2235 const struct inode *dst_inode,
2242 TP_ARGS(src_inode, dst_inode, args, res, nss, error),
2270 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2277 __entry->dst_dev = dst_inode->i_sb->s_dev;
2342 const struct inode *dst_inode,
2347 TP_ARGS(src_inode, dst_inode, args, error),
2368 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2375 __entry->dst_dev = dst_inode->i_sb->s_dev;
Dnfs4proc.c5681 struct inode *dst_inode = file_inode(dst); in _nfs4_proc_commit() local
5682 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5689 args->fh = NFS_FH(dst_inode); in _nfs4_proc_commit()
/fs/fuse/
Dpassthrough.c20 struct inode *dst_inode; in fuse_file_accessed() local
26 dst_inode = file_inode(dst_file); in fuse_file_accessed()
29 if ((!timespec64_equal(&dst_inode->i_mtime, &src_inode->i_mtime) || in fuse_file_accessed()
30 !timespec64_equal(&dst_inode->i_ctime, &src_inode->i_ctime))) { in fuse_file_accessed()
31 dst_inode->i_mtime = src_inode->i_mtime; in fuse_file_accessed()
32 dst_inode->i_ctime = src_inode->i_ctime; in fuse_file_accessed()
Dbacking.c31 struct inode *dst_inode; in fuse_file_accessed() local
37 dst_inode = file_inode(dst_file); in fuse_file_accessed()
40 if ((!timespec64_equal(&dst_inode->i_mtime, &src_inode->i_mtime) || in fuse_file_accessed()
41 !timespec64_equal(&dst_inode->i_ctime, &src_inode->i_ctime))) { in fuse_file_accessed()
42 dst_inode->i_mtime = src_inode->i_mtime; in fuse_file_accessed()
43 dst_inode->i_ctime = src_inode->i_ctime; in fuse_file_accessed()
/fs/btrfs/
Dreflink.c882 struct inode *dst_inode = file_inode(dst_file); in btrfs_remap_file_range() local
883 bool same_inode = dst_inode == src_inode; in btrfs_remap_file_range()
892 lock_two_nondirectories(src_inode, dst_inode); in btrfs_remap_file_range()
893 btrfs_double_mmap_lock(src_inode, dst_inode); in btrfs_remap_file_range()
902 ret = btrfs_extent_same(src_inode, off, len, dst_inode, destoff); in btrfs_remap_file_range()
910 btrfs_double_mmap_unlock(src_inode, dst_inode); in btrfs_remap_file_range()
911 unlock_two_nondirectories(src_inode, dst_inode); in btrfs_remap_file_range()
/fs/ceph/
Dfile.c2222 static int is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, in is_file_size_ok() argument
2239 size = i_size_read(dst_inode); in is_file_size_ok()
2242 if (inode_newsize_ok(dst_inode, endoff)) in is_file_size_ok()
2245 if (ceph_quota_is_max_bytes_exceeded(dst_inode, endoff)) in is_file_size_ok()
2377 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() local
2379 struct ceph_inode_info *dst_ci = ceph_inode(dst_inode); in __ceph_copy_file_range()
2388 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range()
2389 struct ceph_fs_client *dst_fsc = ceph_inode_to_client(dst_inode); in __ceph_copy_file_range()
2398 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
2460 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range()
[all …]
/fs/f2fs/
Dfile.c1259 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1279 set_new_dnode(&dn, dst_inode, NULL, NULL, 0); in __clone_blkaddrs()
1291 ADDRS_PER_PAGE(dn.node_page, dst_inode) - in __clone_blkaddrs()
1300 f2fs_i_blocks_write(dst_inode, in __clone_blkaddrs()
1310 if (dst_inode->i_size < new_size) in __clone_blkaddrs()
1311 f2fs_i_size_write(dst_inode, new_size); in __clone_blkaddrs()
1322 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i, in __clone_blkaddrs()
1345 struct inode *dst_inode, pgoff_t src, pgoff_t dst, in __exchange_data_block() argument
1375 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()