Home
last modified time | relevance | path

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

/linux/fs/nfs/
H A Dnfs4file.c253 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() local
254 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
266 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range()
279 lock_two_nondirectories(src_inode, dst_inode); in nfs42_remap_file_range()
286 nfs_file_block_o_direct(NFS_I(dst_inode)); in nfs42_remap_file_range()
287 ret = nfs_sync_inode(dst_inode); in nfs42_remap_file_range()
296 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range()
299 unlock_two_nondirectories(src_inode, dst_inode); in nfs42_remap_file_range()
H A Dnfs4trace.h2590 const struct inode *dst_inode,
2597 TP_ARGS(src_inode, dst_inode, args, res, nss, error),
2628 __entry->dst_fileid = dst_inode->i_ino;
2629 __entry->dst_dev = dst_inode->i_sb->s_dev;
2694 const struct inode *dst_inode,
2699 TP_ARGS(src_inode, dst_inode, args, error),
2723 __entry->dst_fileid = dst_inode->i_ino;
2724 __entry->dst_dev = dst_inode->i_sb->s_dev;
H A Dnfs4proc.c5948 struct inode *dst_inode = file_inode(dst); in _nfs4_proc_commit() local
5949 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5956 args->fh = NFS_FH(dst_inode); in _nfs4_proc_commit()
/linux/fs/btrfs/
H A Dreflink.c931 struct btrfs_inode *dst_inode = BTRFS_I(file_inode(dst_file)); in btrfs_remap_file_range() local
932 bool same_inode = dst_inode == src_inode; in btrfs_remap_file_range()
944 lock_two_nondirectories(&src_inode->vfs_inode, &dst_inode->vfs_inode); in btrfs_remap_file_range()
945 btrfs_double_mmap_lock(src_inode, dst_inode); in btrfs_remap_file_range()
954 ret = btrfs_extent_same(src_inode, off, len, dst_inode, destoff); in btrfs_remap_file_range()
962 btrfs_double_mmap_unlock(src_inode, dst_inode); in btrfs_remap_file_range()
964 &dst_inode->vfs_inode); in btrfs_remap_file_range()
/linux/fs/ceph/
H A Dfile.c2925 static int is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, in is_file_size_ok() argument
2943 size = i_size_read(dst_inode); in is_file_size_ok()
2946 if (inode_newsize_ok(dst_inode, endoff)) in is_file_size_ok()
2949 if (ceph_quota_is_max_bytes_exceeded(dst_inode, endoff)) in is_file_size_ok()
3083 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() local
3085 struct ceph_inode_info *dst_ci = ceph_inode(dst_inode); in __ceph_copy_file_range()
3095 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range()
3096 struct ceph_fs_client *dst_fsc = ceph_inode_to_fs_client(dst_inode); in __ceph_copy_file_range()
3105 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
3136 if (IS_ENCRYPTED(src_inode) || IS_ENCRYPTED(dst_inode)) in __ceph_copy_file_range()
[all …]
/linux/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_file_open()
846 filemod_data->dst_inode = dst_file_ino; in BPF_KPROBE()
901 filemod_data->dst_inode = dst_file_ino; in BPF_KPROBE()
/linux/fs/f2fs/
H A Dfile.c1490 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1510 set_new_dnode(&dn, dst_inode, NULL, NULL, 0); in __clone_blkaddrs()
1522 ADDRS_PER_PAGE(dn.node_folio, dst_inode) - in __clone_blkaddrs()
1531 f2fs_i_blocks_write(dst_inode, in __clone_blkaddrs()
1541 if (dst_inode->i_size < new_size) in __clone_blkaddrs()
1542 f2fs_i_size_write(dst_inode, new_size); in __clone_blkaddrs()
1553 fdst = f2fs_get_new_data_folio(dst_inode, NULL, dst + i, in __clone_blkaddrs()
1579 struct inode *dst_inode, pgoff_t src, pgoff_t dst, in __exchange_data_block() argument
1609 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()