Home
last modified time | relevance | path

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

/linux/fs/nfs/
H A Dnfs4file.c251 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() local
252 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
264 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range()
277 lock_two_nondirectories(src_inode, dst_inode); in nfs42_remap_file_range()
284 nfs_file_block_o_direct(NFS_I(dst_inode)); in nfs42_remap_file_range()
285 ret = nfs_sync_inode(dst_inode); in nfs42_remap_file_range()
294 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range()
297 unlock_two_nondirectories(src_inode, dst_inode); in nfs42_remap_file_range()
H A Dnfs42proc.c421 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy() local
423 struct nfs_server *dst_server = NFS_SERVER(dst_inode); in _nfs42_proc_copy()
456 nfs_file_block_o_direct(NFS_I(dst_inode)); in _nfs42_proc_copy()
457 status = nfs_sync_inode(dst_inode); in _nfs42_proc_copy()
472 oldsize_dst = i_size_read(dst_inode); in _nfs42_proc_copy()
476 trace_nfs4_copy(src_inode, dst_inode, args, res, nss, status); in _nfs42_proc_copy()
1259 struct inode *dst_inode = file_inode(dst_f); in _nfs42_proc_clone() local
1260 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_clone()
1264 .dst_fh = NFS_FH(dst_inode), in _nfs42_proc_clone()
1273 loff_t oldsize_dst = i_size_read(dst_inode); in _nfs42_proc_clone()
[all …]
H A Dnfs4proc.c5883 struct inode *dst_inode = file_inode(dst); in _nfs4_proc_commit() local
5884 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5891 args->fh = NFS_FH(dst_inode); in _nfs4_proc_commit()
/linux/fs/btrfs/
H A Dreflink.c877 struct btrfs_inode *dst_inode = BTRFS_I(file_inode(dst_file)); in btrfs_remap_file_range() local
878 bool same_inode = dst_inode == src_inode; in btrfs_remap_file_range()
890 lock_two_nondirectories(&src_inode->vfs_inode, &dst_inode->vfs_inode); in btrfs_remap_file_range()
891 btrfs_double_mmap_lock(src_inode, dst_inode); in btrfs_remap_file_range()
901 &dst_inode->vfs_inode, destoff); in btrfs_remap_file_range()
909 btrfs_double_mmap_unlock(src_inode, dst_inode); in btrfs_remap_file_range()
911 &dst_inode->vfs_inode); in btrfs_remap_file_range()
/linux/fs/ceph/
H A Dfile.c2809 static int is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, in is_file_size_ok() argument
2827 size = i_size_read(dst_inode); in is_file_size_ok()
2830 if (inode_newsize_ok(dst_inode, endoff)) in is_file_size_ok()
2833 if (ceph_quota_is_max_bytes_exceeded(dst_inode, endoff)) in is_file_size_ok()
2967 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() local
2969 struct ceph_inode_info *dst_ci = ceph_inode(dst_inode); in __ceph_copy_file_range()
2979 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range()
2980 struct ceph_fs_client *dst_fsc = ceph_inode_to_fs_client(dst_inode); in __ceph_copy_file_range()
2989 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
3020 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()