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()
2016 struct ksmbd_file *src_fp, in ksmbd_vfs_copy_file_ranges() argument
2033 if (!(src_fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { in ksmbd_vfs_copy_file_ranges()
2034 pr_err("no right to read(%pD)\n", src_fp->filp); in ksmbd_vfs_copy_file_ranges()
2054 if (check_lock_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
2063 if (ksmbd_stream_fd(src_fp)) { in ksmbd_vfs_copy_file_ranges()
2066 saved_cred = override_creds(src_fp->filp->f_cred); in ksmbd_vfs_copy_file_ranges()
2068 file_mnt_idmap(src_fp->filp), in ksmbd_vfs_copy_file_ranges()
2069 src_fp->filp->f_path.dentry, in ksmbd_vfs_copy_file_ranges()
[all …]
H A Dsmb2pdu.c10328 struct ksmbd_file *src_fp = NULL, *dst_fp = NULL; in fsctl_copychunk() local
10393 src_fp = ksmbd_lookup_foreign_fd(work, in fsctl_copychunk()
10397 if (!src_fp || in fsctl_copychunk()
10398 src_fp->persistent_id != le64_to_cpu(ci_req->SourceKeyU64[1])) { in fsctl_copychunk()
10418 ret = ksmbd_vfs_copy_file_ranges(work, src_fp, dst_fp, in fsctl_copychunk()
10446 ksmbd_fd_put(work, src_fp); in fsctl_copychunk()