Home
last modified time | relevance | path

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

/linux-6.15/fs/nfs/
H A Dnfs4file.c244 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() local
245 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
258 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range()
270 if (src_inode == dst_inode) in nfs42_remap_file_range()
276 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
277 inode_lock_nested(dst_inode, I_MUTEX_PARENT); in nfs42_remap_file_range()
281 inode_lock_nested(dst_inode, I_MUTEX_CHILD); in nfs42_remap_file_range()
289 ret = nfs_sync_inode(dst_inode); in nfs42_remap_file_range()
303 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
305 inode_unlock(dst_inode); in nfs42_remap_file_range()
[all …]
H A Dnfs42proc.c374 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy() local
376 struct nfs_server *dst_server = NFS_SERVER(dst_inode); in _nfs42_proc_copy()
408 status = nfs_sync_inode(dst_inode); in _nfs42_proc_copy()
426 trace_nfs4_copy(src_inode, dst_inode, args, res, nss, status); in _nfs42_proc_copy()
1206 struct inode *dst_inode = file_inode(dst_f); in _nfs42_proc_clone() local
1207 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_clone()
1211 .dst_fh = NFS_FH(dst_inode), in _nfs42_proc_clone()
1245 dst_inode, NFS_INO_INVALID_BLOCKS); in _nfs42_proc_clone()
1249 trace_nfs4_clone(src_inode, dst_inode, &args, status); in _nfs42_proc_clone()
1254 nfs42_copy_dest_done(dst_inode, dst_offset, count); in _nfs42_proc_clone()
[all …]
H A Dnfs4trace.h2387 const struct inode *dst_inode,
2394 TP_ARGS(src_inode, dst_inode, args, res, nss, error),
2422 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2429 __entry->dst_dev = dst_inode->i_sb->s_dev;
2494 const struct inode *dst_inode,
2499 TP_ARGS(src_inode, dst_inode, args, error),
2520 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2527 __entry->dst_dev = dst_inode->i_sb->s_dev;
H A Dnfs4proc.c5855 struct inode *dst_inode = file_inode(dst); in _nfs4_proc_commit() local
5856 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5863 args->fh = NFS_FH(dst_inode); in _nfs4_proc_commit()
/linux-6.15/fs/btrfs/
H A Dreflink.c867 struct btrfs_inode *dst_inode = BTRFS_I(file_inode(dst_file)); in btrfs_remap_file_range() local
868 bool same_inode = dst_inode == src_inode; in btrfs_remap_file_range()
877 lock_two_nondirectories(&src_inode->vfs_inode, &dst_inode->vfs_inode); in btrfs_remap_file_range()
878 btrfs_double_mmap_lock(src_inode, dst_inode); in btrfs_remap_file_range()
888 &dst_inode->vfs_inode, destoff); in btrfs_remap_file_range()
896 btrfs_double_mmap_unlock(src_inode, dst_inode); in btrfs_remap_file_range()
898 &dst_inode->vfs_inode); in btrfs_remap_file_range()
/linux-6.15/fs/ceph/
H A Dfile.c2817 size = i_size_read(dst_inode); in is_file_size_ok()
2820 if (inode_newsize_ok(dst_inode, endoff)) in is_file_size_ok()
2957 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() local
2969 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range()
2979 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
3050 ceph_fscache_invalidate(dst_inode, false); in __ceph_copy_file_range()
3096 err = is_file_size_ok(src_inode, dst_inode, in __ceph_copy_file_range()
3102 size = i_size_read(dst_inode); in __ceph_copy_file_range()
3115 inode_inc_iversion_raw(dst_inode); in __ceph_copy_file_range()
3119 if (ceph_inode_set_size(dst_inode, dst_off) || in __ceph_copy_file_range()
[all …]
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dprofiler.h138 ino_t dst_inode; member
H A Dprofiler.inc.h793 filemod_data->dst_inode = file_ino; in kprobe_ret__do_filp_open()
846 filemod_data->dst_inode = dst_file_ino; in BPF_KPROBE()
901 filemod_data->dst_inode = dst_file_ino; in BPF_KPROBE()
/linux-6.15/fs/bcachefs/
H A Dfs.c947 dst_inode); in bch2_rename2()
966 inode_attr_changing(src_dir, dst_inode, Inode_opt_project)) { in bch2_rename2()
967 ret = bch2_fs_quota_transfer(c, dst_inode, in bch2_rename2()
1018 BUG_ON(dst_inode && in bch2_rename2()
1019 dst_inode->v.i_ino != dst_inode_u.bi_inum); in bch2_rename2()
1031 if (dst_inode) in bch2_rename2()
1032 bch2_inode_update_after_write(trans, dst_inode, &dst_inode_u, in bch2_rename2()
1041 if (dst_inode) in bch2_rename2()
1042 bch2_fs_quota_transfer(c, dst_inode, in bch2_rename2()
1043 bch_qid(&dst_inode->ei_inode), in bch2_rename2()
[all …]
/linux-6.15/fs/f2fs/
H A Dfile.c1356 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1376 set_new_dnode(&dn, dst_inode, NULL, NULL, 0); in __clone_blkaddrs()
1388 ADDRS_PER_PAGE(dn.node_page, dst_inode) - in __clone_blkaddrs()
1397 f2fs_i_blocks_write(dst_inode, in __clone_blkaddrs()
1407 if (dst_inode->i_size < new_size) in __clone_blkaddrs()
1408 f2fs_i_size_write(dst_inode, new_size); in __clone_blkaddrs()
1419 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i, in __clone_blkaddrs()
1445 struct inode *dst_inode, pgoff_t src, pgoff_t dst, in __exchange_data_block() argument
1475 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()