Lines Matching refs:event
51 sd_event *event = userdata; in on_tar_finished() local
57 sd_event_exit(event, abs(error)); in on_tar_finished()
62 _cleanup_(sd_event_unrefp) sd_event *event = NULL; in export_tar()
102 r = sd_event_default(&event); in export_tar()
107 (void) sd_event_add_signal(event, NULL, SIGTERM, interrupt_signal_handler, NULL); in export_tar()
108 (void) sd_event_add_signal(event, NULL, SIGINT, interrupt_signal_handler, NULL); in export_tar()
110 r = tar_export_new(&export, event, on_tar_finished, event); in export_tar()
118 r = sd_event_loop(event); in export_tar()
127 sd_event *event = userdata; in on_raw_finished() local
133 sd_event_exit(event, abs(error)); in on_raw_finished()
138 _cleanup_(sd_event_unrefp) sd_event *event = NULL; in export_raw()
178 r = sd_event_default(&event); in export_raw()
183 (void) sd_event_add_signal(event, NULL, SIGTERM, interrupt_signal_handler, NULL); in export_raw()
184 (void) sd_event_add_signal(event, NULL, SIGINT, interrupt_signal_handler, NULL); in export_raw()
186 r = raw_export_new(&export, event, on_raw_finished, event); in export_raw()
194 r = sd_event_loop(event); in export_raw()