Searched defs:revents (Results 1 - 25 of 48) sorted by relevance

12

/systemd/src/resolve/
H A Dresolved-mdns.c70 static int on_mdns_packet(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
H A Dresolved-llmnr.c87 static int on_llmnr_packet(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
308 static int on_llmnr_stream(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
H A Dresolved-dns-stream.c198 static int on_stream_io(sd_event_source *es, int fd, uint32_t revents, void *userdata) { argument
208 if ((revents & EPOLLOUT) &&
237 if ((revents & (EPOLLIN|EPOLLHUP|EPOLLRDHUP)) &&
/systemd/src/login/
H A Dlogind-button.c138 static int button_dispatch(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
H A Dlogind-inhibit.c276 static int inhibitor_dispatch_fifo(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
H A Dlogind.c482 static int manager_dispatch_seat_udev(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
496 static int manager_dispatch_device_udev(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
510 static int manager_dispatch_vcsa_udev(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
532 static int manager_dispatch_button_udev(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
546 static int manager_dispatch_console(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
/systemd/src/journal-remote/
H A Djournal-upload-journal.c347 uint32_t revents,
345 dispatch_journal_input(sd_event_source *event, int fd, uint32_t revents, void *userp) argument
H A Djournal-upload.c337 uint32_t revents,
344 if (revents & EPOLLHUP) {
350 if (!(revents & EPOLLIN)) {
351 log_warning("Unexpected poll event %"PRIu32".", revents);
335 dispatch_fd_input(sd_event_source *event, int fd, uint32_t revents, void *userp) argument
/systemd/src/libsystemd-network/
H A Dlldp-internal.c335 int lldp_receive_packet(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
/systemd/src/network/
H A Dnetworkd-wait-online-manager.c221 static int on_network_event(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
/systemd/src/import/
H A Dcurl-util.c42 static int curl_glue_on_io(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
51 if ((revents & (EPOLLIN|EPOLLOUT)) == (EPOLLIN|EPOLLOUT))
53 else if (revents & EPOLLIN)
55 else if (revents & EPOLLOUT)
H A Dexport-raw.c252 static int raw_export_on_output(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
H A Dexport-tar.c242 static int tar_export_on_output(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
H A Dimport-raw.c415 static int raw_import_on_input(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
H A Dimport-tar.c336 static int tar_import_on_input(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
/systemd/src/journal/
H A Djournald-kmsg.c382 static int dispatch_dev_kmsg(sd_event_source *es, int fd, uint32_t revents, void *userdata) { argument
389 if (revents & EPOLLERR)
392 if (!(revents & EPOLLIN))
393 log_error("Got invalid event from epoll for /dev/kmsg: %"PRIx32, revents);
H A Djournald-stream.c437 static int stdout_stream_process(sd_event_source *es, int fd, uint32_t revents, void *userdata) { argument
444 if ((revents|EPOLLIN|EPOLLHUP) != (EPOLLIN|EPOLLHUP)) {
445 log_error("Got invalid event from epoll for stdout stream: %"PRIx32, revents);
524 static int stdout_stream_new(sd_event_source *es, int listen_fd, uint32_t revents, void *userdata) { argument
531 if (revents != EPOLLIN) {
532 log_error("Got invalid event from epoll for stdout server fd: %"PRIx32, revents);
/systemd/src/libsystemd/sd-event/
H A Dtest-event.c36 static int unref_handler(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
42 static int io_handler(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
/systemd/src/shared/
H A Dptyfwd.c264 static int on_master_event(sd_event_source *e, int fd, uint32_t revents, void *userdata) { argument
273 if (revents & (EPOLLIN|EPOLLHUP))
276 if (revents & (EPOLLOUT|EPOLLHUP))
282 static int on_stdin_event(sd_event_source *e, int fd, uint32_t revents, void *userdata) { argument
291 if (revents & (EPOLLIN|EPOLLHUP))
297 static int on_stdout_event(sd_event_source *e, int fd, uint32_t revents, void *userdata) { argument
306 if (revents & (EPOLLOUT|EPOLLHUP))
/systemd/src/core/
H A Ddbus.c617 static int bus_on_connection(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
H A Ddevice.c44 static int device_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
700 static int device_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
708 if (revents != EPOLLIN) {
713 if (!(revents & EPOLLIN))
H A Dpath.c48 static int path_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
160 int path_spec_fd_event(PathSpec *s, uint32_t revents) { argument
166 if (revents != EPOLLIN) {
650 static int path_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
676 changed = path_spec_fd_event(s, revents);
H A Dbusname.c51 static int busname_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata);
827 static int busname_dispatch_io(sd_event_source *source, int fd, uint32_t revents, void *userdata) { argument
838 if (revents != EPOLLIN) {
839 log_unit_error(UNIT(n), "Got unexpected poll event (0x%x) on starter fd.", revents); local
/systemd/src/libsystemd/sd-netlink/
H A Dsd-netlink.c717 static int io_callback(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
/systemd/src/socket-proxy/
H A Dsocket-proxyd.c191 static int traffic_cb(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
299 static int connect_cb(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
491 static int accept_cb(sd_event_source *s, int fd, uint32_t revents, void *userdata) { argument
498 assert(revents & EPOLLIN);

Completed in 3738 milliseconds

12