Lines Matching defs:events
81 struct udev_list_node events;
175 if (udev_list_node_is_empty(&event->manager->events)) {
338 /* listen for new events */
355 struct epoll_event ep_signal = { .events = EPOLLIN };
356 struct epoll_event ep_monitor = { .events = EPOLLIN };
508 if (ev[i].data.fd == fd_monitor && ev[i].events & EPOLLIN) {
511 } else if (ev[i].data.fd == fd_signal && ev[i].events & EPOLLIN) {
594 /* only one process can add events to the queue */
622 if (udev_list_node_is_empty(&manager->events)) {
628 udev_list_node_append(&event->node, &manager->events);
653 /* check if queue contains events we depend on */
654 udev_list_node_foreach(loop, &manager->events) {
744 /* close sources of new events and discard buffered events */
754 /* discard queued events and kill workers */
790 if (udev_list_node_is_empty(&manager->events) ||
813 udev_list_node_foreach(loop, &manager->events) {
830 udev_list_node_foreach_safe(loop, tmp, &manager->events) {
906 /* we have free workers, try to schedule events */
926 /* we have fresh events, try to schedule them */
1233 /* we can start new workers, try to schedule events */
1245 if (udev_list_node_is_empty(&manager->events)) {
1246 /* no pending events */
1357 * udev.children-max=<number of workers> events are fully serialized if set to 1
1525 udev_list_node_init(&manager->events);
1588 * (including the synthetic ones we may create due to inotify events).