Searched refs:dst_fp (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | vfs.c | 1739 struct ksmbd_file *dst_fp, in ksmbd_vfs_copy_file_ranges() argument 1759 if (!(dst_fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE))) { in ksmbd_vfs_copy_file_ranges() 1760 pr_err("no right to write(%pD)\n", dst_fp->filp); in ksmbd_vfs_copy_file_ranges() 1764 if (ksmbd_stream_fd(src_fp) || ksmbd_stream_fd(dst_fp)) in ksmbd_vfs_copy_file_ranges() 1767 smb_break_all_levII_oplock(work, dst_fp, 1); in ksmbd_vfs_copy_file_ranges() 1778 if (check_lock_range(dst_fp->filp, dst_off, in ksmbd_vfs_copy_file_ranges() 1795 dst_fp->filp, dst_off, len, 0); in ksmbd_vfs_copy_file_ranges() 1798 dst_fp->filp, dst_off, len, in ksmbd_vfs_copy_file_ranges()
|
D | vfs.h | 98 struct ksmbd_file *dst_fp,
|
D | smb2pdu.c | 7178 struct ksmbd_file *src_fp = NULL, *dst_fp = NULL; in fsctl_copychunk() local 7225 dst_fp = ksmbd_lookup_fd_slow(work, volatile_id, persistent_id); in fsctl_copychunk() 7233 if (!dst_fp) { in fsctl_copychunk() 7243 !(dst_fp->daccess & (FILE_READ_DATA_LE | FILE_GENERIC_READ_LE))) { in fsctl_copychunk() 7248 ret = ksmbd_vfs_copy_file_ranges(work, src_fp, dst_fp, in fsctl_copychunk() 7277 ksmbd_fd_put(work, dst_fp); in fsctl_copychunk()
|