Home
last modified time | relevance | path

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

/linux/fs/smb/server/
H A Dvfs.c1946 struct ksmbd_file *src_fp, in ksmbd_vfs_copy_file_range_buffered() argument
1976 ret = ksmbd_vfs_read(work, src_fp, chunk_size - done, in ksmbd_vfs_copy_file_range_buffered()
2011 struct ksmbd_file *src_fp, in ksmbd_vfs_copy_file_ranges() argument
2028 if (!(src_fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { in ksmbd_vfs_copy_file_ranges()
2029 pr_err("no right to read(%pD)\n", src_fp->filp); in ksmbd_vfs_copy_file_ranges()
2045 if (check_lock_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
2054 if (ksmbd_stream_fd(src_fp)) { in ksmbd_vfs_copy_file_ranges()
2057 saved_cred = override_creds(src_fp->filp->f_cred); in ksmbd_vfs_copy_file_ranges()
2059 file_mnt_idmap(src_fp->filp), in ksmbd_vfs_copy_file_ranges()
2060 src_fp->filp->f_path.dentry, in ksmbd_vfs_copy_file_ranges()
[all …]
H A Dsmb2pdu.c10265 struct ksmbd_file *src_fp = NULL, *dst_fp = NULL; in fsctl_copychunk() local
10330 src_fp = ksmbd_lookup_foreign_fd(work, in fsctl_copychunk()
10334 if (!src_fp || in fsctl_copychunk()
10335 src_fp->persistent_id != le64_to_cpu(ci_req->SourceKeyU64[1])) { in fsctl_copychunk()
10355 ret = ksmbd_vfs_copy_file_ranges(work, src_fp, dst_fp, in fsctl_copychunk()
10383 ksmbd_fd_put(work, src_fp); in fsctl_copychunk()