Home
last modified time | relevance | path

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

/fs/pstore/
Dftrace.c146 size_t dest_size, src_size, total, dest_off, src_off; in pstore_ftrace_combine_log() local
155 src_off = src_log_size % record_size; in pstore_ftrace_combine_log()
156 src_size = src_log_size - src_off; in pstore_ftrace_combine_log()
164 srec = (struct pstore_ftrace_record *)(src_log + src_off); in pstore_ftrace_combine_log()
/fs/ceph/
Dfile.c2218 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() argument
2229 if (src_off + len > size) { in is_file_size_ok()
2231 src_off, len, size); in is_file_size_ok()
2246 static ssize_t ceph_do_objects_copy(struct ceph_inode_info *src_ci, u64 *src_off, in ceph_do_objects_copy() argument
2265 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2301 *src_off += object_size; in ceph_do_objects_copy()
2311 static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off, in __ceph_copy_file_range() argument
2375 ret = file_write_and_wait_range(src_file, src_off, (src_off + len)); in __ceph_copy_file_range()
2399 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range()
2411 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
[all …]
/fs/nfs/
Dnfs4file.c242 static loff_t nfs42_remap_file_range(struct file *src_file, loff_t src_off, in nfs42_remap_file_range() argument
266 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_remap_file_range()
268 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_remap_file_range()
295 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/fs/ksmbd/
Dvfs.c1759 loff_t src_off, dst_off, src_file_size; in ksmbd_vfs_copy_file_ranges() local
1783 src_off = le64_to_cpu(chunks[i].SourceOffset); in ksmbd_vfs_copy_file_ranges()
1787 if (check_lock_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
1788 src_off + len - 1, READ)) in ksmbd_vfs_copy_file_ranges()
1799 src_off = le64_to_cpu(chunks[i].SourceOffset); in ksmbd_vfs_copy_file_ranges()
1803 if (src_off + len > src_file_size) in ksmbd_vfs_copy_file_ranges()
1806 ret = vfs_copy_file_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
1809 ret = vfs_copy_file_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
Dsmb2pdu.c7890 loff_t src_off, dst_off, length, cloned; in smb2_ioctl() local
7914 src_off = le64_to_cpu(dup_ext->SourceFileOffset); in smb2_ioctl()
7926 cloned = vfs_clone_file_range(fp_in->filp, src_off, in smb2_ioctl()
7932 cloned = vfs_copy_file_range(fp_in->filp, src_off, in smb2_ioctl()
/fs/btrfs/
Draid56.c505 int src_off = 0; in run_xor() local
511 xor_blocks(xor_src_cnt, len, dest, pages + src_off); in run_xor()
514 src_off += xor_src_cnt; in run_xor()
Dextent_io.c7138 unsigned long dst_off, unsigned long src_off, in copy_pages() argument
7149 if (areas_overlap(src_off, dst_off, len)) in copy_pages()
7154 memmove(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
7156 memcpy(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
/fs/cifs/
Dcifsglob.h443 u64 src_off, u64 len, u64 dest_off);
445 struct cifsFileInfo *target_file, u64 src_off, u64 len,
Dsmb2ops.c1852 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_copychunk_range() argument
1895 pcchunk->SourceOffset = cpu_to_le64(src_off); in smb2_copychunk_range()
1936 src_off += bytes_written; in smb2_copychunk_range()
2108 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_duplicate_extents() argument
2124 dup_ext_buf.SourceFileOffset = cpu_to_le64(src_off); in smb2_duplicate_extents()
2128 src_off, dest_off, len); in smb2_duplicate_extents()
/fs/fuse/
Dfile.c3299 static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off, in fuse_copy_file_range() argument
3305 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3309 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/fs/f2fs/
Dsegment.c4050 pgoff_t src_off, dst_off; in get_next_sit_page() local
4052 src_off = current_sit_addr(sbi, start); in get_next_sit_page()
4053 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page()