Lines Matching refs:epollfd
267 static int epollfd; variable
681 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, data_sock[dsock_idx].sock, &epev) == -1) { in ctrl_data_close()
1511 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, data_sock[free_dscock_idx].sock, &epev) == -1) { in ctrl_connect_handler()
1998 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, last_kill_pid_or_fd, &epev)) { in stop_wait_for_proc_kill()
2034 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, last_kill_pid_or_fd, &epev) != 0) { in start_wait_for_proc_kill()
2788 if (register_psi_monitor(epollfd, fd, &vmpressure_hinfo[level]) < 0) { in init_mp_psi()
2805 if (unregister_psi_monitor(epollfd, fd) < 0) { in destroy_mp_psi()
2892 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); in init_mp_common()
2920 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, &epev)) { in destroy_mp_common()
2982 epollfd = epoll_create(MAX_EPOLL_EVENTS); in init()
2983 if (epollfd == -1) { in init()
3008 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_sock.sock, &epev) == -1) { in init()
3022 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, kpoll_fd, &epev) != 0) { in init()
3149 nevents = epoll_wait(epollfd, events, maxevents, delay); in mainloop()
3164 nevents = (delay > 0) ? epoll_wait(epollfd, events, maxevents, delay) : 0; in mainloop()
3175 nevents = epoll_wait(epollfd, events, maxevents, -1); in mainloop()