Lines Matching refs:epoll_fd

843       return add_to_fd_set (daemon->epoll_fd, read_fd_set, max_fd, fd_setsize);  in MHD_get_fdset2()
1632 if (0 != epoll_ctl (daemon->epoll_fd, in internal_add_connection()
1754 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_suspend_connection()
2102 (MHD_INVALID_SOCKET != daemon->epoll_fd) && in MHD_cleanup_connections()
2111 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_cleanup_connections()
2264 if (daemon->epoll_fd >= FD_SETSIZE) in MHD_run_from_select()
2266 if (FD_ISSET (daemon->epoll_fd, read_fd_set)) in MHD_run_from_select()
2732 if (-1 == daemon->epoll_fd) in MHD_epoll()
2742 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_epoll()
2761 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_epoll()
2792 num_events = epoll_wait (daemon->epoll_fd, in MHD_epoll()
3083 (-1 != daemon->worker_pool[i].epoll_fd) && in MHD_quiesce_daemon()
3086 if (0 != epoll_ctl (daemon->worker_pool[i].epoll_fd, in MHD_quiesce_daemon()
3098 (-1 != daemon->epoll_fd) && in MHD_quiesce_daemon()
3101 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_quiesce_daemon()
3526 daemon->epoll_fd = epoll_create1 (EPOLL_CLOEXEC); in setup_epoll_to_listen()
3528 daemon->epoll_fd = epoll_create (MAX_EVENTS); in setup_epoll_to_listen()
3530 if (-1 == daemon->epoll_fd) in setup_epoll_to_listen()
3542 int fdflags = fcntl (daemon->epoll_fd, F_GETFD); in setup_epoll_to_listen()
3543 if (0 > fdflags || 0 > fcntl (daemon->epoll_fd, F_SETFD, fdflags | FD_CLOEXEC)) in setup_epoll_to_listen()
3555 daemon->epoll_fd); in setup_epoll_to_listen()
3560 if (0 != epoll_ctl (daemon->epoll_fd, in setup_epoll_to_listen()
3578 if (0 != epoll_ctl (daemon->epoll_fd, in setup_epoll_to_listen()
3657 daemon->epoll_fd = -1; in MHD_start_daemon_va()
4302 if (-1 != daemon->epoll_fd) in MHD_start_daemon_va()
4303 close (daemon->epoll_fd); in MHD_start_daemon_va()
4415 if (0 != epoll_ctl (daemon->epoll_fd, in epoll_shutdown()
4451 (-1 != daemon->worker_pool[i].epoll_fd) && in MHD_stop_daemon()
4472 (-1 != daemon->epoll_fd) && in MHD_stop_daemon()
4501 if ( (-1 != daemon->worker_pool[i].epoll_fd) && in MHD_stop_daemon()
4502 (0 != MHD_socket_close_ (daemon->worker_pool[i].epoll_fd)) ) in MHD_stop_daemon()
4545 (-1 != daemon->epoll_fd) && in MHD_stop_daemon()
4546 (0 != MHD_socket_close_ (daemon->epoll_fd)) ) in MHD_stop_daemon()
4594 return (const union MHD_DaemonInfo *) &daemon->epoll_fd; in MHD_get_daemon_info()