Searched refs:dst_fp (Results 1 – 3 of 3) sorted by relevance
/linux/fs/smb/server/ |
H A D | vfs.c | 1784 struct ksmbd_file *dst_fp, in ksmbd_vfs_copy_file_ranges() argument 1804 if (!(dst_fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE))) { in ksmbd_vfs_copy_file_ranges() 1805 pr_err("no right to write(%pD)\n", dst_fp->filp); in ksmbd_vfs_copy_file_ranges() 1809 if (ksmbd_stream_fd(src_fp) || ksmbd_stream_fd(dst_fp)) in ksmbd_vfs_copy_file_ranges() 1812 smb_break_all_levII_oplock(work, dst_fp, 1); in ksmbd_vfs_copy_file_ranges() 1823 if (check_lock_range(dst_fp->filp, dst_off, in ksmbd_vfs_copy_file_ranges() 1840 dst_fp->filp, dst_off, len, 0); in ksmbd_vfs_copy_file_ranges() 1843 dst_fp->filp, dst_off, len, in ksmbd_vfs_copy_file_ranges()
|
H A D | vfs.h | 97 struct ksmbd_file *dst_fp,
|
H A D | smb2pdu.c | 7624 struct ksmbd_file *src_fp = NULL, *dst_fp = NULL; in fsctl_copychunk() local 7670 dst_fp = ksmbd_lookup_fd_slow(work, volatile_id, persistent_id); in fsctl_copychunk() 7678 if (!dst_fp) { in fsctl_copychunk() 7688 !(dst_fp->daccess & (FILE_READ_DATA_LE | FILE_GENERIC_READ_LE))) { in fsctl_copychunk() 7693 ret = ksmbd_vfs_copy_file_ranges(work, src_fp, dst_fp, in fsctl_copychunk() 7722 ksmbd_fd_put(work, dst_fp); in fsctl_copychunk()
|