Home
last modified time | relevance | path

Searched refs:epoll_watches (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/kernel/
Duser.c135 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()
/linux-6.6.21/include/linux/sched/
Duser.h17 struct percpu_counter epoll_watches; /* The number of file descriptors currently watched */ member
/linux-6.6.21/fs/
Deventpoll.c773 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()