Lines Matching refs:epitem
110 #define EP_ITEM_COST (sizeof(struct epitem) + sizeof(struct eppoll_entry))
142 struct epitem { struct
157 struct epitem *next; argument
214 struct epitem *ovflist;
239 struct epitem *base;
254 struct epitem *epi;
337 static inline int ep_is_linked(struct epitem *epi) in ep_is_linked()
348 static inline struct epitem *ep_item_from_wait(wait_queue_entry_t *p) in ep_item_from_wait()
354 static inline struct epitem *ep_item_from_epqueue(poll_table *p) in ep_item_from_epqueue()
416 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
459 static inline void ep_set_busy_poll_napi_id(struct epitem *epi) in ep_set_busy_poll_napi_id()
611 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi) in ep_unregister_pollwait()
626 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
632 static inline void ep_pm_stay_awake(struct epitem *epi) in ep_pm_stay_awake()
640 static inline bool ep_has_wakeup_source(struct epitem *epi) in ep_has_wakeup_source()
646 static inline void ep_pm_stay_awake_rcu(struct epitem *epi) in ep_pm_stay_awake_rcu()
677 struct epitem *epi, *nepi; in ep_scan_ready_list()
764 struct epitem *epi = container_of(head, struct epitem, rcu); in epi_rcu_free()
772 static int ep_remove(struct eventpoll *ep, struct epitem *epi) in ep_remove()
813 struct epitem *epi; in ep_free()
833 epi = rb_entry(rbp, struct epitem, rbn); in ep_free()
849 epi = rb_entry(rbp, struct epitem, rbn); in ep_free()
882 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, in ep_item_poll()
904 struct epitem *epi, *tmp; in ep_read_events_proc()
952 struct epitem *epi = rb_entry(rbp, struct epitem, rbn); in ep_show_fdinfo()
986 struct epitem *epi, *next; in eventpoll_release_file()
1045 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd) in ep_find()
1049 struct epitem *epi, *epir = NULL; in ep_find()
1054 epi = rb_entry(rbp, struct epitem, rbn); in ep_find()
1070 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd()
1073 struct epitem *epi; in ep_find_tfd()
1076 epi = rb_entry(rbp, struct epitem, rbn); in ep_find_tfd()
1094 struct epitem *epi; in get_epoll_tfile_raw_ptr()
1122 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1239 struct epitem *epi = ep_item_from_epqueue(pt); in ep_ptable_queue_proc()
1258 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi) in ep_rbtree_insert()
1262 struct epitem *epic; in ep_rbtree_insert()
1267 epic = rb_entry(parent, struct epitem, rbn); in ep_rbtree_insert()
1320 struct epitem *epi; in reverse_path_check_proc()
1377 static int ep_create_wakeup_source(struct epitem *epi) in ep_create_wakeup_source()
1400 static noinline void ep_destroy_wakeup_source(struct epitem *epi) in ep_destroy_wakeup_source()
1424 struct epitem *epi; in ep_insert()
1550 static int ep_modify(struct eventpoll *ep, struct epitem *epi, in ep_modify()
1627 struct epitem *epi; in ep_send_events_proc()
1641 epi = list_first_entry(head, struct epitem, rdllink); in ep_send_events_proc()
1866 struct epitem *epi; in ep_loop_check_proc()
1871 epi = rb_entry(rbp, struct epitem, rbn); in ep_loop_check_proc()
2004 struct epitem *epi; in SYSCALL_DEFINE4()
2318 BUILD_BUG_ON(sizeof(void *) <= 8 && sizeof(struct epitem) > 128); in eventpoll_init()
2321 epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem), in eventpoll_init()