Lines Matching refs:epitem
105 #define EP_ITEM_COST (sizeof(struct epitem) + sizeof(struct eppoll_entry))
118 struct epitem *base;
136 struct epitem { struct
151 struct epitem *next; argument
206 struct epitem *ovflist;
234 struct epitem *epi;
293 struct epitem *epi= container_of(p, struct epitem, fllink); in unlist_file()
355 static inline int ep_is_linked(struct epitem *epi) in ep_is_linked()
366 static inline struct epitem *ep_item_from_wait(wait_queue_entry_t *p) in ep_item_from_wait()
422 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
461 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
494 static void ep_poll_safewake(struct eventpoll *ep, struct epitem *epi) in ep_poll_safewake()
532 static void ep_poll_safewake(struct eventpoll *ep, struct epitem *epi) in ep_poll_safewake()
561 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi) in ep_unregister_pollwait()
574 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
580 static inline void ep_pm_stay_awake(struct epitem *epi) in ep_pm_stay_awake()
588 static inline bool ep_has_wakeup_source(struct epitem *epi) in ep_has_wakeup_source()
594 static inline void ep_pm_stay_awake_rcu(struct epitem *epi) in ep_pm_stay_awake_rcu()
630 struct epitem *epi, *nepi; in ep_done_scan()
678 struct epitem *epi = container_of(head, struct epitem, rcu); in epi_rcu_free()
686 static int ep_remove(struct eventpoll *ep, struct epitem *epi) in ep_remove()
741 struct epitem *epi; in ep_free()
761 epi = rb_entry(rbp, struct epitem, rbn); in ep_free()
777 epi = rb_entry(rbp, struct epitem, rbn); in ep_free()
800 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, int depth);
806 struct epitem *epi, *tmp; in __ep_eventpoll_poll()
845 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, in ep_item_poll()
872 struct epitem *epi = rb_entry(rbp, struct epitem, rbn); in ep_show_fdinfo()
906 struct epitem *epi; in eventpoll_release_file()
971 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd) in ep_find()
975 struct epitem *epi, *epir = NULL; in ep_find()
980 epi = rb_entry(rbp, struct epitem, rbn); in ep_find()
996 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd()
999 struct epitem *epi; in ep_find_tfd()
1002 epi = rb_entry(rbp, struct epitem, rbn); in ep_find_tfd()
1020 struct epitem *epi; in get_epoll_tfile_raw_ptr()
1098 static inline bool chain_epi_lockless(struct epitem *epi) in chain_epi_lockless()
1137 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1243 struct epitem *epi = epq->epi; in ep_ptable_queue_proc()
1266 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi) in ep_rbtree_insert()
1270 struct epitem *epic; in ep_rbtree_insert()
1275 epic = rb_entry(parent, struct epitem, rbn); in ep_rbtree_insert()
1326 struct epitem *epi; in reverse_path_check_proc()
1370 static int ep_create_wakeup_source(struct epitem *epi) in ep_create_wakeup_source()
1393 static noinline void ep_destroy_wakeup_source(struct epitem *epi) in ep_destroy_wakeup_source()
1408 static int attach_epitem(struct file *file, struct epitem *epi) in attach_epitem()
1449 struct epitem *epi; in ep_insert()
1565 static int ep_modify(struct eventpoll *ep, struct epitem *epi, in ep_modify()
1640 struct epitem *epi, *tmp; in ep_send_events()
1922 struct epitem *epi; in ep_loop_check_proc()
1927 epi = rb_entry(rbp, struct epitem, rbn); in ep_loop_check_proc()
2062 struct epitem *epi; in do_epoll_ctl()
2401 BUILD_BUG_ON(sizeof(void *) <= 8 && sizeof(struct epitem) > 128); in eventpoll_init()
2404 epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem), in eventpoll_init()