Lines Matching refs:epitem
100 #define EP_ITEM_COST (sizeof(struct epitem) + sizeof(struct eppoll_entry))
113 struct epitem *base;
131 struct epitem { struct
146 struct epitem *next; argument
208 struct epitem *ovflist;
248 struct epitem *epi;
305 struct epitem *epi= container_of(p, struct epitem, fllink); in unlist_file()
366 static inline int ep_is_linked(struct epitem *epi) in ep_is_linked()
377 static inline struct epitem *ep_item_from_wait(wait_queue_entry_t *p) in ep_item_from_wait()
472 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
569 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
616 static void ep_poll_safewake(struct eventpoll *ep, struct epitem *epi, in ep_poll_safewake()
655 static void ep_poll_safewake(struct eventpoll *ep, struct epitem *epi, in ep_poll_safewake()
684 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi) in ep_unregister_pollwait()
697 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
703 static inline void ep_pm_stay_awake(struct epitem *epi) in ep_pm_stay_awake()
711 static inline bool ep_has_wakeup_source(struct epitem *epi) in ep_has_wakeup_source()
717 static inline void ep_pm_stay_awake_rcu(struct epitem *epi) in ep_pm_stay_awake_rcu()
753 struct epitem *epi, *nepi; in ep_done_scan()
833 static bool __ep_remove(struct eventpoll *ep, struct epitem *epi, bool force) in __ep_remove()
893 static void ep_remove_safe(struct eventpoll *ep, struct epitem *epi) in ep_remove_safe()
902 struct epitem *epi; in ep_clear_and_put()
914 epi = rb_entry(rbp, struct epitem, rbn); in ep_clear_and_put()
930 epi = rb_entry(rbp, struct epitem, rbn); in ep_clear_and_put()
971 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, int depth);
977 struct epitem *epi, *tmp; in __ep_eventpoll_poll()
1029 static struct file *epi_fget(const struct epitem *epi) in epi_fget()
1044 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, in ep_item_poll()
1079 struct epitem *epi = rb_entry(rbp, struct epitem, rbn); in ep_show_fdinfo()
1115 struct epitem *epi; in eventpoll_release_file()
1126 epi = hlist_entry(file->f_ep->first, struct epitem, fllink); in eventpoll_release_file()
1174 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd) in ep_find()
1178 struct epitem *epi, *epir = NULL; in ep_find()
1183 epi = rb_entry(rbp, struct epitem, rbn); in ep_find()
1199 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd()
1202 struct epitem *epi; in ep_find_tfd()
1205 epi = rb_entry(rbp, struct epitem, rbn); in ep_find_tfd()
1223 struct epitem *epi; in get_epoll_tfile_raw_ptr()
1250 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1362 struct epitem *epi = epq->epi; in ep_ptable_queue_proc()
1385 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi) in ep_rbtree_insert()
1389 struct epitem *epic; in ep_rbtree_insert()
1394 epic = rb_entry(parent, struct epitem, rbn); in ep_rbtree_insert()
1445 struct epitem *epi; in reverse_path_check_proc()
1489 static int ep_create_wakeup_source(struct epitem *epi) in ep_create_wakeup_source()
1512 static noinline void ep_destroy_wakeup_source(struct epitem *epi) in ep_destroy_wakeup_source()
1527 static int attach_epitem(struct file *file, struct epitem *epi) in attach_epitem()
1569 struct epitem *epi; in ep_insert()
1691 static int ep_modify(struct eventpoll *ep, struct epitem *epi, in ep_modify()
1766 struct epitem *epi, *tmp; in ep_send_events()
2071 struct epitem *epi; in ep_loop_check_proc()
2079 epi = rb_entry(rbp, struct epitem, rbn); in ep_loop_check_proc()
2111 struct epitem *epi; in ep_get_upwards_depth_proc()
2242 struct epitem *epi; in do_epoll_ctl()
2603 BUILD_BUG_ON(sizeof(void *) <= 8 && sizeof(struct epitem) > 128); in eventpoll_init()
2606 epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem), in eventpoll_init()