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
773 percpu_counter_dec(&ep->user->epoll_watches); in __ep_remove()1491 if (unlikely(percpu_counter_compare(&ep->user->epoll_watches, in ep_insert()1494 percpu_counter_inc(&ep->user->epoll_watches); in ep_insert()1497 percpu_counter_dec(&ep->user->epoll_watches); in ep_insert()1515 percpu_counter_dec(&ep->user->epoll_watches); in ep_insert()