Lines Matching refs:mtx
184 struct mutex mtx; member
569 return rcu_dereference_check(epi->ws, lockdep_is_held(&epi->ep->mtx)); in ep_wakeup_source()
768 mutex_lock(&ep->mtx); in ep_free()
774 mutex_unlock(&ep->mtx); in ep_free()
777 mutex_destroy(&ep->mtx); in ep_free()
812 mutex_lock_nested(&ep->mtx, depth); in __ep_eventpoll_poll()
829 mutex_unlock(&ep->mtx); in __ep_eventpoll_poll()
863 mutex_lock(&ep->mtx); in ep_show_fdinfo()
877 mutex_unlock(&ep->mtx); in ep_show_fdinfo()
922 mutex_lock_nested(&ep->mtx, 0); in eventpoll_release_file()
924 mutex_unlock(&ep->mtx); in eventpoll_release_file()
941 mutex_init(&ep->mtx); in ep_alloc()
1020 mutex_lock(&ep->mtx); in get_epoll_tfile_raw_ptr()
1026 mutex_unlock(&ep->mtx); in get_epoll_tfile_raw_ptr()
1469 mutex_lock_nested(&tep->mtx, 1); in ep_insert()
1473 mutex_unlock(&tep->mtx); in ep_insert()
1488 mutex_unlock(&tep->mtx); in ep_insert()
1648 mutex_lock(&ep->mtx); in ep_send_events()
1717 mutex_unlock(&ep->mtx); in ep_send_events()
1895 mutex_lock_nested(&ep->mtx, depth + 1); in ep_loop_check_proc()
1922 mutex_unlock(&ep->mtx); in ep_loop_check_proc()
2098 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl()
2104 mutex_unlock(&ep->mtx); in do_epoll_ctl()
2116 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl()
2154 mutex_unlock(&ep->mtx); in do_epoll_ctl()