Home
last modified time | relevance | path

Searched refs:src_fp (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/fs/smb/server/
H A Dvfs.c1771 struct ksmbd_file *src_fp, in ksmbd_vfs_copy_file_ranges() argument
1788 if (!(src_fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { in ksmbd_vfs_copy_file_ranges()
1789 pr_err("no right to read(%pD)\n", src_fp->filp); in ksmbd_vfs_copy_file_ranges()
1797 if (ksmbd_stream_fd(src_fp) || ksmbd_stream_fd(dst_fp)) in ksmbd_vfs_copy_file_ranges()
1808 if (check_lock_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
1817 src_file_size = i_size_read(file_inode(src_fp->filp)); in ksmbd_vfs_copy_file_ranges()
1827 ret = vfs_copy_file_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
1830 ret = vfs_copy_file_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
H A Dvfs.h96 struct ksmbd_file *src_fp,
H A Dsmb2pdu.c7654 struct ksmbd_file *src_fp = NULL, *dst_fp = NULL; in fsctl_copychunk() local
7698 src_fp = ksmbd_lookup_foreign_fd(work, in fsctl_copychunk()
7702 if (!src_fp || in fsctl_copychunk()
7703 src_fp->persistent_id != le64_to_cpu(ci_req->ResumeKey[1])) { in fsctl_copychunk()
7723 ret = ksmbd_vfs_copy_file_ranges(work, src_fp, dst_fp, in fsctl_copychunk()
7751 ksmbd_fd_put(work, src_fp); in fsctl_copychunk()