/systemd-251/src/udev/ |
D | udev-ctrl.c | 43 sd_event_source *event_source; member 113 sd_event_source_unref(uctrl->event_source); in udev_ctrl_free() 142 return uctrl->event_source; in udev_ctrl_get_event_source() 148 (void) sd_event_source_set_enabled(uctrl->event_source, SD_EVENT_ON); in udev_ctrl_disconnect_and_listen_again() 261 (void) sd_event_source_set_enabled(uctrl->event_source, SD_EVENT_OFF); 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() 289 (void) sd_event_source_set_description(uctrl->event_source, "udev-ctrl"); in udev_ctrl_start()
|
/systemd-251/src/login/ |
D | logind-inhibit.c | 73 sd_event_source_unref(i->event_source); in inhibitor_free() 318 if (!i->event_source) { in inhibitor_create_fifo() 319 …r = sd_event_add_io(i->manager->event, &i->event_source, i->fifo_fd, 0, inhibitor_dispatch_fifo, i… in inhibitor_create_fifo() 323 r = sd_event_source_set_priority(i->event_source, SD_EVENT_PRIORITY_IDLE-10); in inhibitor_create_fifo() 327 (void) sd_event_source_set_description(i->event_source, "inhibitor-ref"); in inhibitor_create_fifo() 337 i->event_source = sd_event_source_unref(i->event_source); in inhibitor_remove_fifo()
|
D | logind-inhibit.h | 31 sd_event_source *event_source; member
|
/systemd-251/src/resolve/ |
D | resolved-dns-stub.c | 1135 sd_event_source **event_source; in manager_dns_stub_fd() local 1144 …event_source = address_is_proxy(family, listen_addr) ? &m->dns_proxy_stub_udp_event_source : &m->d… in manager_dns_stub_fd() 1146 …event_source = address_is_proxy(family, listen_addr) ? &m->dns_proxy_stub_tcp_event_source : &m->d… in manager_dns_stub_fd() 1150 if (*event_source) in manager_dns_stub_fd() 1151 return sd_event_source_get_io_fd(*event_source); in manager_dns_stub_fd() 1205 r = sd_event_add_io(m->event, event_source, fd, EPOLLIN, in manager_dns_stub_fd() 1211 r = sd_event_source_set_io_fd_own(*event_source, true); in manager_dns_stub_fd() 1215 (void) sd_event_source_set_description(*event_source, in manager_dns_stub_fd() 1231 … sd_event_source **event_source = type == SOCK_DGRAM ? &l->udp_event_source : &l->tcp_event_source; in manager_dns_stub_fd_extra() local 1232 if (*event_source) in manager_dns_stub_fd_extra() [all …]
|
/systemd-251/src/portable/ |
D | portabled-operation.c | 86 r = sd_event_add_child(manager->event, &o->event_source, child, WEXITED, operation_done, o); in operation_new() 114 sd_event_source_unref(o->event_source); in operation_free()
|
D | portabled-operation.h | 23 sd_event_source *event_source; member
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-monitor.c | 48 sd_event_source *event_source; member 223 m->event_source = sd_event_source_unref(m->event_source); in sd_device_monitor_stop() 262 …r = sd_event_add_io(m->event, &m->event_source, m->sock, EPOLLIN, device_monitor_event_handler, m); in sd_device_monitor_start() 266 (void) sd_event_source_set_description(m->event_source, "sd-device-monitor"); in sd_device_monitor_start() 306 return m->event_source; in sd_device_monitor_get_event_source()
|
/systemd-251/src/machine/ |
D | operation.c | 87 r = sd_event_add_child(manager->event, &o->event_source, child, WEXITED, operation_done, o); in operation_new() 120 sd_event_source_unref(o->event_source); in operation_free()
|
D | operation.h | 24 sd_event_source *event_source; member
|
/systemd-251/src/libsystemd/sd-resolve/ |
D | sd-resolve.c | 66 sd_event_source *event_source; member 1257 assert(!resolve->event_source); in sd_resolve_attach_event() 1267 …r = sd_event_add_io(resolve->event, &resolve->event_source, resolve->fds[RESPONSE_RECV_FD], POLLIN… in sd_resolve_attach_event() 1271 r = sd_event_source_set_priority(resolve->event_source, priority); in sd_resolve_attach_event() 1288 resolve->event_source = sd_event_source_disable_unref(resolve->event_source); in sd_resolve_detach_event()
|
/systemd-251/src/core/ |
D | path.c | 62 …r = sd_event_add_io(s->unit->manager->event, &s->event_source, s->inotify_fd, EPOLLIN, handler, s); in path_spec_watch() 68 (void) sd_event_source_set_description(s->event_source, "path"); in path_spec_watch() 170 s->event_source = sd_event_source_disable_unref(s->event_source); in path_spec_unwatch()
|
D | path.h | 24 sd_event_source *event_source; member
|
D | socket.h | 55 sd_event_source *event_source; member
|
D | socket.c | 131 sd_event_source_unref(p->event_source); in socket_free_ports() 926 p->event_source = sd_event_source_disable_unref(p->event_source); in socket_close_fds() 1733 if (!p->event_source) in socket_unwatch_fds() 1736 r = sd_event_source_set_enabled(p->event_source, SD_EVENT_OFF); in socket_unwatch_fds() 1751 if (p->event_source) { in socket_watch_fds() 1752 r = sd_event_source_set_enabled(p->event_source, SD_EVENT_ON); in socket_watch_fds() 1756 …r = sd_event_add_io(UNIT(s)->manager->event, &p->event_source, p->fd, EPOLLIN, socket_dispatch_io,… in socket_watch_fds() 1760 (void) sd_event_source_set_description(p->event_source, "socket-port-io"); in socket_watch_fds()
|
D | service.h | 97 sd_event_source *event_source; member
|
D | service.c | 322 sd_event_source_disable_unref(fs->event_source); in service_fd_store_unlink() 464 … r = sd_event_add_io(UNIT(s)->manager->event, &fs->event_source, fd, 0, on_fd_store_io, fs); in service_add_fd_store() 470 … (void) sd_event_source_set_description(fs->event_source, "service-fd-store"); in service_add_fd_store()
|
/systemd-251/src/journal/ |
D | journald-stream.c | 95 sd_event_source *event_source; member 125 sd_event_source_disable_unref(s->event_source); in stdout_stream_free() 683 … r = sd_event_add_io(s->event, &stream->event_source, fd, EPOLLIN, stdout_stream_process, stream); in stdout_stream_install() 687 r = sd_event_source_set_priority(stream->event_source, SD_EVENT_PRIORITY_NORMAL+5); in stdout_stream_install()
|
D | journald-server.c | 1996 static int synchronize_second_half(sd_event_source *event_source, void *userdata) { in synchronize_second_half() argument 2012 r = sd_event_source_set_floating(event_source, false); in synchronize_second_half() 2024 _cleanup_(sd_event_source_unrefp) sd_event_source *event_source = NULL; in vl_method_synchronize() 2040 r = sd_event_add_defer(s->event, &event_source, synchronize_second_half, link); in vl_method_synchronize() 2044 r = sd_event_source_set_destroy_callback(event_source, synchronize_destroy); in vl_method_synchronize() 2050 r = sd_event_source_set_priority(event_source, SD_EVENT_PRIORITY_NORMAL+15); in vl_method_synchronize() 2056 r = sd_event_source_set_floating(event_source, true); in vl_method_synchronize() 2060 (void) sd_event_source_set_description(event_source, "deferred-sync"); in vl_method_synchronize()
|
/systemd-251/src/shared/ |
D | varlink.c | 159 sd_event_source *event_source; member 2255 r = sd_event_add_io(s->event, &ss->event_source, fd, EPOLLIN, connect_callback, ss); in varlink_server_listen_fd() 2259 r = sd_event_source_set_priority(ss->event_source, s->event_priority); in varlink_server_listen_fd() 2332 sd_event_source_disable_unref(ss->event_source); in varlink_server_socket_destroy() 2364 assert(!ss->event_source); in varlink_server_attach_event() 2366 … r = sd_event_add_io(s->event, &ss->event_source, ss->fd, EPOLLIN, connect_callback, ss); in varlink_server_attach_event() 2370 r = sd_event_source_set_priority(ss->event_source, priority); in varlink_server_attach_event() 2387 ss->event_source = sd_event_source_disable_unref(ss->event_source); in varlink_server_detach_event()
|