Searched refs:m_lock (Results 1 – 5 of 5) sorted by relevance
175 init_rwsem(&ci->m_lock); in ksmbd_inode_init()272 down_write(&ci->m_lock); in __ksmbd_inode_close()275 up_write(&ci->m_lock); in __ksmbd_inode_close()277 down_write(&ci->m_lock); in __ksmbd_inode_close()279 up_write(&ci->m_lock); in __ksmbd_inode_close()307 down_write(&fp->f_ci->m_lock); in __ksmbd_remove_fd()309 up_write(&fp->f_ci->m_lock); in __ksmbd_remove_fd()544 down_read(&ci->m_lock); in ksmbd_lookup_fd_inode()549 up_read(&ci->m_lock); in ksmbd_lookup_fd_inode()554 up_read(&ci->m_lock); in ksmbd_lookup_fd_inode()[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()
3394 down_write(&fp->f_ci->m_lock); in smb2_open()3396 up_write(&fp->f_ci->m_lock); in smb2_open()