Searched defs:epoll_fd (Results 1 - 4 of 4) sorted by relevance
/systemd/src/initctl/ |
H A D | initctl.c | 47 int epoll_fd; member in struct:Server 238 epoll_ctl(f->server->epoll_fd, EPOLL_CTL_DEL, f->fd, NULL); 252 safe_close(s->epoll_fd); 269 s->epoll_fd = epoll_create1(EPOLL_CLOEXEC); 270 if (s->epoll_fd < 0) { 307 if (epoll_ctl(s->epoll_fd, EPOLL_CTL_ADD, fd, &ev) < 0) { 401 k = epoll_wait(server.epoll_fd, &event, 1, TIMEOUT_MSEC);
|
/systemd/src/activate/ |
H A D | activate.c | 46 static int add_epoll(int epoll_fd, int fd) { argument 52 assert(epoll_fd >= 0); 56 r = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev); 58 return log_error_errno(errno, "Failed to add event on epoll fd:%d for fd:%d: %m", epoll_fd, fd); 63 static int open_sockets(int *epoll_fd, bool accept) { argument 113 *epoll_fd = epoll_create1(EPOLL_CLOEXEC); 114 if (*epoll_fd < 0) 123 r = add_epoll(*epoll_fd, fd); 466 int epoll_fd = -1; local 479 n = open_sockets(&epoll_fd, arg_accep [all...] |
/systemd/src/journal-remote/ |
H A D | journal-remote.c | 660 int r, epoll_fd; local 712 epoll_fd = info->listen_fd; 713 if (epoll_fd < 0) { 720 epoll_fd, EPOLLIN,
|
/systemd/src/libsystemd/sd-event/ |
H A D | sd-event.c | 189 int epoll_fd; member in struct:sd_event 405 safe_close(e->epoll_fd); 437 e->watchdog_fd = e->epoll_fd = e->realtime.fd = e->boottime.fd = e->monotonic.fd = e->realtime_alarm.fd = e->boottime_alarm.fd = -1; 447 e->epoll_fd = epoll_create1(EPOLL_CLOEXEC); 448 if (e->epoll_fd < 0) { 512 r = epoll_ctl(s->event->epoll_fd, EPOLL_CTL_DEL, s->io.fd, NULL); 539 r = epoll_ctl(s->event->epoll_fd, EPOLL_CTL_MOD, s->io.fd, &ev); 541 r = epoll_ctl(s->event->epoll_fd, EPOLL_CTL_ADD, s->io.fd, &ev); 696 r = epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, d->fd, &ev); 1040 r = epoll_ctl(e->epoll_fd, EPOLL_CTL_AD [all...] |
Completed in 21 milliseconds