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

/linux-master/fs/nfs/
H A Dnfs4file.c244 struct inode *dst_inode = file_inode(dst_file); local
245 struct nfs_server *server = NFS_SERVER(dst_inode);
258 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode))
270 if (src_inode == dst_inode)
276 } else if (dst_inode < src_inode) {
277 inode_lock_nested(dst_inode, I_MUTEX_PARENT);
281 inode_lock_nested(dst_inode, I_MUTEX_CHILD);
289 ret = nfs_sync_inode(dst_inode);
298 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1);
303 } else if (dst_inode < src_inod
[all...]
H A Dnfs42proc.c324 struct inode *dst_inode = file_inode(dst); local
326 struct nfs_server *dst_server = NFS_SERVER(dst_inode);
358 status = nfs_sync_inode(dst_inode);
376 trace_nfs4_copy(src_inode, dst_inode, args, res, nss, status);
403 nfs42_copy_dest_done(dst_inode, pos_dst, res->write_res.count);
1054 struct inode *dst_inode = file_inode(dst_f); local
1055 struct nfs_server *server = NFS_SERVER(dst_inode);
1059 .dst_fh = NFS_FH(dst_inode),
1093 dst_inode, NFS_INO_INVALID_BLOCKS);
1097 trace_nfs4_clone(src_inode, dst_inode,
[all...]
H A Dnfs4trace.h2293 const struct inode *dst_inode,
2300 TP_ARGS(src_inode, dst_inode, args, res, nss, error),
2328 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2335 __entry->dst_dev = dst_inode->i_sb->s_dev;
2400 const struct inode *dst_inode,
2405 TP_ARGS(src_inode, dst_inode, args, error),
2426 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2433 __entry->dst_dev = dst_inode->i_sb->s_dev;
H A Dnfs4proc.c5696 struct inode *dst_inode = file_inode(dst); local
5697 struct nfs_server *server = NFS_SERVER(dst_inode);
5704 args->fh = NFS_FH(dst_inode);
/linux-master/fs/btrfs/
H A Dreflink.c886 struct inode *dst_inode = file_inode(dst_file); local
887 bool same_inode = dst_inode == src_inode;
896 lock_two_nondirectories(src_inode, dst_inode);
897 btrfs_double_mmap_lock(src_inode, dst_inode);
906 ret = btrfs_extent_same(src_inode, off, len, dst_inode, destoff);
914 btrfs_double_mmap_unlock(src_inode, dst_inode);
915 unlock_two_nondirectories(src_inode, dst_inode);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dprofiler.h138 ino_t dst_inode; member in struct:var_filemod_data_t
H A Dprofiler.inc.h796 filemod_data->dst_inode = file_ino;
849 filemod_data->dst_inode = dst_file_ino;
904 filemod_data->dst_inode = dst_file_ino;
/linux-master/fs/ceph/
H A Dfile.c2738 static int is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, argument
2756 size = i_size_read(dst_inode);
2759 if (inode_newsize_ok(dst_inode, endoff))
2762 if (ceph_quota_is_max_bytes_exceeded(dst_inode, endoff))
2896 struct inode *dst_inode = file_inode(dst_file); local
2898 struct ceph_inode_info *dst_ci = ceph_inode(dst_inode);
2908 if (src_inode->i_sb != dst_inode->i_sb) {
2909 struct ceph_fs_client *dst_fsc = ceph_inode_to_fs_client(dst_inode);
2918 if (ceph_snap(dst_inode) != CEPH_NOSNAP)
2949 if (IS_ENCRYPTED(src_inode) || IS_ENCRYPTED(dst_inode))
[all...]
/linux-master/fs/bcachefs/
H A Dfs.c617 struct bch_inode_info *dst_inode = to_bch_ei(dst_dentry->d_inode); local
643 dst_inode);
660 inode_attr_changing(src_dir, dst_inode, Inode_opt_project)) {
661 ret = bch2_fs_quota_transfer(c, dst_inode,
682 BUG_ON(dst_inode &&
683 dst_inode->v.i_ino != dst_inode_u.bi_inum);
695 if (dst_inode)
696 bch2_inode_update_after_write(trans, dst_inode, &dst_inode_u,
705 if (dst_inode)
706 bch2_fs_quota_transfer(c, dst_inode,
[all...]
/linux-master/fs/f2fs/
H A Dfile.c1259 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, argument
1279 set_new_dnode(&dn, dst_inode, NULL, NULL, 0);
1291 ADDRS_PER_PAGE(dn.node_page, dst_inode) -
1300 f2fs_i_blocks_write(dst_inode,
1310 if (dst_inode->i_size < new_size)
1311 f2fs_i_size_write(dst_inode, new_size);
1322 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i,
1345 struct inode *dst_inode, pgoff_t src, pgoff_t dst,
1375 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr,
1344 __exchange_data_block(struct inode *src_inode, struct inode *dst_inode, pgoff_t src, pgoff_t dst, pgoff_t len, bool full) argument

Completed in 282 milliseconds