Lines Matching refs:epoll_fd
96 int epoll_fd; member
336 safe_close(e->epoll_fd); in event_free()
374 .epoll_fd = -1, in sd_event_new()
399 e->epoll_fd = epoll_create1(EPOLL_CLOEXEC); in sd_event_new()
400 if (e->epoll_fd < 0) { in sd_event_new()
405 e->epoll_fd = fd_move_above_stdio(e->epoll_fd); in sd_event_new()
447 if (epoll_ctl(s->event->epoll_fd, EPOLL_CTL_DEL, s->io.fd, NULL) < 0) in source_io_unregister()
468 if (epoll_ctl(s->event->epoll_fd, in source_io_register()
489 if (epoll_ctl(s->event->epoll_fd, EPOLL_CTL_DEL, s->child.pidfd, NULL) < 0) in source_child_pidfd_unregister()
507 if (epoll_ctl(s->event->epoll_fd, in source_child_pidfd_register()
673 if (epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, d->fd, &ev) < 0) { in event_make_signal_data()
1169 if (epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, fd, &ev) < 0) in event_setup_timer_fd()
1702 epoll_ctl(e->epoll_fd, EPOLL_CTL_DEL, d->fd, NULL) < 0) in event_free_inotify_data()
1756 if (epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, d->fd, &ev) < 0) { in event_make_inotify_data()
2225 (void) epoll_ctl(s->event->epoll_fd, EPOLL_CTL_DEL, saved_fd, NULL); in sd_event_source_set_io_fd()
3962 e->epoll_fd, in process_epoll()
4270 return e->epoll_fd; in sd_event_get_fd()
4395 if (epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, e->watchdog_fd, &ev) < 0) { in sd_event_set_watchdog()
4402 (void) epoll_ctl(e->epoll_fd, EPOLL_CTL_DEL, e->watchdog_fd, NULL); in sd_event_set_watchdog()