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()
348 static inline int ep_is_linked(struct epitem *epi) in ep_is_linked()
359 static inline struct epitem *ep_item_from_wait(wait_queue_entry_t *p) in ep_item_from_wait()
415 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
454 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
487 static void ep_poll_safewake(struct eventpoll *ep, struct epitem *epi) in ep_poll_safewake()
525 static void ep_poll_safewake(struct eventpoll *ep, struct epitem *epi) in ep_poll_safewake()
554 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi) in ep_unregister_pollwait()
567 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
573 static inline void ep_pm_stay_awake(struct epitem *epi) in ep_pm_stay_awake()
581 static inline bool ep_has_wakeup_source(struct epitem *epi) in ep_has_wakeup_source()
587 static inline void ep_pm_stay_awake_rcu(struct epitem *epi) in ep_pm_stay_awake_rcu()
623 struct epitem *epi, *nepi; in ep_done_scan()
671 struct epitem *epi = container_of(head, struct epitem, rcu); in epi_rcu_free()
679 static int ep_remove(struct eventpoll *ep, struct epitem *epi) in ep_remove()
734 struct epitem *epi; in ep_free()
754 epi = rb_entry(rbp, struct epitem, rbn); in ep_free()
770 epi = rb_entry(rbp, struct epitem, rbn); in ep_free()
793 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, int depth);
799 struct epitem *epi, *tmp; in __ep_eventpoll_poll()
838 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, in ep_item_poll()
865 struct epitem *epi = rb_entry(rbp, struct epitem, rbn); in ep_show_fdinfo()
899 struct epitem *epi; in eventpoll_release_file()
964 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd) in ep_find()
968 struct epitem *epi, *epir = NULL; in ep_find()
973 epi = rb_entry(rbp, struct epitem, rbn); in ep_find()
989 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd()
992 struct epitem *epi; in ep_find_tfd()
995 epi = rb_entry(rbp, struct epitem, rbn); in ep_find_tfd()
1013 struct epitem *epi; in get_epoll_tfile_raw_ptr()
1091 static inline bool chain_epi_lockless(struct epitem *epi) in chain_epi_lockless()
1130 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1236 struct epitem *epi = epq->epi; in ep_ptable_queue_proc()
1259 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi) in ep_rbtree_insert()
1263 struct epitem *epic; in ep_rbtree_insert()
1268 epic = rb_entry(parent, struct epitem, rbn); in ep_rbtree_insert()
1319 struct epitem *epi; in reverse_path_check_proc()
1363 static int ep_create_wakeup_source(struct epitem *epi) in ep_create_wakeup_source()
1386 static noinline void ep_destroy_wakeup_source(struct epitem *epi) in ep_destroy_wakeup_source()
1401 static int attach_epitem(struct file *file, struct epitem *epi) in attach_epitem()
1442 struct epitem *epi; in ep_insert()
1558 static int ep_modify(struct eventpoll *ep, struct epitem *epi, in ep_modify()
1633 struct epitem *epi, *tmp; in ep_send_events()
1893 struct epitem *epi; in ep_loop_check_proc()
1898 epi = rb_entry(rbp, struct epitem, rbn); in ep_loop_check_proc()
2033 struct epitem *epi; in do_epoll_ctl()
2372 BUILD_BUG_ON(sizeof(void *) <= 8 && sizeof(struct epitem) > 128); in eventpoll_init()
2375 epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem), in eventpoll_init()