• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/

Lines Matching refs:epitem

87 #define EP_ITEM_COST (sizeof(struct epitem) + sizeof(struct eppoll_entry))
117 struct epitem {
128 struct epitem *next;
179 * This is a single linked list that chains all the "struct epitem" that
183 struct epitem *ovflist;
191 /* List header used to link this structure to the "struct epitem" */
194 /* The "base" pointer is set to the container "struct epitem" */
195 struct epitem *base;
210 struct epitem *epi;
236 /* Slab cache used to allocate "struct epitem" */
284 /* Get the "struct epitem" from a wait queue pointer */
285 static inline struct epitem *ep_item_from_wait(wait_queue_t *p)
290 /* Get the "struct epitem" from an epoll queue wrapper */
291 static inline struct epitem *ep_item_from_epqueue(poll_table *p)
423 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi)
455 struct epitem *epi, *nepi;
533 * Removes a "struct epitem" from the eventpoll RB tree and deallocates
536 static int ep_remove(struct eventpoll *ep, struct epitem *epi)
575 struct epitem *epi;
595 epi = rb_entry(rbp, struct epitem, rbn);
601 * Walks through the whole tree by freeing each "struct epitem". At this
607 epi = rb_entry(rbp, struct epitem, rbn);
630 struct epitem *epi, *tmp;
695 struct epitem *epi;
713 epi = list_first_entry(lsthead, struct epitem, fllink);
760 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd)
764 struct epitem *epi, *epir = NULL;
769 epi = rb_entry(rbp, struct epitem, rbn);
793 struct epitem *epi = ep_item_from_wait(wait);
860 struct epitem *epi = ep_item_from_epqueue(pt);
876 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi)
880 struct epitem *epic;
884 epic = rb_entry(parent, struct epitem, rbn);
903 struct epitem *epi;
1002 static int ep_modify(struct eventpoll *ep, struct epitem *epi, struct epoll_event *event)
1052 struct epitem *epi;
1062 epi = list_first_entry(head, struct epitem, rdllink);
1234 struct epitem *epi;
1432 /* Allocates slab cache used to allocate "struct epitem" items */
1433 epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem),