Home
last modified time | relevance | path

Searched refs:sd_event_source_set_enabled (Results 1 – 25 of 50) sorted by relevance

12

/systemd-251/coccinelle/
Dsd_event_source_disable_unref.cocci6 - (void) sd_event_source_set_enabled(p, SD_EVENT_OFF);
14 - sd_event_source_set_enabled(p, SD_EVENT_OFF);
22 - (void) sd_event_source_set_enabled(p, SD_EVENT_OFF);
29 - (void) sd_event_source_set_enabled(p, SD_EVENT_OFF);
35 - sd_event_source_set_enabled(p, SD_EVENT_OFF);
/systemd-251/src/libsystemd/sd-event/
Dtest-event.c45 assert_se(sd_event_source_set_enabled(s, SD_EVENT_OFF) >= 0); in io_handler()
54 assert_se(sd_event_source_set_enabled(s, SD_EVENT_ONESHOT) >= 0); in io_handler()
56 assert_se(sd_event_source_set_enabled(s, SD_EVENT_OFF) >= 0); in io_handler()
116 assert_se(sd_event_source_set_enabled(p, SD_EVENT_ONESHOT) >= 0); in signal_handler()
148 assert_se(sd_event_source_set_enabled(p, SD_EVENT_ONESHOT) >= 0); in defer_handler()
167 assert_se(sd_event_source_set_enabled(p, SD_EVENT_ONESHOT) >= 0); in time_handler()
232 assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0); in test_basic_one()
250 assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0); in test_basic_one()
253 assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0); in test_basic_one()
284 assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0); in test_basic_one()
[all …]
Devent-util.c64 r = sd_event_source_set_enabled(*s, SD_EVENT_ONESHOT); in event_reset_time()
116 return sd_event_source_set_enabled(s, SD_EVENT_OFF); in event_source_disable()
/systemd-251/src/journal-remote/
Djournal-remote.c251 r = sd_event_source_set_enabled(source->buffer_event, SD_EVENT_OFF); in journal_remote_add_source()
257 r = sd_event_source_set_enabled(source->event, SD_EVENT_ON); in journal_remote_add_source()
439 k = sd_event_source_set_enabled(event, SD_EVENT_OFF); in dispatch_raw_source_until_block()
465 k = sd_event_source_set_enabled(source->buffer_event, SD_EVENT_ON); in dispatch_raw_source_event()
/systemd-251/src/socket-proxy/
Dsocket-proxyd.c109 r = sd_event_source_set_enabled(context->idle_time, SD_EVENT_ONESHOT); in connection_release()
375 r = sd_event_source_set_enabled(c->client_event_source, SD_EVENT_ONESHOT); in connection_start()
477 r = sd_event_source_set_enabled(context->idle_time, SD_EVENT_OFF); in add_connection_socket()
531 r = sd_event_source_set_enabled(s, SD_EVENT_ONESHOT); in accept_cb()
572 r = sd_event_source_set_enabled(source, SD_EVENT_ONESHOT); in add_listen_socket()
/systemd-251/src/import/
Dcurl-util.c89 if (sd_event_source_set_enabled(io, SD_EVENT_ON) < 0) in curl_glue_socket_callback()
135 if (sd_event_source_set_enabled(g->timer, SD_EVENT_OFF) < 0) in curl_glue_timer_callback()
148 if (sd_event_source_set_enabled(g->timer, SD_EVENT_ONESHOT) < 0) in curl_glue_timer_callback()
Dexport-raw.c324 r = sd_event_source_set_enabled(e->output_event_source, SD_EVENT_ON); in raw_export_start()
Dexport-tar.c314 r = sd_event_source_set_enabled(e->output_event_source, SD_EVENT_ON); in tar_export_start()
Dimport-tar.c374 r = sd_event_source_set_enabled(i->input_event_source, SD_EVENT_ON); in tar_import_start()
/systemd-251/src/core/
Dtimer.c514 … r = sd_event_source_set_enabled(t->monotonic_event_source, SD_EVENT_ONESHOT); in timer_enter_waiting()
533 r = sd_event_source_set_enabled(t->monotonic_event_source, SD_EVENT_OFF); in timer_enter_waiting()
548 r = sd_event_source_set_enabled(t->realtime_event_source, SD_EVENT_ONESHOT); in timer_enter_waiting()
566 r = sd_event_source_set_enabled(t->realtime_event_source, SD_EVENT_OFF); in timer_enter_waiting()
Dmanager.c748 r = sd_event_source_set_enabled(m->run_queue_event_source, SD_EVENT_OFF); in manager_setup_run_queue()
771 r = sd_event_source_set_enabled(m->sigchld_event_source, SD_EVENT_OFF); in manager_setup_sigchld_event_source()
2285 r = sd_event_source_set_enabled( in manager_trigger_run_queue()
2698 r = sd_event_source_set_enabled(m->sigchld_event_source, SD_EVENT_OFF); in manager_dispatch_sigchld()
2768 r = sd_event_source_set_enabled(m->sigchld_event_source, SD_EVENT_ON); in manager_dispatch_signal_fd()
3013 return sd_event_source_set_enabled(source, SD_EVENT_ONESHOT); in manager_dispatch_jobs_in_progress()
3026 r = sd_event_source_set_enabled(m->sigchld_event_source, SD_EVENT_ON); in manager_loop()
/systemd-251/src/udev/
Dudev-ctrl.c148 (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()
Dudev-event.c632 r = sd_event_source_set_enabled(s, SD_EVENT_ONESHOT); in on_spawn_io()
740 r = sd_event_source_set_enabled(stdout_source, SD_EVENT_ONESHOT); in spawn_wait()
749 r = sd_event_source_set_enabled(stderr_source, SD_EVENT_ONESHOT); in spawn_wait()
/systemd-251/src/portable/
Dportabled-image.c43 r = sd_event_source_set_enabled(m->image_cache_defer_event, SD_EVENT_ONESHOT); in manager_image_cache_initialize()
/systemd-251/src/machine/
Dmachined-core.c31 r = sd_event_source_set_enabled(m->nscd_cache_flush_event, SD_EVENT_ONESHOT); in manager_enqueue_nscd_cache_flush()
/systemd-251/src/network/
Dnetworkd-speed-meter.c106 r = sd_event_source_set_enabled(s, SD_EVENT_ON); in manager_start_speed_meter()
/systemd-251/src/login/
Dlogind-utmp.c114 r = sd_event_source_set_enabled(s, SD_EVENT_ONESHOT); in wall_message_timeout_handler()
/systemd-251/src/fuzz/
Dfuzz-varlink.c69 assert_se(sd_event_source_set_enabled(s, SD_EVENT_OFF) >= 0); in io_callback()
/systemd-251/src/libsystemd-network/
Dsd-lldp-tx.c546 return sd_event_source_set_enabled(lldp_tx->timer_event_source, SD_EVENT_ONESHOT); in lldp_tx_reset_timer()
591 (void) sd_event_source_set_enabled(lldp_tx->timer_event_source, SD_EVENT_OFF); in sd_lldp_tx_stop()
/systemd-251/src/journal/
Djournald-server.c687 r = sd_event_source_set_enabled(s->sync_event_source, SD_EVENT_OFF); in server_sync()
1485 … (void) sd_event_source_set_enabled(es, false); /* Make sure this handler is called at most once */ in dispatch_sigterm()
1807 r = sd_event_source_set_enabled(s->sync_event_source, SD_EVENT_ONESHOT); in server_schedule_sync()
1907 r = sd_event_source_set_enabled(es, SD_EVENT_OFF); in dispatch_notify_event()
1922 r = sd_event_source_set_enabled(s->notify_event_source, SD_EVENT_ON); in dispatch_watchdog()
1930 r = sd_event_source_set_enabled(s->watchdog_event_source, SD_EVENT_ON); in dispatch_watchdog()
/systemd-251/src/test/
Dtest-execute.c532 assert_se(sd_event_source_set_enabled(s, SD_EVENT_ONESHOT) >= 0); in on_spawn_io()
597 assert_se(sd_event_source_set_enabled(stdout_source, SD_EVENT_ONESHOT) >= 0); in find_libraries()
599 assert_se(sd_event_source_set_enabled(stderr_source, SD_EVENT_ONESHOT) >= 0); in find_libraries()
Dtest-varlink.c182 assert_se(sd_event_source_set_enabled(s, SD_EVENT_OFF) >= 0); in block_fd_handler()
/systemd-251/src/systemd/
Dsd-event.h133 int sd_event_source_set_enabled(sd_event_source *s, int enabled);
/systemd-251/src/oom/
Doomd-manager.c579 r = sd_event_source_set_enabled(s, SD_EVENT_ON); in monitor_swap_contexts()
604 r = sd_event_source_set_enabled(s, SD_EVENT_ON); in monitor_memory_pressure_contexts()
/systemd-251/src/shared/
Dbus-polkit.c228 r = sd_event_source_set_enabled(q->defer_event_source, SD_EVENT_ONESHOT); in async_polkit_callback()

12