Searched defs:events (Results 1 - 11 of 11) sorted by relevance

/systemd/src/journal-remote/
H A Djournal-remote.h44 sd_event *events; member in struct:RemoteServer
H A Djournal-upload-journal.c365 int fd, r, events; local
376 events = sd_journal_get_events(j);
385 r = sd_event_add_io(u->events, &u->input_event,
386 fd, events, dispatch_journal_input, u);
390 log_debug("Listening for journal events on fd:%d, timeout %d",
393 log_debug("Not listening for journal events.");
H A Djournal-upload.h23 sd_event *events; member in struct:Uploader
/systemd/src/network/
H A Dnetworkd-wait-online-manager.c244 int r, fd, events; local
256 events = sd_network_monitor_get_events(m->network_monitor);
257 if (events < 0)
258 return events;
261 fd, events, &on_network_event, m);
/systemd/src/import/
H A Dcurl-util.c72 uint32_t events = 0; local
112 events = EPOLLIN;
114 events = EPOLLOUT;
116 events = EPOLLIN|EPOLLOUT;
119 if (sd_event_source_set_io_events(io, events) < 0)
137 if (sd_event_add_io(g->event, &io, fd, events, curl_glue_on_io, g) < 0)
/systemd/src/core/
H A Dautomount.c77 static int automount_dispatch_io(sd_event_source *s, int fd, uint32_t events, void *userdata);
588 * the direct mount will not receive events from the
909 static int automount_dispatch_io(sd_event_source *s, int fd, uint32_t events, void *userdata) { argument
920 if (events != EPOLLIN) {
921 log_unit_error(UNIT(a), "Got invalid poll event %"PRIu32" on pipe (fd=%d)", events, fd); local
H A Dservice.c97 static int service_dispatch_io(sd_event_source *source, int fd, uint32_t events, void *userdata);
2467 static int service_dispatch_io(sd_event_source *source, int fd, uint32_t events, void *userdata) { argument
2483 if (path_spec_fd_event(p, events) < 0)
2511 * why we ignore the cgroup events for most cases,
/systemd/src/resolve/
H A Dresolved-manager.c295 int r, fd, events; local
307 events = sd_network_monitor_get_events(m->network_monitor);
308 if (events < 0)
309 return events;
311 r = sd_event_add_io(m->event, &m->network_event_source, fd, events, &on_network_event, m);
/systemd/src/timesync/
H A Dtimesyncd-manager.c1088 int r, fd, events; local
1100 events = sd_network_monitor_get_events(m->network_monitor);
1101 if (events < 0)
1102 return events;
1104 r = sd_event_add_io(m->event, &m->network_event_source, fd, events, manager_network_event_handler, m);
/systemd/src/udev/
H A Dudevd.c81 struct udev_list_node events; member in struct:Manager
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);
[all...]
/systemd/src/libsystemd/sd-event/
H A Dsd-event.c79 /* All objects we use in epoll events start with this value, so that
121 uint32_t events; member in struct:sd_event_source::__anon147::__anon148
160 * ordered for the earliest times the events may be
523 uint32_t events) {
532 ev.events = events;
536 ev.events |= EPOLLONESHOT;
693 ev.events = EPOLLIN;
963 uint32_t events,
972 assert_return(!(events
520 source_io_register( sd_event_source *s, int enabled, uint32_t events) argument
959 sd_event_add_io( sd_event *e, sd_event_source **ret, int fd, uint32_t events, sd_event_io_handler_t callback, void *userdata) argument
1482 sd_event_source_get_io_events(sd_event_source *s, uint32_t* events) argument
1492 sd_event_source_set_io_events(sd_event_source *s, uint32_t events) argument
2040 flush_timer(sd_event *e, int fd, uint32_t events, usec_t *next) argument
2164 process_signal(sd_event *e, struct signal_data *d, uint32_t events) argument
[all...]

Completed in 57 milliseconds