Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/server/
Dvfs.c1783 struct ksmbd_file *dst_fp, in ksmbd_vfs_copy_file_ranges() argument
1803 if (!(dst_fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE))) { in ksmbd_vfs_copy_file_ranges()
1804 pr_err("no right to write(%pD)\n", dst_fp->filp); in ksmbd_vfs_copy_file_ranges()
1808 if (ksmbd_stream_fd(src_fp) || ksmbd_stream_fd(dst_fp)) in ksmbd_vfs_copy_file_ranges()
1811 smb_break_all_levII_oplock(work, dst_fp, 1); in ksmbd_vfs_copy_file_ranges()
1822 if (check_lock_range(dst_fp->filp, dst_off, in ksmbd_vfs_copy_file_ranges()
1839 dst_fp->filp, dst_off, len, 0); in ksmbd_vfs_copy_file_ranges()
1842 dst_fp->filp, dst_off, len, in ksmbd_vfs_copy_file_ranges()
Dvfs.h96 struct ksmbd_file *dst_fp,
Dsmb2pdu.c7553 struct ksmbd_file *src_fp = NULL, *dst_fp = NULL; in fsctl_copychunk() local
7599 dst_fp = ksmbd_lookup_fd_slow(work, volatile_id, persistent_id); in fsctl_copychunk()
7607 if (!dst_fp) { in fsctl_copychunk()
7617 !(dst_fp->daccess & (FILE_READ_DATA_LE | FILE_GENERIC_READ_LE))) { in fsctl_copychunk()
7622 ret = ksmbd_vfs_copy_file_ranges(work, src_fp, dst_fp, in fsctl_copychunk()
7651 ksmbd_fd_put(work, dst_fp); in fsctl_copychunk()