Home
last modified time | relevance | path

Searched refs:src_inode (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/fs/nfs/
A Dnfs4file.c245 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range() local
269 if (src_inode == dst_inode) in nfs42_remap_file_range()
274 inode_lock(src_inode); in nfs42_remap_file_range()
275 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
277 inode_lock_nested(src_inode, I_MUTEX_CHILD); in nfs42_remap_file_range()
279 inode_lock_nested(src_inode, I_MUTEX_PARENT); in nfs42_remap_file_range()
285 ret = nfs_sync_inode(src_inode); in nfs42_remap_file_range()
301 inode_unlock(src_inode); in nfs42_remap_file_range()
302 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
303 inode_unlock(src_inode); in nfs42_remap_file_range()
[all …]
A Dnfs42proc.c324 struct inode *src_inode = file_inode(src); in _nfs42_proc_copy() local
326 struct nfs_server *src_server = NFS_SERVER(src_inode); in _nfs42_proc_copy()
375 trace_nfs4_copy(src_inode, dst_inode, args, res, nss, status); in _nfs42_proc_copy()
403 nfs_invalidate_atime(src_inode); in _nfs42_proc_copy()
1051 struct inode *src_inode = file_inode(src_f); in _nfs42_proc_clone() local
1056 .src_fh = NFS_FH(src_inode), in _nfs42_proc_clone()
1095 trace_nfs4_clone(src_inode, dst_inode, &args, status); in _nfs42_proc_clone()
A Dnfs4trace.h2234 const struct inode *src_inode,
2242 TP_ARGS(src_inode, dst_inode, args, res, nss, error),
2269 const struct nfs_inode *src_nfsi = NFS_I(src_inode);
2273 __entry->src_dev = src_inode->i_sb->s_dev;
2341 const struct inode *src_inode,
2347 TP_ARGS(src_inode, dst_inode, args, error),
2367 const struct nfs_inode *src_nfsi = NFS_I(src_inode);
2371 __entry->src_dev = src_inode->i_sb->s_dev;
/linux-6.3-rc2/fs/btrfs/
A Dreflink.c887 struct inode *src_inode = file_inode(src_file); in btrfs_remap_file_range() local
889 bool same_inode = dst_inode == src_inode; in btrfs_remap_file_range()
896 btrfs_inode_lock(BTRFS_I(src_inode), BTRFS_ILOCK_MMAP); in btrfs_remap_file_range()
898 lock_two_nondirectories(src_inode, dst_inode); in btrfs_remap_file_range()
899 btrfs_double_mmap_lock(src_inode, dst_inode); in btrfs_remap_file_range()
908 ret = btrfs_extent_same(src_inode, off, len, dst_inode, destoff); in btrfs_remap_file_range()
914 btrfs_inode_unlock(BTRFS_I(src_inode), BTRFS_ILOCK_MMAP); in btrfs_remap_file_range()
916 btrfs_double_mmap_unlock(src_inode, dst_inode); in btrfs_remap_file_range()
917 unlock_two_nondirectories(src_inode, dst_inode); in btrfs_remap_file_range()
A Dioctl.c1275 struct inode *src_inode; in __btrfs_ioctl_snap_create() local
1281 src_inode = file_inode(src.file); in __btrfs_ioctl_snap_create()
1282 if (src_inode->i_sb != file_inode(file)->i_sb) { in __btrfs_ioctl_snap_create()
1286 } else if (!inode_owner_or_capable(idmap, src_inode)) { in __btrfs_ioctl_snap_create()
1295 BTRFS_I(src_inode)->root, in __btrfs_ioctl_snap_create()
/linux-6.3-rc2/fs/cifs/
A Dioctl.c76 struct inode *src_inode; in cifs_ioctl_copychunk() local
104 src_inode = file_inode(src_file.file); in cifs_ioctl_copychunk()
106 if (S_ISDIR(src_inode->i_mode)) in cifs_ioctl_copychunk()
110 src_inode->i_size, 0); in cifs_ioctl_copychunk()
A Dcifsfs.c1185 struct inode *src_inode = file_inode(src_file); in cifs_remap_file_range() local
1214 lock_two_nondirectories(target_inode, src_inode); in cifs_remap_file_range()
1217 len = src_inode->i_size - off; in cifs_remap_file_range()
1235 unlock_two_nondirectories(src_inode, target_inode); in cifs_remap_file_range()
1246 struct inode *src_inode = file_inode(src_file); in cifs_file_copychunk_range() local
1282 lock_two_nondirectories(target_inode, src_inode); in cifs_file_copychunk_range()
1286 rc = filemap_write_and_wait_range(src_inode->i_mapping, off, in cifs_file_copychunk_range()
1310 unlock_two_nondirectories(src_inode, target_inode); in cifs_file_copychunk_range()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dprofiler.h137 ino_t src_inode; member
A Dprofiler.inc.h813 filemod_data->src_inode = 0; in kprobe_ret__do_filp_open()
868 filemod_data->src_inode = src_file_ino; in BPF_KPROBE()
927 filemod_data->src_inode = 0; in BPF_KPROBE()
/linux-6.3-rc2/fs/ceph/
A Dfile.c2225 static int is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, in is_file_size_ok() argument
2230 size = i_size_read(src_inode); in is_file_size_ok()
2379 struct inode *src_inode = file_inode(src_file); in __ceph_copy_file_range() local
2381 struct ceph_inode_info *src_ci = ceph_inode(src_inode); in __ceph_copy_file_range()
2384 struct ceph_fs_client *src_fsc = ceph_inode_to_client(src_inode); in __ceph_copy_file_range()
2391 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range()
2463 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range()
2513 err = is_file_size_ok(src_inode, dst_inode, in __ceph_copy_file_range()
/linux-6.3-rc2/fs/f2fs/
A Dfile.c1255 struct f2fs_sb_info *sbi = F2FS_I_SB(src_inode); in __clone_blkaddrs()
1290 f2fs_i_blocks_write(src_inode, in __clone_blkaddrs()
1310 psrc = f2fs_get_lock_data_page(src_inode, in __clone_blkaddrs()
1325 ret = f2fs_truncate_hole(src_inode, in __clone_blkaddrs()
1335 static int __exchange_data_block(struct inode *src_inode, in __exchange_data_block() argument
1345 olen = min((pgoff_t)4 * ADDRS_PER_BLOCK(src_inode), len); in __exchange_data_block()
1347 src_blkaddr = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1353 do_replace = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1361 ret = __read_out_blkaddrs(src_inode, src_blkaddr, in __exchange_data_block()
1366 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()
[all …]

Completed in 39 milliseconds