Home
last modified time | relevance | path

Searched refs:src_file (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/io_uring/
Dmsg_ring.c82 struct file *src_file; in io_msg_send_fd() local
101 src_file = (struct file *) (file_ptr & FFS_MASK); in io_msg_send_fd()
102 get_file(src_file); in io_msg_send_fd()
104 ret = __io_fixed_fd_install(target_ctx, src_file, msg->dst_fd); in io_msg_send_fd()
106 fput(src_file); in io_msg_send_fd()
/Linux-v6.1/fs/cifs/
Dioctl.c75 struct fd src_file; in cifs_ioctl_copychunk() local
92 src_file = fdget(srcfd); in cifs_ioctl_copychunk()
93 if (!src_file.file) { in cifs_ioctl_copychunk()
98 if (src_file.file->f_op->unlocked_ioctl != cifs_ioctl) { in cifs_ioctl_copychunk()
104 src_inode = file_inode(src_file.file); in cifs_ioctl_copychunk()
109 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
114 fdput(src_file); in cifs_ioctl_copychunk()
Dcifsfs.c1176 static loff_t cifs_remap_file_range(struct file *src_file, loff_t off, in cifs_remap_file_range() argument
1180 struct inode *src_inode = file_inode(src_file); in cifs_remap_file_range()
1182 struct cifsFileInfo *smb_file_src = src_file->private_data; in cifs_remap_file_range()
1195 if (!src_file->private_data || !dst_file->private_data) { in cifs_remap_file_range()
1237 struct file *src_file, loff_t off, in cifs_file_copychunk_range() argument
1241 struct inode *src_inode = file_inode(src_file); in cifs_file_copychunk_range()
1251 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1259 smb_file_src = src_file->private_data; in cifs_file_copychunk_range()
1294 file_accessed(src_file); in cifs_file_copychunk_range()
1323 static ssize_t cifs_copy_file_range(struct file *src_file, loff_t off, in cifs_copy_file_range() argument
[all …]
Dcifsfs.h139 struct file *src_file, loff_t off,
Dcifsglob.h453 struct cifsFileInfo *src_file);
455 struct cifsFileInfo *src_file, void __user *);
474 struct cifsFileInfo *src_file,
/Linux-v6.1/tools/perf/scripts/python/
Darm-cs-trace-disasm.py158 src_file = ("..." + source_file_name[-37:]) + " "
160 src_file = source_file_name.ljust(41)
163 src_str = src_file + str(line_number).rjust(4) + " <source not found>"
165 src_str = src_file + str(line_number).rjust(4) + " " + source_line
Dintel-pt-events.py287 src_file = ("..." + source_file_name[-37:]) + " "
289 src_file = source_file_name.ljust(41)
291 src_str = src_file + str(line_number).rjust(4) + " <source not found>"
293 src_str = src_file + str(line_number).rjust(4) + " " + source_line
/Linux-v6.1/fs/
Dremap_range.c439 loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, in vfs_dedupe_file_range_one() argument
456 ret = remap_verify_area(src_file, src_pos, len, false); in vfs_dedupe_file_range_one()
469 if (file_inode(src_file)->i_sb != file_inode(dst_file)->i_sb) in vfs_dedupe_file_range_one()
485 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
Dioctl.c233 struct fd src_file = fdget(srcfd); in ioctl_file_clone() local
237 if (!src_file.file) in ioctl_file_clone()
239 cloned = vfs_clone_file_range(src_file.file, off, dst_file, destoff, in ioctl_file_clone()
247 fdput(src_file); in ioctl_file_clone()
/Linux-v6.1/fs/btrfs/
Dreflink.c877 loff_t btrfs_remap_file_range(struct file *src_file, loff_t off, in btrfs_remap_file_range() argument
881 struct inode *src_inode = file_inode(src_file); in btrfs_remap_file_range()
896 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range()
904 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range()
922 (file_sync_write(src_file) || file_sync_write(dst_file))) { in btrfs_remap_file_range()
923 ret = btrfs_sync_file(src_file, off, off + len - 1, 0); in btrfs_remap_file_range()
/Linux-v6.1/fs/nfs/
Dnfs4file.c243 static loff_t nfs42_remap_file_range(struct file *src_file, loff_t src_off, in nfs42_remap_file_range() argument
249 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range()
296 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/Linux-v6.1/fs/ceph/
Dfile.c2361 static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off, in __ceph_copy_file_range() argument
2365 struct inode *src_inode = file_inode(src_file); in __ceph_copy_file_range()
2425 ret = file_write_and_wait_range(src_file, src_off, (src_off + len)); in __ceph_copy_file_range()
2441 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
2487 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2495 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
2543 bytes = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2557 static ssize_t ceph_copy_file_range(struct file *src_file, loff_t src_off, in ceph_copy_file_range() argument
2563 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range()
2567 ret = generic_copy_file_range(src_file, src_off, dst_file, in ceph_copy_file_range()
/Linux-v6.1/fs/fuse/
Dfile.c3152 static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off, in fuse_copy_file_range() argument
3158 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3162 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/Linux-v6.1/include/linux/
Dfs.h2229 extern loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos,