Home
last modified time | relevance | path

Searched refs:curr_fp (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/fs/ksmbd/
Dsmb_common.c500 struct ksmbd_file *curr_fp) in smb_shared_mode_error() argument
504 prev_fp->saccess, curr_fp->daccess); in smb_shared_mode_error()
507 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode() argument
516 read_lock(&curr_fp->f_ci->m_lock); in ksmbd_smb_check_shared_mode()
517 list_for_each_entry(prev_fp, &curr_fp->f_ci->m_fp_list, node) { in ksmbd_smb_check_shared_mode()
524 if (ksmbd_stream_fd(prev_fp) && ksmbd_stream_fd(curr_fp)) in ksmbd_smb_check_shared_mode()
525 if (strcmp(prev_fp->stream.name, curr_fp->stream.name)) in ksmbd_smb_check_shared_mode()
528 if (prev_fp->attrib_only != curr_fp->attrib_only) in ksmbd_smb_check_shared_mode()
532 curr_fp->daccess & FILE_DELETE_LE) { in ksmbd_smb_check_shared_mode()
535 curr_fp); in ksmbd_smb_check_shared_mode()
[all …]
Dsmb_common.h515 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);