Home
last modified time | relevance | path

Searched refs:sd_event_add_io (Results 1 – 25 of 69) sorted by relevance

123

/systemd-251/src/resolve/
Dresolved-llmnr.c201 … r = sd_event_add_io(m->event, &m->llmnr_ipv4_udp_event_source, s, EPOLLIN, on_llmnr_packet, m); in manager_llmnr_ipv4_udp_fd()
271 … r = sd_event_add_io(m->event, &m->llmnr_ipv6_udp_event_source, s, EPOLLIN, on_llmnr_packet, m); in manager_llmnr_ipv6_udp_fd()
400 … r = sd_event_add_io(m->event, &m->llmnr_ipv4_tcp_event_source, s, EPOLLIN, on_llmnr_stream, m); in manager_llmnr_ipv4_tcp_fd()
465 … r = sd_event_add_io(m->event, &m->llmnr_ipv6_tcp_event_source, s, EPOLLIN, on_llmnr_stream, m); in manager_llmnr_ipv6_tcp_fd()
Dresolved-socket-graveyard.c119 r = sd_event_add_io(m->event, &g->io_event_source, fd, EPOLLIN, on_io_event, g); in manager_add_socket_to_graveyard()
Dresolved-mdns.c503 r = sd_event_add_io(m->event, &m->mdns_ipv4_event_source, s, EPOLLIN, on_mdns_packet, m); in manager_mdns_ipv4_fd()
578 r = sd_event_add_io(m->event, &m->mdns_ipv6_event_source, s, EPOLLIN, on_mdns_packet, m); in manager_mdns_ipv6_fd()
/systemd-251/src/udev/
Dudev-ctrl.c252 …r = sd_event_add_io(uctrl->event, &uctrl->event_source_connect, sock, EPOLLIN, udev_ctrl_connectio… in udev_ctrl_event_handler()
285 …r = sd_event_add_io(uctrl->event, &uctrl->event_source, uctrl->sock, EPOLLIN, udev_ctrl_event_hand… in udev_ctrl_start()
351 r = sd_event_add_io(uctrl->event, &source_io, uctrl->sock, EPOLLIN, NULL, INT_TO_PTR(0)); in udev_ctrl_wait()
/systemd-251/src/fuzz/
Dfuzz-varlink.c111 …assert_se(sd_event_add_io(e, &server_event_source, server_pair[1], EPOLLIN|EPOLLOUT, io_callback, … in LLVMFuzzerTestOneInput()
121 …assert_se(sd_event_add_io(e, &client_event_source, client_pair[1], EPOLLIN|EPOLLOUT, io_callback, … in LLVMFuzzerTestOneInput()
/systemd-251/src/timesync/
Dwait-sync.c160 r = sd_event_add_io(event, &sp->timerfd_event_source, sp->timerfd_fd, in clock_state_update()
211 r = sd_event_add_io(event, &state.inotify_event_source, state.inotify_fd, in run()
/systemd-251/src/socket-proxy/
Dsocket-proxyd.c279 … r = sd_event_add_io(c->context->event, &c->server_event_source, c->server_fd, a, traffic_cb, c); in connection_enable_event_sources()
289 … r = sd_event_add_io(c->context->event, &c->client_event_source, c->client_fd, b, traffic_cb, c); in connection_enable_event_sources()
369 …r = sd_event_add_io(c->context->event, &c->client_event_source, c->client_fd, EPOLLOUT, connect_cb… in connection_start()
556 r = sd_event_add_io(context->event, &source, fd, EPOLLIN, accept_cb, context); in add_listen_socket()
/systemd-251/src/libsystemd/sd-event/
Dtest-event.c222 assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0); in test_basic_one()
231 assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0); in test_basic_one()
240 assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0); in test_basic_one()
241 assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0); in test_basic_one()
641 assert_se(sd_event_add_io(e, &s, p[0], EPOLLIN, ratelimit_io_handler, &count) >= 0); in TEST()
Devent-util.c139 r = sd_event_add_io(e, &s, fd, EPOLLIN, callback, userdata); in event_add_time_change()
/systemd-251/src/shared/
Dptyfwd.c512 …r = sd_event_add_io(f->event, &f->stdin_event_source, f->input_fd, EPOLLIN|EPOLLET, on_stdin_event… in pty_forward_new()
520 …r = sd_event_add_io(f->event, &f->stdout_event_source, f->output_fd, EPOLLOUT|EPOLLET, on_stdout_e… in pty_forward_new()
529 …r = sd_event_add_io(f->event, &f->master_event_source, master, EPOLLIN|EPOLLOUT|EPOLLET, on_master… in pty_forward_new()
/systemd-251/src/journal-remote/
Djournal-remote.c242 r = sd_event_add_io(s->events, &source->event, in journal_remote_add_source()
285 r = sd_event_add_io(s->events, &s->listen_event, in journal_remote_add_raw_socket()
Djournal-upload-journal.c395 r = sd_event_add_io(u->events, &u->input_event, in open_journal_for_upload()
/systemd-251/src/systemd/
Dsd-event.h89 int sd_event_add_io(sd_event *e, sd_event_source **s, int fd, uint32_t events, sd_event_io_handler_…
/systemd-251/src/test/
Dtest-varlink.c207 … assert_se(sd_event_add_io(e, &block_event, block_fds[0], EPOLLIN, block_fd_handler, NULL) >= 0); in main()
/systemd-251/src/import/
Dexport-raw.c318 … r = sd_event_add_io(e->event, &e->output_event_source, fd, EPOLLOUT, raw_export_on_output, e); in raw_export_start()
Dexport-tar.c308 … r = sd_event_add_io(e->event, &e->output_event_source, fd, EPOLLOUT, tar_export_on_output, e); in tar_export_start()
Dcurl-util.c92 if (sd_event_add_io(g->event, &io, s, events, curl_glue_on_io, g) < 0) in curl_glue_socket_callback()
Dimport-tar.c367 r = sd_event_add_io(i->event, &i->input_event_source, fd, EPOLLIN, tar_import_on_input, i); in tar_import_start()
/systemd-251/src/journal/
Djournald-stream.c683 … r = sd_event_add_io(s->event, &stream->event_source, fd, EPOLLIN, stdout_stream_process, stream); in stdout_stream_install()
936 …r = sd_event_add_io(s->event, &s->stdout_event_source, s->stdout_fd, EPOLLIN, stdout_stream_new, s… in server_open_stdout_socket()
Djournald-kmsg.c401 …r = sd_event_add_io(s->event, &s->dev_kmsg_event_source, s->dev_kmsg_fd, EPOLLIN, dispatch_dev_kms… in server_open_dev_kmsg()
Djournald-native.c496 …r = sd_event_add_io(s->event, &s->native_event_source, s->native_fd, EPOLLIN, server_process_datag… in server_open_native_socket()
/systemd-251/src/libsystemd-network/
Dsd-ndisc.c355 r = sd_event_add_io(nd->event, &nd->recv_event_source, nd->fd, EPOLLIN, ndisc_recv, nd); in sd_ndisc_start()
Dtest-ndisc-ra.c327 assert_se(sd_event_add_io(e, &recv_router_advertisement, test_fd[0], in TEST()
/systemd-251/src/network/wait-online/
Dmanager.c342 r = sd_event_add_io(m->event, &m->network_monitor_event_source, in manager_network_monitor_listen()
/systemd-251/src/core/
Dmanager.c355 r = sd_event_add_io(m->event, &m->ask_password_event_source, in manager_check_ask_password()
385 …r = sd_event_add_io(m->event, &m->idle_pipe_event_source, m->idle_pipe[2], EPOLLIN, manager_dispat… in manager_watch_idle_pipe()
600 …r = sd_event_add_io(m->event, &m->signal_event_source, m->signal_fd, EPOLLIN, manager_dispatch_sig… in manager_setup_signals()
1037 …r = sd_event_add_io(m->event, &m->notify_event_source, m->notify_fd, EPOLLIN, manager_dispatch_not… in manager_setup_notify()
1110 …r = sd_event_add_io(m->event, &m->cgroups_agent_event_source, m->cgroups_agent_fd, EPOLLIN, manage… in manager_setup_cgroups_agent()
1164 …r = sd_event_add_io(m->event, &m->user_lookup_event_source, m->user_lookup_fds[0], EPOLLIN, manage… in manager_setup_user_lookup_fd()

123