Searched refs:eventpoll (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | eventpoll.h | 2 * include/linux/eventpoll.h ( Efficient event polling implementation ) 16 #include <uapi/linux/eventpoll.h> 38 * from the eventpoll interface. We need to have this facility to cleanup 39 * correctly files that are closed without being removed from the eventpoll 51 * eventpoll ) has still a reference to this file. eventpoll_release()
|
H A D | compat.h | 446 * epoll (fs/eventpoll.c) compat bits follow ...
|
H A D | fs.h | 860 /* Used by fs/eventpoll.c to link all the hooks to this file */
|
/linux-4.1.27/fs/ |
H A D | eventpoll.c | 2 * fs/eventpoll.c (Efficient event retrieval implementation) 31 #include <linux/eventpoll.h> 131 * Each file descriptor added to the eventpoll interface will 138 /* RB tree node links this structure to the eventpoll RB tree */ 144 /* List header used to link this structure to the eventpoll ready list */ 148 * Works together "struct eventpoll"->ovflist in keeping the 163 struct eventpoll *ep; 177 * structure and represents the main data structure for the eventpoll 180 struct eventpoll { struct 214 /* The user that created the eventpoll descriptor */ 372 * @ep: Pointer to the eventpoll context. 377 static inline int ep_events_available(struct eventpoll *ep) ep_events_available() 533 static void ep_unregister_pollwait(struct eventpoll *ep, struct epitem *epi) ep_unregister_pollwait() 592 static int ep_scan_ready_list(struct eventpoll *ep, ep_scan_ready_list() 593 int (*sproc)(struct eventpoll *, ep_scan_ready_list() 662 * Wake up (if active) both the eventpoll wait list and ep_scan_ready_list() 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() 721 * At this point it is safe to free the eventpoll item. Use the union ep_remove() 734 static void ep_free(struct eventpoll *ep) ep_free() 745 * eventpoll_release_file() while we're freeing the "struct eventpoll". ep_free() 788 struct eventpoll *ep = file->private_data; ep_eventpoll_release() 803 static int ep_read_events_proc(struct eventpoll *ep, struct list_head *head, ep_read_events_proc() 832 struct eventpoll *ep; 847 struct eventpoll *ep = file->private_data; ep_eventpoll_poll() 875 struct eventpoll *ep = f->private_data; ep_show_fdinfo() 892 /* File callbacks that implement the eventpoll file behaviour */ 903 * This is called from eventpoll_release() to unlink files from the eventpoll 905 * closed without being removed from the eventpoll interface. 909 struct eventpoll *ep; eventpoll_release_file() 935 static int ep_alloc(struct eventpoll **pep) ep_alloc() 939 struct eventpoll *ep; ep_alloc() 966 * Search the file inside the eventpoll tree. The RB tree operations 970 static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd) ep_find() 1004 struct eventpoll *ep = epi->ep; ep_poll_callback() 1066 * Wake up ( if active ) both the eventpoll wait list and the ->poll() ep_poll_callback() 1107 static void ep_rbtree_insert(struct eventpoll *ep, struct epitem *epi) ep_rbtree_insert() 1202 * eventpoll objects. 1230 epi->ep->ws = wakeup_source_register("eventpoll"); ep_create_wakeup_source() 1264 static int ep_insert(struct eventpoll *ep, struct epoll_event *event, ep_insert() 1392 static int ep_modify(struct eventpoll *ep, struct epitem *epi, struct epoll_event *event) ep_modify() 1466 static int ep_send_events_proc(struct eventpoll *ep, struct list_head *head, ep_send_events_proc() 1546 static int ep_send_events(struct eventpoll *ep, ep_send_events() 1572 * @ep: Pointer to the eventpoll context. 1585 static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, ep_poll() 1683 struct eventpoll *ep = file->private_data; ep_loop_check_proc() 1684 struct eventpoll *ep_tovisit; ep_loop_check_proc() 1732 static int ep_loop_check(struct eventpoll *ep, struct file *file) ep_loop_check() 1735 struct eventpoll *ep_cur, *ep_next; ep_loop_check() 1762 * Open an eventpoll file descriptor. 1767 struct eventpoll *ep = NULL; SYSCALL_DEFINE1() 1776 * Create the internal data structure ("struct eventpoll"). SYSCALL_DEFINE1() 1782 * Creates all the items needed to setup an eventpoll file. That is, SYSCALL_DEFINE1() 1790 file = anon_inode_getfile("[eventpoll]", &eventpoll_fops, ep, SYSCALL_DEFINE1() 1817 * the eventpoll file that enables the insertion/removal/change of 1826 struct eventpoll *ep; SYSCALL_DEFINE4() 1829 struct eventpoll *tep = NULL; SYSCALL_DEFINE4() 1857 * the user passed to us _is_ an eventpoll file. And also we do not permit SYSCALL_DEFINE4() 1958 * Implement the event wait interface for the eventpoll file. It is the kernel 1966 struct eventpoll *ep; SYSCALL_DEFINE4() 1976 /* Get the "struct file *" for the eventpoll file */ SYSCALL_DEFINE4() 1983 * the user passed to us _is_ an eventpoll file. SYSCALL_DEFINE4() 2004 * Implement the event wait interface for the eventpoll file. It is the kernel
|
H A D | Makefile | 25 obj-$(CONFIG_EPOLL) += eventpoll.o
|
H A D | file_table.c | 16 #include <linux/eventpoll.h>
|
/linux-4.1.27/include/uapi/linux/ |
H A D | eventpoll.h | 2 * include/linux/eventpoll.h ( Efficient event polling implementation )
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 80 #include <linux/eventpoll.h>
|
/linux-4.1.27/include/uapi/asm-generic/ |
H A D | unistd.h | 81 /* fs/eventpoll.c */
|
Completed in 315 milliseconds