Lines Matching refs:ev
463 struct epoll_event ev = { in source_io_register() local
470 s->io.fd, &ev) < 0) in source_io_register()
502 struct epoll_event ev = { in source_child_pidfd_register() local
509 s->child.pidfd, &ev) < 0) in source_child_pidfd_register()
668 struct epoll_event ev = { in event_make_signal_data() local
673 if (epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, d->fd, &ev) < 0) { in event_make_signal_data()
1164 struct epoll_event ev = { in event_setup_timer_fd() local
1169 if (epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, fd, &ev) < 0) in event_setup_timer_fd()
1751 struct epoll_event ev = { in event_make_inotify_data() local
1756 if (epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, d->fd, &ev) < 0) { in event_make_inotify_data()
3449 sz = offsetof(struct inotify_event, name) + d->buffer.ev.len; in event_inotify_data_process()
3453 if (d->buffer.ev.mask & IN_Q_OVERFLOW) { in event_inotify_data_process()
3474 if (d->buffer.ev.mask & IN_IGNORED) { in event_inotify_data_process()
3476 inode_data = hashmap_remove(d->wd, INT_TO_PTR(d->buffer.ev.wd)); in event_inotify_data_process()
3485 inode_data = hashmap_get(d->wd, INT_TO_PTR(d->buffer.ev.wd)); in event_inotify_data_process()
3499 if ((d->buffer.ev.mask & (IN_IGNORED|IN_UNMOUNT)) == 0 && in event_inotify_data_process()
3500 (s->inotify.mask & d->buffer.ev.mask & IN_ALL_EVENTS) == 0) in event_inotify_data_process()
3643 sz = offsetof(struct inotify_event, name) + d->buffer.ev.len; in source_dispatch()
3653 r = s->inotify.callback(s, &d->buffer.ev, s->userdata); in source_dispatch()
4390 struct epoll_event ev = { in sd_event_set_watchdog() local
4395 if (epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, e->watchdog_fd, &ev) < 0) { in sd_event_set_watchdog()