Lines Matching refs:epitem

99 #define EP_ITEM_COST (sizeof(struct epitem) + sizeof(struct eppoll_entry))
112 struct epitem *base;
130 struct epitem { struct
145 struct epitem *next; argument
207 struct epitem *ovflist;
241 struct epitem *epi;
298 struct epitem *epi= container_of(p, struct epitem, fllink); in unlist_file()
360 static inline int ep_is_linked(struct epitem *epi) in ep_is_linked()
371 static inline struct epitem *ep_item_from_wait(wait_queue_entry_t *p) in ep_item_from_wait()
427 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
466 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
499 static void ep_poll_safewake(struct eventpoll *ep, struct epitem *epi, in ep_poll_safewake()
538 static void ep_poll_safewake(struct eventpoll *ep, struct epitem *epi, in ep_poll_safewake()
567 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi) in ep_unregister_pollwait()
580 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
586 static inline void ep_pm_stay_awake(struct epitem *epi) in ep_pm_stay_awake()
594 static inline bool ep_has_wakeup_source(struct epitem *epi) in ep_has_wakeup_source()
600 static inline void ep_pm_stay_awake_rcu(struct epitem *epi) in ep_pm_stay_awake_rcu()
636 struct epitem *epi, *nepi; in ep_done_scan()
684 struct epitem *epi = container_of(head, struct epitem, rcu); in epi_rcu_free()
721 static bool __ep_remove(struct eventpoll *ep, struct epitem *epi, bool force) in __ep_remove()
780 static void ep_remove_safe(struct eventpoll *ep, struct epitem *epi) in ep_remove_safe()
788 struct epitem *epi; in ep_clear_and_put()
801 epi = rb_entry(rbp, struct epitem, rbn); in ep_clear_and_put()
817 epi = rb_entry(rbp, struct epitem, rbn); in ep_clear_and_put()
839 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, int depth);
845 struct epitem *epi, *tmp; in __ep_eventpoll_poll()
884 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, in ep_item_poll()
911 struct epitem *epi = rb_entry(rbp, struct epitem, rbn); in ep_show_fdinfo()
945 struct epitem *epi; in eventpoll_release_file()
956 epi = hlist_entry(file->f_ep->first, struct epitem, fllink); in eventpoll_release_file()
1004 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd) in ep_find()
1008 struct epitem *epi, *epir = NULL; in ep_find()
1013 epi = rb_entry(rbp, struct epitem, rbn); in ep_find()
1029 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd()
1032 struct epitem *epi; in ep_find_tfd()
1035 epi = rb_entry(rbp, struct epitem, rbn); in ep_find_tfd()
1053 struct epitem *epi; in get_epoll_tfile_raw_ptr()
1131 static inline bool chain_epi_lockless(struct epitem *epi) in chain_epi_lockless()
1170 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1276 struct epitem *epi = epq->epi; in ep_ptable_queue_proc()
1299 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi) in ep_rbtree_insert()
1303 struct epitem *epic; in ep_rbtree_insert()
1308 epic = rb_entry(parent, struct epitem, rbn); in ep_rbtree_insert()
1359 struct epitem *epi; in reverse_path_check_proc()
1403 static int ep_create_wakeup_source(struct epitem *epi) in ep_create_wakeup_source()
1426 static noinline void ep_destroy_wakeup_source(struct epitem *epi) in ep_destroy_wakeup_source()
1441 static int attach_epitem(struct file *file, struct epitem *epi) in attach_epitem()
1482 struct epitem *epi; in ep_insert()
1604 static int ep_modify(struct eventpoll *ep, struct epitem *epi, in ep_modify()
1679 struct epitem *epi, *tmp; in ep_send_events()
1965 struct epitem *epi; in ep_loop_check_proc()
1970 epi = rb_entry(rbp, struct epitem, rbn); in ep_loop_check_proc()
2118 struct epitem *epi; in do_epoll_ctl()
2463 BUILD_BUG_ON(sizeof(void *) <= 8 && sizeof(struct epitem) > 128); in eventpoll_init()
2466 epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem), in eventpoll_init()