Searched refs:m_lock (Results 1 – 6 of 6) sorted by relevance
168 init_rwsem(&ci->m_lock); in ksmbd_inode_init()265 down_write(&ci->m_lock); in __ksmbd_inode_close()268 up_write(&ci->m_lock); in __ksmbd_inode_close()272 up_write(&ci->m_lock); in __ksmbd_inode_close()527 down_read(&ci->m_lock); in ksmbd_lookup_fd_inode()532 up_read(&ci->m_lock); in ksmbd_lookup_fd_inode()537 up_read(&ci->m_lock); in ksmbd_lookup_fd_inode()709 down_write(&ci->m_lock); in session_fd_check()717 up_write(&ci->m_lock); in session_fd_check()807 down_write(&ci->m_lock); in ksmbd_reopen_durable_fd()[all …]
196 down_write(&ci->m_lock); in opinfo_add()198 up_write(&ci->m_lock); in opinfo_add()210 down_write(&ci->m_lock); in opinfo_del()212 up_write(&ci->m_lock); in opinfo_del()515 down_read(&ci->m_lock); in same_client_has_lease()557 up_read(&ci->m_lock); in same_client_has_lease()1104 down_read(&p_ci->m_lock); in smb_send_parent_lease_break_noti()1123 up_read(&p_ci->m_lock); in smb_send_parent_lease_break_noti()1144 down_read(&p_ci->m_lock); in smb_lazy_parent_lease_break_close()1159 up_read(&p_ci->m_lock); in smb_lazy_parent_lease_break_close()
50 struct rw_semaphore m_lock; member
653 down_read(&curr_fp->f_ci->m_lock); in ksmbd_smb_check_shared_mode()729 up_read(&curr_fp->f_ci->m_lock); in ksmbd_smb_check_shared_mode()
3396 down_write(&fp->f_ci->m_lock); in smb2_open()3398 up_write(&fp->f_ci->m_lock); in smb2_open()
35 pthread_mutex_init( &m_lock, &attr );