/systemd/src/import/ |
H A D | curl-util.h | 25 #include "sd-event.h" 32 sd_event *event; member in struct:CurlGlue 42 int curl_glue_new(CurlGlue **glue, sd_event *event);
|
H A D | export.c | 22 #include "sd-event.h" 65 sd_event *event = userdata; local 71 sd_event_exit(event, abs(error)); 76 _cleanup_(sd_event_unrefp) sd_event *event = NULL; 119 r = sd_event_default(&event); 121 return log_error_errno(r, "Failed to allocate event loop: %m"); 124 (void) sd_event_add_signal(event, NULL, SIGTERM, interrupt_signal_handler, NULL); 125 (void) sd_event_add_signal(event, NULL, SIGINT, interrupt_signal_handler, NULL); 127 r = tar_export_new(&export, event, on_tar_finished, event); 144 sd_event *event = userdata; local [all...] |
H A D | import.c | 22 #include "sd-event.h" 47 sd_event *event = userdata; local 53 sd_event_exit(event, abs(error)); 58 _cleanup_(sd_event_unrefp) sd_event *event = NULL; 117 r = sd_event_default(&event); 119 return log_error_errno(r, "Failed to allocate event loop: %m"); 122 (void) sd_event_add_signal(event, NULL, SIGTERM, interrupt_signal_handler, NULL); 123 (void) sd_event_add_signal(event, NULL, SIGINT, interrupt_signal_handler, NULL); 125 r = tar_import_new(&import, event, arg_image_root, on_tar_finished, event); 142 sd_event *event = userdata; local [all...] |
H A D | pull.c | 22 #include "sd-event.h" 48 sd_event *event = userdata; local 54 sd_event_exit(event, abs(error)); 59 _cleanup_(sd_event_unrefp) sd_event *event = NULL; 109 r = sd_event_default(&event); 111 return log_error_errno(r, "Failed to allocate event loop: %m"); 114 (void) sd_event_add_signal(event, NULL, SIGTERM, interrupt_signal_handler, NULL); 115 (void) sd_event_add_signal(event, NULL, SIGINT, interrupt_signal_handler, NULL); 117 r = tar_pull_new(&pull, event, arg_image_root, on_tar_finished, event); 134 sd_event *event = userdata; local [all...] |
/systemd/src/machine/ |
H A D | machined.h | 25 #include "sd-event.h" 37 sd_event *event; member in struct:Manager
|
/systemd/src/network/ |
H A D | networkd-wait-online.h | 22 #include "sd-event.h" 45 sd_event *event; member in struct:Manager
|
H A D | networkd-ipv4ll.c | 168 static void ipv4ll_handler(sd_ipv4ll *ll, int event, void *userdata){ argument 179 switch(event) { 196 log_link_warning(link, "IPv4 link-local unknown event: %d", event);
|
H A D | networkd.h | 25 #include "sd-event.h" 41 sd_event *event; member in struct:Manager
|
H A D | networkd-dhcp6.c | 117 static void dhcp6_handler(sd_dhcp6_client *client, int event, void *userdata) { argument 128 switch(event) { 157 if (event < 0) 158 log_link_warning_errno(link, event, "DHCPv6 error: %m"); 160 log_link_warning(link, "DHCPv6 unknown event: %d", event);
|
H A D | networkd-ndisc.c | 71 assert_se(sd_event_now(link->manager->event, clock_boottime_or_monotonic(), &time_now) >= 0); 122 assert_se(sd_event_now(link->manager->event, clock_boottime_or_monotonic(), &time_now) >= 0); 173 assert_se(sd_event_now(link->manager->event, clock_boottime_or_monotonic(), &time_now) >= 0); 192 static void ndisc_handler(sd_ndisc *nd, int event, void *userdata) { argument 201 switch (event) { 216 log_link_warning(link, "IPv6 Neighbor Discovery unknown event: %d", event);
|
H A D | networkd-dhcp4.c | 468 static void dhcp4_handler(sd_dhcp_client *client, int event, void *userdata) { argument 479 switch (event) { 496 if (event == SD_DHCP_CLIENT_EVENT_IP_CHANGE) { 520 if (event < 0) 521 log_link_warning_errno(link, event, "DHCP error: Client failed: %m"); 523 log_link_warning(link, "DHCP unknown event: %i", event);
|
/systemd/src/libsystemd-network/ |
H A D | test-acd.c | 27 #include "sd-event.h" 35 static void acd_handler(sd_ipv4acd *acd, int event, void *userdata) { argument 38 switch (event) { 49 assert_not_reached("invalid ACD event");
|
H A D | lldp-port.h | 25 #include "sd-event.h" 50 sd_event *event; member in struct:lldp_port
|
H A D | test-ipv4ll-manual.c | 26 #include "sd-event.h" 37 static void ll_handler(sd_ipv4ll *ll, int event, void *userdata) { argument 46 switch (event) { 57 assert_not_reached("invalid LL event");
|
H A D | dhcp-server-internal.h | 24 #include "sd-event.h" 48 sd_event *event; member in struct:sd_dhcp_server
|
H A D | test-dhcp-server.c | 24 #include "sd-event.h" 36 static int test_basic(sd_event *event) { argument 50 assert_se(sd_dhcp_server_attach_event(server, event, 0) >= 0); 51 assert_se(sd_dhcp_server_attach_event(server, event, 0) == -EBUSY); 52 assert_se(sd_dhcp_server_get_event(server) == event);
|
H A D | test-ipv4ll.c | 42 static void basic_request_handler(sd_ipv4ll *ll, int event, void *userdata) { argument 45 switch(event) {
|
/systemd/man/ |
H A D | glib-event-glue.c | 30 sd_event *event; member in struct:SDEventSource 34 return sd_event_prepare(((SDEventSource *)source)->event) > 0; 38 return sd_event_wait(((SDEventSource *)source)->event, 0) > 0; 42 return sd_event_dispatch(((SDEventSource *)source)->event) > 0; 46 sd_event_unref(((SDEventSource *)source)->event); 56 GSource *g_sd_event_create_source(sd_event *event) { argument 61 source->event = sd_event_ref(event); 62 source->pollfd.fd = sd_event_get_fd(event);
|
/systemd/src/journal-remote/ |
H A D | journal-remote.h | 23 #include "sd-event.h" 36 sd_event_source *event; member in struct:MHDDaemonWrapper
|
H A D | journal-remote-parse.h | 22 #include "sd-event.h" 55 sd_event_source *event; member in struct:RemoteSource
|
H A D | journal-upload-journal.c | 345 static int dispatch_journal_input(sd_event_source *event, argument 388 return log_error_errno(r, "Failed to register input event: %m");
|
/systemd/src/test/ |
H A D | test-udev.c | 79 _cleanup_udev_event_unref_ struct udev_event *event = NULL; local 119 event = udev_event_new(dev); 141 udev_event_execute_rules(event, 145 udev_event_execute_run(event,
|
/systemd/src/basic/ |
H A D | io-util.c | 184 int fd_wait_for_event(int fd, int event, usec_t t) { argument 188 .events = event,
|
/systemd/src/udev/ |
H A D | udevadm-test.c | 35 "Test an event run.\n" 51 _cleanup_udev_event_unref_ struct udev_event *event = NULL; local 131 event = udev_event_new(dev); 136 udev_event_execute_rules(event, 144 udev_list_entry_foreach(entry, udev_list_get_entry(&event->run_list)) { 147 udev_event_apply_format(event, udev_list_entry_get_name(entry), program, sizeof(program)); 158 .help = "Test an event run",
|
/systemd/src/initctl/ |
H A D | initctl.c | 342 log_info("Got invalid event from epoll. (3)"); 398 struct epoll_event event; local 401 k = epoll_wait(server.epoll_fd, &event, 1, TIMEOUT_MSEC); 412 if (process_event(&server, &event) < 0)
|