Lines Matching refs:curr_fp
637 struct ksmbd_file *curr_fp)
641 prev_fp->saccess, curr_fp->daccess);
644 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp)
653 down_read(&curr_fp->f_ci->m_lock);
654 list_for_each_entry(prev_fp, &curr_fp->f_ci->m_fp_list, node) {
661 if (ksmbd_stream_fd(prev_fp) && ksmbd_stream_fd(curr_fp))
662 if (strcmp(prev_fp->stream.name, curr_fp->stream.name))
665 if (prev_fp->attrib_only != curr_fp->attrib_only)
669 curr_fp->daccess & FILE_DELETE_LE) {
672 curr_fp);
681 if (ksmbd_stream_fd(prev_fp) && !ksmbd_stream_fd(curr_fp))
685 curr_fp->daccess & (FILE_EXECUTE_LE | FILE_READ_DATA_LE)) {
688 curr_fp);
694 curr_fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE)) {
697 curr_fp);
703 !(curr_fp->saccess & FILE_SHARE_READ_LE)) {
706 curr_fp);
712 !(curr_fp->saccess & FILE_SHARE_WRITE_LE)) {
715 curr_fp);
721 !(curr_fp->saccess & FILE_SHARE_DELETE_LE)) {
724 curr_fp);
729 up_read(&curr_fp->f_ci->m_lock);