Home
last modified time | relevance | path

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

/fs/nfs/
A Dnfs4file.c252 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() local
253 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
265 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range()
278 lock_two_nondirectories(src_inode, dst_inode); in nfs42_remap_file_range()
284 ret = nfs_sync_inode(dst_inode); in nfs42_remap_file_range()
293 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range()
296 unlock_two_nondirectories(src_inode, dst_inode); in nfs42_remap_file_range()
A Dnfs42proc.c399 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy() local
401 struct nfs_server *dst_server = NFS_SERVER(dst_inode); in _nfs42_proc_copy()
433 status = nfs_sync_inode(dst_inode); in _nfs42_proc_copy()
451 trace_nfs4_copy(src_inode, dst_inode, args, res, nss, status); in _nfs42_proc_copy()
1231 struct inode *dst_inode = file_inode(dst_f); in _nfs42_proc_clone() local
1232 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_clone()
1236 .dst_fh = NFS_FH(dst_inode), in _nfs42_proc_clone()
1270 dst_inode, NFS_INO_INVALID_BLOCKS); in _nfs42_proc_clone()
1274 trace_nfs4_clone(src_inode, dst_inode, &args, status); in _nfs42_proc_clone()
1279 nfs42_copy_dest_done(dst_inode, dst_offset, count); in _nfs42_proc_clone()
[all …]
A Dnfs4trace.h2553 const struct inode *dst_inode,
2560 TP_ARGS(src_inode, dst_inode, args, res, nss, error),
2588 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2595 __entry->dst_dev = dst_inode->i_sb->s_dev;
2660 const struct inode *dst_inode,
2665 TP_ARGS(src_inode, dst_inode, args, error),
2686 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2693 __entry->dst_dev = dst_inode->i_sb->s_dev;
A Dnfs4proc.c5867 struct inode *dst_inode = file_inode(dst); in _nfs4_proc_commit() local
5868 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5875 args->fh = NFS_FH(dst_inode); in _nfs4_proc_commit()
/fs/btrfs/
A Dreflink.c868 struct btrfs_inode *dst_inode = BTRFS_I(file_inode(dst_file)); in btrfs_remap_file_range() local
869 bool same_inode = dst_inode == src_inode; in btrfs_remap_file_range()
878 lock_two_nondirectories(&src_inode->vfs_inode, &dst_inode->vfs_inode); in btrfs_remap_file_range()
879 btrfs_double_mmap_lock(src_inode, dst_inode); in btrfs_remap_file_range()
889 &dst_inode->vfs_inode, destoff); in btrfs_remap_file_range()
897 btrfs_double_mmap_unlock(src_inode, dst_inode); in btrfs_remap_file_range()
899 &dst_inode->vfs_inode); in btrfs_remap_file_range()
/fs/ceph/
A Dfile.c2816 size = i_size_read(dst_inode); in is_file_size_ok()
2819 if (inode_newsize_ok(dst_inode, endoff)) in is_file_size_ok()
2956 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() local
2968 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range()
2978 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
3049 ceph_fscache_invalidate(dst_inode, false); in __ceph_copy_file_range()
3095 err = is_file_size_ok(src_inode, dst_inode, in __ceph_copy_file_range()
3101 size = i_size_read(dst_inode); in __ceph_copy_file_range()
3114 inode_inc_iversion_raw(dst_inode); in __ceph_copy_file_range()
3118 if (ceph_inode_set_size(dst_inode, dst_off) || in __ceph_copy_file_range()
[all …]
/fs/bcachefs/
A Dfs.c943 dst_inode); in bch2_rename2()
962 inode_attr_changing(src_dir, dst_inode, Inode_opt_project)) { in bch2_rename2()
963 ret = bch2_fs_quota_transfer(c, dst_inode, in bch2_rename2()
1014 BUG_ON(dst_inode && in bch2_rename2()
1015 dst_inode->v.i_ino != dst_inode_u.bi_inum); in bch2_rename2()
1027 if (dst_inode) in bch2_rename2()
1028 bch2_inode_update_after_write(trans, dst_inode, &dst_inode_u, in bch2_rename2()
1037 if (dst_inode) in bch2_rename2()
1038 bch2_fs_quota_transfer(c, dst_inode, in bch2_rename2()
1039 bch_qid(&dst_inode->ei_inode), in bch2_rename2()
[all …]
/fs/f2fs/
A Dfile.c1396 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1416 set_new_dnode(&dn, dst_inode, NULL, NULL, 0); in __clone_blkaddrs()
1428 ADDRS_PER_PAGE(dn.node_folio, dst_inode) - in __clone_blkaddrs()
1437 f2fs_i_blocks_write(dst_inode, in __clone_blkaddrs()
1447 if (dst_inode->i_size < new_size) in __clone_blkaddrs()
1448 f2fs_i_size_write(dst_inode, new_size); in __clone_blkaddrs()
1459 fdst = f2fs_get_new_data_folio(dst_inode, NULL, dst + i, in __clone_blkaddrs()
1485 struct inode *dst_inode, pgoff_t src, pgoff_t dst, in __exchange_data_block() argument
1515 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()

Completed in 63 milliseconds