Searched refs:epoll_watches (Results 1 – 3 of 3) sorted by relevance
135 return percpu_counter_init(&up->epoll_watches, 0, GFP_KERNEL); in user_epoll_alloc()144 percpu_counter_destroy(&up->epoll_watches); in user_epoll_free()
17 struct percpu_counter epoll_watches; /* The number of file descriptors currently watched */ member
733 percpu_counter_dec(&ep->user->epoll_watches); in ep_remove()1458 if (unlikely(percpu_counter_compare(&ep->user->epoll_watches, in ep_insert()1461 percpu_counter_inc(&ep->user->epoll_watches); in ep_insert()1464 percpu_counter_dec(&ep->user->epoll_watches); in ep_insert()1482 percpu_counter_dec(&ep->user->epoll_watches); in ep_insert()