/linux-6.6.21/fs/nfs/ |
D | nfs4file.c | 245 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range() local 257 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range() 265 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_remap_file_range() 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() [all …]
|
D | nfs42proc.c | 325 struct inode *src_inode = file_inode(src); in _nfs42_proc_copy() local 327 struct nfs_server *src_server = NFS_SERVER(src_inode); in _nfs42_proc_copy() 376 trace_nfs4_copy(src_inode, dst_inode, args, res, nss, status); in _nfs42_proc_copy() 404 nfs_invalidate_atime(src_inode); in _nfs42_proc_copy() 1053 struct inode *src_inode = file_inode(src_f); in _nfs42_proc_clone() local 1058 .src_fh = NFS_FH(src_inode), in _nfs42_proc_clone() 1097 trace_nfs4_clone(src_inode, dst_inode, &args, status); in _nfs42_proc_clone()
|
D | nfs4trace.h | 2234 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.6.21/fs/smb/client/ |
D | cifsfs.c | 1202 static int cifs_precopy_set_eof(struct inode *src_inode, struct cifsInodeInfo *src_cifsi, in cifs_precopy_set_eof() argument 1214 src_inode->i_size, true /* no need to set sparse */); in cifs_precopy_set_eof() 1225 fscache_resize_cookie(cifs_inode_cookie(src_inode), src_end); in cifs_precopy_set_eof() 1229 return filemap_write_and_wait(src_inode->i_mapping); in cifs_precopy_set_eof() 1269 struct inode *src_inode = file_inode(src_file); in cifs_remap_file_range() local 1271 struct cifsInodeInfo *src_cifsi = CIFS_I(src_inode); in cifs_remap_file_range() 1303 lock_two_nondirectories(target_inode, src_inode); in cifs_remap_file_range() 1306 len = src_inode->i_size - off; in cifs_remap_file_range() 1311 rc = filemap_write_and_wait_range(src_inode->i_mapping, off, in cifs_remap_file_range() 1321 rc = cifs_precopy_set_eof(src_inode, src_cifsi, src_tcon, xid, off + len); in cifs_remap_file_range() [all …]
|
D | ioctl.c | 76 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()
|
/linux-6.6.21/fs/btrfs/ |
D | reflink.c | 886 struct inode *src_inode = file_inode(src_file); in btrfs_remap_file_range() local 888 bool same_inode = dst_inode == src_inode; in btrfs_remap_file_range() 895 btrfs_inode_lock(BTRFS_I(src_inode), BTRFS_ILOCK_MMAP); in btrfs_remap_file_range() 897 lock_two_nondirectories(src_inode, dst_inode); in btrfs_remap_file_range() 898 btrfs_double_mmap_lock(src_inode, dst_inode); in btrfs_remap_file_range() 907 ret = btrfs_extent_same(src_inode, off, len, dst_inode, destoff); in btrfs_remap_file_range() 913 btrfs_inode_unlock(BTRFS_I(src_inode), BTRFS_ILOCK_MMAP); in btrfs_remap_file_range() 915 btrfs_double_mmap_unlock(src_inode, dst_inode); in btrfs_remap_file_range() 916 unlock_two_nondirectories(src_inode, dst_inode); in btrfs_remap_file_range()
|
D | ioctl.c | 1279 struct inode *src_inode; in __btrfs_ioctl_snap_create() local 1285 src_inode = file_inode(src.file); in __btrfs_ioctl_snap_create() 1286 if (src_inode->i_sb != file_inode(file)->i_sb) { in __btrfs_ioctl_snap_create() 1290 } else if (!inode_owner_or_capable(idmap, src_inode)) { in __btrfs_ioctl_snap_create() 1296 } else if (btrfs_ino(BTRFS_I(src_inode)) != BTRFS_FIRST_FREE_OBJECTID) { in __btrfs_ioctl_snap_create() 1308 BTRFS_I(src_inode)->root, in __btrfs_ioctl_snap_create()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | profiler.h | 137 ino_t src_inode; member
|
D | profiler.inc.h | 812 filemod_data->src_inode = 0; in kprobe_ret__do_filp_open() 867 filemod_data->src_inode = src_file_ino; in BPF_KPROBE() 926 filemod_data->src_inode = 0; in BPF_KPROBE()
|
/linux-6.6.21/fs/ceph/ |
D | file.c | 2689 static int is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, in is_file_size_ok() argument 2694 size = i_size_read(src_inode); in is_file_size_ok() 2843 struct inode *src_inode = file_inode(src_file); in __ceph_copy_file_range() local 2845 struct ceph_inode_info *src_ci = ceph_inode(src_inode); in __ceph_copy_file_range() 2848 struct ceph_fs_client *src_fsc = ceph_inode_to_client(src_inode); in __ceph_copy_file_range() 2855 if (src_inode->i_sb != dst_inode->i_sb) { in __ceph_copy_file_range() 2896 if (IS_ENCRYPTED(src_inode) || IS_ENCRYPTED(dst_inode)) in __ceph_copy_file_range() 2931 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range() 2981 err = is_file_size_ok(src_inode, dst_inode, in __ceph_copy_file_range()
|
/linux-6.6.21/fs/f2fs/ |
D | file.c | 1249 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument 1253 struct f2fs_sb_info *sbi = F2FS_I_SB(src_inode); in __clone_blkaddrs() 1288 f2fs_i_blocks_write(src_inode, in __clone_blkaddrs() 1308 psrc = f2fs_get_lock_data_page(src_inode, in __clone_blkaddrs() 1324 ret = f2fs_truncate_hole(src_inode, in __clone_blkaddrs() 1334 static int __exchange_data_block(struct inode *src_inode, in __exchange_data_block() argument 1344 olen = min((pgoff_t)4 * ADDRS_PER_BLOCK(src_inode), len); in __exchange_data_block() 1346 src_blkaddr = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block() 1352 do_replace = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block() 1360 ret = __read_out_blkaddrs(src_inode, src_blkaddr, in __exchange_data_block() [all …]
|