/systemd-251/src/libsystemd/sd-event/ |
D | test-event.c | 216 assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0); in test_basic_one() 282 assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0); in test_basic_one() 310 TEST(sd_event_now) { in TEST() argument 315 assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0); in TEST() 316 assert_se(sd_event_now(e, CLOCK_REALTIME, &event_now) > 0); in TEST() 317 assert_se(sd_event_now(e, CLOCK_REALTIME_ALARM, &event_now) > 0); in TEST() 318 assert_se(sd_event_now(e, CLOCK_BOOTTIME, &event_now) > 0); in TEST() 319 assert_se(sd_event_now(e, CLOCK_BOOTTIME_ALARM, &event_now) > 0); in TEST() 320 assert_se(sd_event_now(e, -1, &event_now) == -EOPNOTSUPP); in TEST() 321 assert_se(sd_event_now(e, 900 /* arbitrary big number */, &event_now) == -EOPNOTSUPP); in TEST() [all …]
|
D | event-util.c | 105 r = sd_event_now(e, clock, &usec_now); in event_reset_time_relative()
|
D | sd-event.c | 1302 r = sd_event_now(e, clock, &t); in sd_event_add_time_relative() 2656 r = sd_event_now(s->event, event_source_type_to_clock(s->type), &t); in sd_event_source_set_time_relative() 4306 _public_ int sd_event_now(sd_event *e, clockid_t clock, uint64_t *usec) { in sd_event_now() function
|
/systemd-251/src/resolve/ |
D | resolved-socket-graveyard.c | 56 assert_se(sd_event_now(m->event, CLOCK_BOOTTIME, &n) >= 0); in manager_socket_graveyard_process() 116 assert_se(sd_event_now(m->event, CLOCK_BOOTTIME, &g->deadline) >= 0); in manager_add_socket_to_graveyard()
|
D | resolved-dns-server.c | 233 assert_se(sd_event_now(s->manager->event, CLOCK_BOOTTIME, &s->verified_usec) >= 0); in dns_server_verified() 408 assert_se(sd_event_now(s->manager->event, CLOCK_BOOTTIME, &ts) >= 0); in dns_server_grace_period_expired()
|
D | resolved-etc-hosts.c | 297 assert_se(sd_event_now(m->event, CLOCK_BOOTTIME, &ts) >= 0); in manager_etc_hosts_read()
|
D | resolved-dns-transaction.c | 1423 assert_se(sd_event_now(t->scope->manager->event, CLOCK_BOOTTIME, &usec) >= 0); in on_dns_packet() 1798 assert_se(sd_event_now(t->scope->manager->event, CLOCK_BOOTTIME, &ts) >= 0); in dns_transaction_make_packet_mdns() 1938 assert_se(sd_event_now(t->scope->manager->event, CLOCK_BOOTTIME, &ts) >= 0); in dns_transaction_go()
|
/systemd-251/src/libsystemd-network/ |
D | sd-ndisc.c | 272 assert_se(sd_event_now(nd->event, CLOCK_BOOTTIME, &time_now) >= 0); in ndisc_timeout() 347 r = sd_event_now(nd->event, CLOCK_BOOTTIME, &time_now); in sd_ndisc_start()
|
D | sd-ipv4acd.c | 203 assert_se(sd_event_now(acd->event, CLOCK_BOOTTIME, &time_now) >= 0); in ipv4acd_set_next_wakeup() 384 assert_se(sd_event_now(acd->event, CLOCK_BOOTTIME, &ts) >= 0); in ipv4acd_on_packet()
|
D | sd-dhcp-client.c | 824 r = sd_event_now(client->event, CLOCK_BOOTTIME, &time_now); in client_message_init() 1249 r = sd_event_now(client->event, CLOCK_BOOTTIME, &time_now); in client_timeout_resend() 1397 assert_se(sd_event_now(client->event, CLOCK_BOOTTIME, &usec) >= 0); in client_initialize_time_events() 1687 r = sd_event_now(client->event, CLOCK_BOOTTIME, &time_now); in client_set_lease_timeouts()
|
D | sd-radv.c | 184 r = sd_event_now(ra->event, CLOCK_BOOTTIME, &time_now); in radv_send() 324 r = sd_event_now(ra->event, CLOCK_BOOTTIME, &time_now); in radv_timeout()
|
D | sd-dhcp6-client.c | 697 r = sd_event_now(client->event, CLOCK_BOOTTIME, &time_now); in dhcp6_client_send_message() 918 r = sd_event_now(client->event, CLOCK_BOOTTIME, &client->transaction_start); in client_start_transaction()
|
D | sd-dhcp-server.c | 990 r = sd_event_now(server->event, CLOCK_BOOTTIME, &time_now); in server_ack_request() 1042 r = sd_event_now(server->event, CLOCK_BOOTTIME, &time_now); in dhcp_server_cleanup_expired_leases()
|
/systemd-251/src/network/ |
D | networkd-speed-meter.c | 54 r = sd_event_now(sd_event_source_get_event(s), CLOCK_MONOTONIC, &usec_now); in speed_meter_handler()
|
/systemd-251/src/systemd/ |
D | sd-event.h | 108 int sd_event_now(sd_event *e, clockid_t clock, uint64_t *usec);
|
/systemd-251/src/oom/ |
D | oomd-manager.c | 357 r = sd_event_now(sd_event_source_get_event(s), CLOCK_MONOTONIC, &usec_now); in monitor_swap_contexts_handler() 447 r = sd_event_now(sd_event_source_get_event(s), CLOCK_MONOTONIC, &usec_now); in monitor_memory_pressure_contexts_handler()
|
/systemd-251/src/udev/ |
D | udevd.c | 871 r = sd_event_now(event->manager->event, CLOCK_BOOTTIME, &now_usec); in event_is_blocked() 1015 assert_se(sd_event_now(manager->event, CLOCK_MONOTONIC, &usec) >= 0); in event_queue_start() 1077 r = sd_event_now(event->manager->event, CLOCK_BOOTTIME, &now_usec); in event_requeue()
|
/systemd-251/src/libsystemd/ |
D | libsystemd.sym | 429 sd_event_now;
|
/systemd-251/man/rules/ |
D | meson.build | 580 ['sd_event_now', '3', [], ''],
|
/systemd-251/src/journal/ |
D | journald-server.c | 836 assert_se(sd_event_now(s->event, CLOCK_REALTIME, &ts.realtime) >= 0); in write_to_journal() 837 assert_se(sd_event_now(s->event, CLOCK_MONOTONIC, &ts.monotonic) >= 0); in write_to_journal()
|
/systemd-251/ |
D | TODO | 1093 * cache sd_event_now() result from before the first iteration...
|