/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs4file.c | 248 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range() local 260 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range() 268 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_remap_file_range() 272 if (src_inode == dst_inode) in nfs42_remap_file_range() 277 inode_lock(src_inode); in nfs42_remap_file_range() 278 } else if (dst_inode < src_inode) { in nfs42_remap_file_range() 280 inode_lock_nested(src_inode, I_MUTEX_CHILD); in nfs42_remap_file_range() 282 inode_lock_nested(src_inode, I_MUTEX_PARENT); in nfs42_remap_file_range() 288 ret = nfs_sync_inode(src_inode); in nfs42_remap_file_range() 304 inode_unlock(src_inode); in nfs42_remap_file_range() [all …]
|
D | nfs42proc.c | 288 struct inode *src_inode = file_inode(src); in _nfs42_proc_copy() local 290 struct nfs_server *src_server = NFS_SERVER(src_inode); in _nfs42_proc_copy() 373 spin_lock(&src_inode->i_lock); in _nfs42_proc_copy() 374 NFS_I(src_inode)->cache_validity |= (NFS_INO_REVAL_PAGECACHE | in _nfs42_proc_copy() 376 spin_unlock(&src_inode->i_lock); in _nfs42_proc_copy() 1017 struct inode *src_inode = file_inode(src_f); in _nfs42_proc_clone() local 1021 .src_fh = NFS_FH(src_inode), in _nfs42_proc_clone()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | ioctl.c | 85 struct inode *src_inode; in cifs_ioctl_copychunk() local 113 src_inode = file_inode(src_file.file); in cifs_ioctl_copychunk() 115 if (S_ISDIR(src_inode->i_mode)) in cifs_ioctl_copychunk() 119 src_inode->i_size, 0); in cifs_ioctl_copychunk()
|
D | cifsfs.c | 1080 struct inode *src_inode = file_inode(src_file); in cifs_remap_file_range() local 1109 lock_two_nondirectories(target_inode, src_inode); in cifs_remap_file_range() 1112 len = src_inode->i_size - off; in cifs_remap_file_range() 1130 unlock_two_nondirectories(src_inode, target_inode); in cifs_remap_file_range() 1141 struct inode *src_inode = file_inode(src_file); in cifs_file_copychunk_range() local 1177 lock_two_nondirectories(target_inode, src_inode); in cifs_file_copychunk_range() 1197 unlock_two_nondirectories(src_inode, target_inode); in cifs_file_copychunk_range()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | reflink.c | 837 struct inode *src_inode = file_inode(src_file); in btrfs_remap_file_range() local 839 bool same_inode = dst_inode == src_inode; in btrfs_remap_file_range() 846 inode_lock(src_inode); in btrfs_remap_file_range() 848 lock_two_nondirectories(src_inode, dst_inode); in btrfs_remap_file_range() 856 ret = btrfs_extent_same(src_inode, off, len, dst_inode, destoff); in btrfs_remap_file_range() 862 inode_unlock(src_inode); in btrfs_remap_file_range() 864 unlock_two_nondirectories(src_inode, dst_inode); in btrfs_remap_file_range()
|
D | ioctl.c | 1854 struct inode *src_inode; in __btrfs_ioctl_snap_create() local 1860 src_inode = file_inode(src.file); in __btrfs_ioctl_snap_create() 1861 if (src_inode->i_sb != file_inode(file)->i_sb) { in __btrfs_ioctl_snap_create() 1865 } else if (!inode_owner_or_capable(src_inode)) { in __btrfs_ioctl_snap_create() 1873 BTRFS_I(src_inode)->root, in __btrfs_ioctl_snap_create()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | profiler.h | 137 ino_t src_inode; member
|
D | profiler.inc.h | 800 filemod_data->src_inode = 0; in kprobe_ret__do_filp_open() 854 filemod_data->src_inode = src_file_ino; in BPF_KPROBE() 913 filemod_data->src_inode = 0; in BPF_KPROBE()
|
/kernel/linux/linux-5.10/fs/ceph/ |
D | file.c | 2195 static int is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, in is_file_size_ok() argument 2200 size = i_size_read(src_inode); in is_file_size_ok() 2293 struct inode *src_inode = file_inode(src_file); in __ceph_copy_file_range() local 2295 struct ceph_inode_info *src_ci = ceph_inode(src_inode); in __ceph_copy_file_range() 2298 struct ceph_fs_client *src_fsc = ceph_inode_to_client(src_inode); in __ceph_copy_file_range() 2305 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range() 2377 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range() 2426 err = is_file_size_ok(src_inode, dst_inode, in __ceph_copy_file_range()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | file.c | 1187 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument 1191 struct f2fs_sb_info *sbi = F2FS_I_SB(src_inode); in __clone_blkaddrs() 1226 f2fs_i_blocks_write(src_inode, in __clone_blkaddrs() 1246 psrc = f2fs_get_lock_data_page(src_inode, in __clone_blkaddrs() 1261 ret = f2fs_truncate_hole(src_inode, in __clone_blkaddrs() 1271 static int __exchange_data_block(struct inode *src_inode, in __exchange_data_block() argument 1281 olen = min((pgoff_t)4 * ADDRS_PER_BLOCK(src_inode), len); in __exchange_data_block() 1283 src_blkaddr = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block() 1289 do_replace = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block() 1297 ret = __read_out_blkaddrs(src_inode, src_blkaddr, in __exchange_data_block() [all …]
|