Lines Matching refs:epitem

104 #define EP_ITEM_COST (sizeof(struct epitem) + sizeof(struct eppoll_entry))
136 struct epitem { struct
151 struct epitem *next; argument
209 struct epitem *ovflist;
230 struct epitem *base;
245 struct epitem *epi;
345 static inline struct epitem *ep_item_from_wait(wait_queue_t *p) in ep_item_from_wait()
351 static inline struct epitem *ep_item_from_epqueue(poll_table *p) in ep_item_from_epqueue()
533 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi) in ep_unregister_pollwait()
548 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
554 static inline void ep_pm_stay_awake(struct epitem *epi) in ep_pm_stay_awake()
562 static inline bool ep_has_wakeup_source(struct epitem *epi) in ep_has_wakeup_source()
568 static inline void ep_pm_stay_awake_rcu(struct epitem *epi) in ep_pm_stay_awake_rcu()
599 struct epitem *epi, *nepi; in ep_scan_ready_list()
684 struct epitem *epi = container_of(head, struct epitem, rcu); in epi_rcu_free()
692 static int ep_remove(struct eventpoll *ep, struct epitem *epi) in ep_remove()
737 struct epitem *epi; in ep_free()
757 epi = rb_entry(rbp, struct epitem, rbn); in ep_free()
773 epi = rb_entry(rbp, struct epitem, rbn); in ep_free()
796 static inline unsigned int ep_item_poll(struct epitem *epi, poll_table *pt) in ep_item_poll()
806 struct epitem *epi, *tmp; in ep_read_events_proc()
880 struct epitem *epi = rb_entry(rbp, struct epitem, rbn); in ep_show_fdinfo()
910 struct epitem *epi, *next; in eventpoll_release_file()
970 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd) in ep_find()
974 struct epitem *epi, *epir = NULL; in ep_find()
979 epi = rb_entry(rbp, struct epitem, rbn); in ep_find()
1003 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1091 struct epitem *epi = ep_item_from_epqueue(pt); in ep_ptable_queue_proc()
1107 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi) in ep_rbtree_insert()
1111 struct epitem *epic; in ep_rbtree_insert()
1115 epic = rb_entry(parent, struct epitem, rbn); in ep_rbtree_insert()
1167 struct epitem *epi; in reverse_path_check_proc()
1224 static int ep_create_wakeup_source(struct epitem *epi) in ep_create_wakeup_source()
1246 static noinline void ep_destroy_wakeup_source(struct epitem *epi) in ep_destroy_wakeup_source()
1270 struct epitem *epi; in ep_insert()
1392 static int ep_modify(struct eventpoll *ep, struct epitem *epi, struct epoll_event *event) in ep_modify()
1472 struct epitem *epi; in ep_send_events_proc()
1486 epi = list_first_entry(head, struct epitem, rdllink); in ep_send_events_proc()
1686 struct epitem *epi; in ep_loop_check_proc()
1692 epi = rb_entry(rbp, struct epitem, rbn); in ep_loop_check_proc()
1827 struct epitem *epi; in SYSCALL_DEFINE4()
2121 BUILD_BUG_ON(sizeof(void *) <= 8 && sizeof(struct epitem) > 128); in eventpoll_init()
2124 epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem), in eventpoll_init()