/systemd-251/coccinelle/ |
D | sd_event_source_disable_unref.cocci | 6 - (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/ |
D | test-event.c | 45 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 …]
|
D | event-util.c | 64 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/ |
D | journal-remote.c | 251 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/ |
D | socket-proxyd.c | 109 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/ |
D | curl-util.c | 89 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()
|
D | export-raw.c | 324 r = sd_event_source_set_enabled(e->output_event_source, SD_EVENT_ON); in raw_export_start()
|
D | export-tar.c | 314 r = sd_event_source_set_enabled(e->output_event_source, SD_EVENT_ON); in tar_export_start()
|
D | import-tar.c | 374 r = sd_event_source_set_enabled(i->input_event_source, SD_EVENT_ON); in tar_import_start()
|
/systemd-251/src/core/ |
D | timer.c | 514 … 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()
|
D | manager.c | 748 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/ |
D | udev-ctrl.c | 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()
|
D | udev-event.c | 632 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/ |
D | portabled-image.c | 43 r = sd_event_source_set_enabled(m->image_cache_defer_event, SD_EVENT_ONESHOT); in manager_image_cache_initialize()
|
/systemd-251/src/machine/ |
D | machined-core.c | 31 r = sd_event_source_set_enabled(m->nscd_cache_flush_event, SD_EVENT_ONESHOT); in manager_enqueue_nscd_cache_flush()
|
/systemd-251/src/network/ |
D | networkd-speed-meter.c | 106 r = sd_event_source_set_enabled(s, SD_EVENT_ON); in manager_start_speed_meter()
|
/systemd-251/src/login/ |
D | logind-utmp.c | 114 r = sd_event_source_set_enabled(s, SD_EVENT_ONESHOT); in wall_message_timeout_handler()
|
/systemd-251/src/fuzz/ |
D | fuzz-varlink.c | 69 assert_se(sd_event_source_set_enabled(s, SD_EVENT_OFF) >= 0); in io_callback()
|
/systemd-251/src/libsystemd-network/ |
D | sd-lldp-tx.c | 546 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/ |
D | journald-server.c | 687 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/ |
D | test-execute.c | 532 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()
|
D | test-varlink.c | 182 assert_se(sd_event_source_set_enabled(s, SD_EVENT_OFF) >= 0); in block_fd_handler()
|
/systemd-251/src/systemd/ |
D | sd-event.h | 133 int sd_event_source_set_enabled(sd_event_source *s, int enabled);
|
/systemd-251/src/oom/ |
D | oomd-manager.c | 579 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/ |
D | bus-polkit.c | 228 r = sd_event_source_set_enabled(q->defer_event_source, SD_EVENT_ONESHOT); in async_polkit_callback()
|