Searched refs:epitem (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/fs/ |
H A D | eventpoll.c | 104 #define EP_ITEM_COST (sizeof(struct epitem) + sizeof(struct eppoll_entry)) 136 struct epitem { struct 140 /* Used to free the struct epitem */ 151 struct epitem *next; 205 * This is a single linked list that chains all the "struct epitem" that 209 struct epitem *ovflist; 226 /* List header used to link this structure to the "struct epitem" */ 229 /* The "base" pointer is set to the container "struct epitem" */ 230 struct epitem *base; 245 struct epitem *epi; 274 /* Slab cache used to allocate "struct epitem" */ 344 /* Get the "struct epitem" from a wait queue pointer */ ep_item_from_wait() 345 static inline struct epitem *ep_item_from_wait(wait_queue_t *p) ep_item_from_wait() 350 /* Get the "struct epitem" from an epoll queue wrapper */ ep_item_from_epqueue() 351 static inline struct epitem *ep_item_from_epqueue(poll_table *p) ep_item_from_epqueue() 533 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi) ep_unregister_pollwait() 548 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) ep_wakeup_source() 554 static inline void ep_pm_stay_awake(struct epitem *epi) ep_pm_stay_awake() 562 static inline bool ep_has_wakeup_source(struct epitem *epi) ep_has_wakeup_source() 568 static inline void ep_pm_stay_awake_rcu(struct epitem *epi) ep_pm_stay_awake_rcu() 599 struct epitem *epi, *nepi; ep_scan_ready_list() 684 struct epitem *epi = container_of(head, struct epitem, rcu); epi_rcu_free() 689 * Removes a "struct epitem" from the eventpoll RB tree and deallocates 692 static int ep_remove(struct eventpoll *ep, struct epitem *epi) ep_remove() 723 * 'struct epitem'. The 'rbn' field is no longer in use. Protected by ep_remove() 737 struct epitem *epi; ep_free() 757 epi = rb_entry(rbp, struct epitem, rbn); ep_free() 764 * Walks through the whole tree by freeing each "struct epitem". At this ep_free() 773 epi = rb_entry(rbp, struct epitem, rbn); ep_free() 796 static inline unsigned int ep_item_poll(struct epitem *epi, poll_table *pt) ep_item_poll() 806 struct epitem *epi, *tmp; ep_read_events_proc() 880 struct epitem *epi = rb_entry(rbp, struct epitem, rbn); ep_show_fdinfo() 910 struct epitem *epi, *next; eventpoll_release_file() 970 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd) ep_find() 974 struct epitem *epi, *epir = NULL; ep_find() 979 epi = rb_entry(rbp, struct epitem, rbn); ep_find() 1003 struct epitem *epi = ep_item_from_wait(wait); ep_poll_callback() 1091 struct epitem *epi = ep_item_from_epqueue(pt); ep_ptable_queue_proc() 1107 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi) ep_rbtree_insert() 1111 struct epitem *epic; ep_rbtree_insert() 1115 epic = rb_entry(parent, struct epitem, rbn); ep_rbtree_insert() 1167 struct epitem *epi; reverse_path_check_proc() 1224 static int ep_create_wakeup_source(struct epitem *epi) ep_create_wakeup_source() 1246 static noinline void ep_destroy_wakeup_source(struct epitem *epi) ep_destroy_wakeup_source() 1270 struct epitem *epi; ep_insert() 1392 static int ep_modify(struct eventpoll *ep, struct epitem *epi, struct epoll_event *event) ep_modify() 1472 struct epitem *epi; ep_send_events_proc() 1486 epi = list_first_entry(head, struct epitem, rdllink); ep_send_events_proc() 1686 struct epitem *epi; ep_loop_check_proc() 1692 epi = rb_entry(rbp, struct epitem, rbn); ep_loop_check_proc() 1827 struct epitem *epi; SYSCALL_DEFINE4() 2121 BUILD_BUG_ON(sizeof(void *) <= 8 && sizeof(struct epitem) > 128); eventpoll_init() 2123 /* Allocates slab cache used to allocate "struct epitem" items */ eventpoll_init() 2124 epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem), eventpoll_init()
|
Completed in 139 milliseconds