Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ksmbd/
Dsmb_common.c508 struct ksmbd_file *curr_fp) in smb_shared_mode_error() argument
512 prev_fp->saccess, curr_fp->daccess); in smb_shared_mode_error()
515 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode() argument
524 read_lock(&curr_fp->f_ci->m_lock); in ksmbd_smb_check_shared_mode()
525 list_for_each_entry(prev_fp, &curr_fp->f_ci->m_fp_list, node) { in ksmbd_smb_check_shared_mode()
532 if (ksmbd_stream_fd(prev_fp) && ksmbd_stream_fd(curr_fp)) in ksmbd_smb_check_shared_mode()
533 if (strcmp(prev_fp->stream.name, curr_fp->stream.name)) in ksmbd_smb_check_shared_mode()
536 if (prev_fp->attrib_only != curr_fp->attrib_only) in ksmbd_smb_check_shared_mode()
540 curr_fp->daccess & FILE_DELETE_LE) { in ksmbd_smb_check_shared_mode()
543 curr_fp); in ksmbd_smb_check_shared_mode()
[all …]
Dsmb_common.h463 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);