Lines Matching defs:curr_fp
633 struct ksmbd_file *curr_fp)
637 prev_fp->saccess, curr_fp->daccess);
640 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp)
649 read_lock(&curr_fp->f_ci->m_lock);
650 list_for_each_entry(prev_fp, &curr_fp->f_ci->m_fp_list, node) {
657 if (ksmbd_stream_fd(prev_fp) && ksmbd_stream_fd(curr_fp))
658 if (strcmp(prev_fp->stream.name, curr_fp->stream.name))
661 if (prev_fp->attrib_only != curr_fp->attrib_only)
665 curr_fp->daccess & FILE_DELETE_LE) {
668 curr_fp);
677 if (ksmbd_stream_fd(prev_fp) && !ksmbd_stream_fd(curr_fp))
681 curr_fp->daccess & (FILE_EXECUTE_LE | FILE_READ_DATA_LE)) {
684 curr_fp);
690 curr_fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE)) {
693 curr_fp);
699 !(curr_fp->saccess & FILE_SHARE_READ_LE)) {
702 curr_fp);
708 !(curr_fp->saccess & FILE_SHARE_WRITE_LE)) {
711 curr_fp);
717 !(curr_fp->saccess & FILE_SHARE_DELETE_LE)) {
720 curr_fp);
725 read_unlock(&curr_fp->f_ci->m_lock);