/openbmc/linux/fs/ |
H A D | remap_range.c | 440 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one() argument 448 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one() 460 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one() 465 if (!allow_file_dedupe(dst_file)) 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() 473 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one() 477 if (!dst_file->f_op->remap_file_range) 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() 488 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one() 542 struct file *dst_file = dst_fd.file; in vfs_dedupe_file_range() local [all …]
|
H A D | ioctl.c | 231 static long ioctl_file_clone(struct file *dst_file, unsigned long srcfd, in ioctl_file_clone() argument 240 cloned = vfs_clone_file_range(src_file.file, off, dst_file, destoff, in ioctl_file_clone()
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | filemap.py | 536 dst_file = open(dst_fname, 'r+b') 538 dst_file = open(dst_fname, 'wb') 543 dst_file.truncate(dst_size) 560 dst_file.seek(seek + length, os.SEEK_SET) 561 dst_file.close() 564 dst_file.seek(seek + start - skip, os.SEEK_SET) 577 dst_file.write(chunk) 581 dst_file.close() 583 dst_file.close()
|
/openbmc/qemu/hw/acpi/ |
H A D | bios-linker-loader.c | 280 const BiosLinkerFileEntry *dst_file = in bios_linker_loader_add_pointer() local 285 assert(dst_file); in bios_linker_loader_add_pointer() 287 assert(dst_patched_offset < dst_file->blob->len); in bios_linker_loader_add_pointer() 288 assert(dst_patched_offset + dst_patched_size <= dst_file->blob->len); in bios_linker_loader_add_pointer() 303 memcpy(dst_file->blob->data + dst_patched_offset, in bios_linker_loader_add_pointer()
|
/openbmc/linux/fs/smb/client/ |
H A D | ioctl.c | 71 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument 80 if (!(dst_file->f_mode & FMODE_WRITE)) { in cifs_ioctl_copychunk() 86 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk() 109 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk() 116 mnt_drop_write_file(dst_file); in cifs_ioctl_copychunk()
|
H A D | cifsfs.c | 1282 struct file *dst_file, loff_t destoff, loff_t len, in cifs_remap_file_range() argument 1286 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range() 1290 struct cifsFileInfo *smb_file_target = dst_file->private_data; in cifs_remap_file_range() 1391 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument 1395 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range() 1406 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range() 1413 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range() 1469 rc = file_modified(dst_file); in cifs_file_copychunk_range() 1507 struct file *dst_file, loff_t destoff, in cifs_copy_file_range() argument 1512 struct cifsFileInfo *cfile = dst_file->private_data; in cifs_copy_file_range() [all …]
|
H A D | cifsfs.h | 139 struct file *dst_file, loff_t destoff,
|
/openbmc/linux/fs/btrfs/ |
H A D | reflink.c | 883 struct file *dst_file, loff_t destoff, loff_t len, in btrfs_remap_file_range() argument 887 struct inode *dst_inode = file_inode(dst_file); in btrfs_remap_file_range() 901 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range() 909 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range() 927 (file_sync_write(src_file) || file_sync_write(dst_file))) { in btrfs_remap_file_range() 930 ret = btrfs_sync_file(dst_file, destoff, in btrfs_remap_file_range()
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4file.c | 240 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument 243 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() 292 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | sshcontrol.py | 180 dst_file = os.path.join(remotepath, tmp_file.lstrip("/")) 182 self.copy_to(src_file, dst_file)
|
/openbmc/linux/fs/ceph/ |
H A D | file.c | 2846 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument 2850 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() 2918 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 2930 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 2975 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range() 2984 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 3005 file_update_time(dst_file); in __ceph_copy_file_range() 3030 bytes = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range() 3045 struct file *dst_file, loff_t dst_off, in ceph_copy_file_range() argument 3050 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range() [all …]
|
/openbmc/linux/fs/fuse/ |
H A D | file.c | 3199 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument 3204 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range() 3208 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
|
/openbmc/linux/include/linux/ |
H A D | fs.h | 2049 struct file *dst_file, loff_t dst_pos,
|