Lines Matching refs:mtx
188 struct mutex mtx; member
626 return rcu_dereference_check(epi->ws, lockdep_is_held(&epi->ep->mtx)); in ep_wakeup_source()
686 mutex_lock_nested(&ep->mtx, depth); in ep_scan_ready_list()
755 mutex_unlock(&ep->mtx); in ep_scan_ready_list()
849 mutex_lock(&ep->mtx); in ep_free()
855 mutex_unlock(&ep->mtx); in ep_free()
858 mutex_destroy(&ep->mtx); in ep_free()
952 mutex_lock(&ep->mtx); in ep_show_fdinfo()
966 mutex_unlock(&ep->mtx); in ep_show_fdinfo()
1006 mutex_lock_nested(&ep->mtx, 0); in eventpoll_release_file()
1008 mutex_unlock(&ep->mtx); in eventpoll_release_file()
1025 mutex_init(&ep->mtx); in ep_alloc()
1104 mutex_lock(&ep->mtx); in get_epoll_tfile_raw_ptr()
1110 mutex_unlock(&ep->mtx); in get_epoll_tfile_raw_ptr()
1719 lockdep_assert_held(&ep->mtx); in ep_send_events_proc()
1966 mutex_lock_nested(&ep->mtx, call_nests + 1); in ep_loop_check_proc()
1994 mutex_unlock(&ep->mtx); in ep_loop_check_proc()
2181 mutex_lock_nested(&ep->mtx, 0); in SYSCALL_DEFINE4()
2186 mutex_unlock(&ep->mtx); in SYSCALL_DEFINE4()
2197 mutex_lock_nested(&ep->mtx, 0); in SYSCALL_DEFINE4()
2200 mutex_lock_nested(&tep->mtx, 1); in SYSCALL_DEFINE4()
2240 mutex_unlock(&tep->mtx); in SYSCALL_DEFINE4()
2241 mutex_unlock(&ep->mtx); in SYSCALL_DEFINE4()