/systemd-251/src/libsystemd/sd-event/ |
D | event-util.c | 14 clockid_t clock, in event_reset_time() argument 45 if (c != clock) in event_reset_time() 50 (int)clock); in event_reset_time() 68 r = sd_event_add_time(e, s, clock, usec, accuracy, callback, userdata); in event_reset_time() 91 clockid_t clock, in event_reset_time_relative() argument 105 r = sd_event_now(e, clock, &usec_now); in event_reset_time_relative() 109 …return event_reset_time(e, s, clock, usec_add(usec_now, usec), accuracy, callback, userdata, prior… in event_reset_time_relative()
|
D | event-util.h | 11 clockid_t clock, 22 clockid_t clock,
|
D | sd-event.c | 541 static EventSourceType clock_to_event_source_type(clockid_t clock) { in clock_to_event_source_type() argument 543 switch (clock) { in clock_to_event_source_type() 1148 clockid_t clock) { in event_setup_timer_fd() argument 1158 fd = timerfd_create(clock, TFD_NONBLOCK|TFD_CLOEXEC); in event_setup_timer_fd() 1182 static int setup_clock_data(sd_event *e, struct clock_data *d, clockid_t clock) { in setup_clock_data() argument 1188 r = event_setup_timer_fd(e, d, clock); in setup_clock_data() 1232 clockid_t clock, in sd_event_add_time() argument 1249 if (!clock_supported(clock)) /* Checks whether the kernel supports the clock */ in sd_event_add_time() 1252 type = clock_to_event_source_type(clock); /* checks whether sd-event supports this clock */ in sd_event_add_time() 1261 r = setup_clock_data(e, d, clock); in sd_event_add_time() [all …]
|
/systemd-251/src/basic/ |
D | time-util.h | 77 usec_t now(clockid_t clock); 78 nsec_t now_nsec(clockid_t clock); 90 #define DUAL_TIMESTAMP_HAS_CLOCK(clock) \ argument 91 IN_SET(clock, CLOCK_REALTIME, CLOCK_REALTIME_ALARM, CLOCK_MONOTONIC) 93 #define TRIPLE_TIMESTAMP_HAS_CLOCK(clock) \ argument 94 …IN_SET(clock, CLOCK_REALTIME, CLOCK_REALTIME_ALARM, CLOCK_MONOTONIC, CLOCK_BOOTTIME, CLOCK_BOOTTIM… 111 usec_t triple_timestamp_by_clock(triple_timestamp *ts, clockid_t clock); 158 bool clock_supported(clockid_t clock);
|
D | time-util.c | 185 usec_t triple_timestamp_by_clock(triple_timestamp *ts, clockid_t clock) { in triple_timestamp_by_clock() argument 187 switch (clock) { in triple_timestamp_by_clock() 1458 bool clock_supported(clockid_t clock) { in clock_supported() argument 1461 switch (clock) { in clock_supported() 1471 return clock_gettime(clock, &ts) >= 0; in clock_supported()
|
/systemd-251/test/units/ |
D | testsuite-30.sh | 15 systemd-run --on-clock-change touch /tmp/clock-changed 18 test ! -f /tmp/clock-changed 26 while test ! -f /tmp/clock-changed ; do sleep .5 ; done
|
D | testsuite-43.sh | 102 runas testuser systemd-run --wait --user --unit=test-clock \
|
/systemd-251/src/systemd/ |
D | sd-event.h | 90 int sd_event_add_time(sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, uint64_t ac… 91 int sd_event_add_time_relative(sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, ui… 108 int sd_event_now(sd_event *e, clockid_t clock, uint64_t *usec); 146 int sd_event_source_get_time_clock(sd_event_source *s, clockid_t *clock);
|
D | sd-dhcp6-lease.h | 32 int sd_dhcp6_lease_get_timestamp(sd_dhcp6_lease *lease, clockid_t clock, uint64_t *ret);
|
D | sd-ndisc.h | 89 int sd_ndisc_router_get_timestamp(sd_ndisc_router *rt, clockid_t clock, uint64_t *ret);
|
D | sd-lldp-rx.h | 78 int sd_lldp_neighbor_get_timestamp(sd_lldp_neighbor *n, clockid_t clock, uint64_t *ret);
|
/systemd-251/shell-completion/zsh/ |
D | _timedatectl | 62 '--adjust-system-clock[Adjust system clock when changing local RTC mode]' \
|
D | _systemd-run | 38 '--on-clock-change[Defines a trigger based on system clock jumps]' \
|
/systemd-251/src/libsystemd-network/ |
D | ndisc-router.c | 48 int sd_ndisc_router_get_timestamp(sd_ndisc_router *rt, clockid_t clock, uint64_t *ret) { in sd_ndisc_router_get_timestamp() argument 50 assert_return(TRIPLE_TIMESTAMP_HAS_CLOCK(clock), -EOPNOTSUPP); in sd_ndisc_router_get_timestamp() 51 assert_return(clock_supported(clock), -EOPNOTSUPP); in sd_ndisc_router_get_timestamp() 57 *ret = triple_timestamp_by_clock(&rt->timestamp, clock); in sd_ndisc_router_get_timestamp()
|
D | sd-dhcp6-lease.c | 25 int sd_dhcp6_lease_get_timestamp(sd_dhcp6_lease *lease, clockid_t clock, uint64_t *ret) { in sd_dhcp6_lease_get_timestamp() argument 27 assert_return(TRIPLE_TIMESTAMP_HAS_CLOCK(clock), -EOPNOTSUPP); in sd_dhcp6_lease_get_timestamp() 28 assert_return(clock_supported(clock), -EOPNOTSUPP); in sd_dhcp6_lease_get_timestamp() 34 *ret = triple_timestamp_by_clock(&lease->timestamp, clock); in sd_dhcp6_lease_get_timestamp()
|
D | lldp-neighbor.c | 785 int sd_lldp_neighbor_get_timestamp(sd_lldp_neighbor *n, clockid_t clock, uint64_t *ret) { in sd_lldp_neighbor_get_timestamp() argument 787 assert_return(TRIPLE_TIMESTAMP_HAS_CLOCK(clock), -EOPNOTSUPP); in sd_lldp_neighbor_get_timestamp() 788 assert_return(clock_supported(clock), -EOPNOTSUPP); in sd_lldp_neighbor_get_timestamp() 794 *ret = triple_timestamp_by_clock(&n->timestamp, clock); in sd_lldp_neighbor_get_timestamp()
|
/systemd-251/units/ |
D | systemd-timedated.service.in | 41 SystemCallFilter=@system-service @clock
|
D | systemd-timesyncd.service.in | 53 SystemCallFilter=@system-service @clock
|
/systemd-251/test/fuzz/fuzz-unit-file/ |
D | systemd-machined.service | 32 SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap
|
D | systemd-resolved.service | 42 SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @s…
|
/systemd-251/shell-completion/bash/ |
D | timedatectl | 42 local OPTS='-h --help --version --adjust-system-clock --no-pager
|
D | systemd-run | 38 --on-clock-change --on-timezone-change --path-property --socket-property
|
/systemd-251/src/shared/ |
D | meson.build | 72 'clock-util.c', 73 'clock-util.h',
|
/systemd-251/catalog/ |
D | systemd.catalog.in | 127 The system clock has been changed to @REALTIME@ microseconds after January 1st, 1970. 531 Subject: Initial clock synchronization 536 acquired and the local system clock adjustment has been initiated.
|
/systemd-251/docs/ |
D | PASSWORD_AGENTS.md | 30 …past. The time is specified in usecs, and refers to the `CLOCK_MONOTONIC` clock. If `NotAfter=` is…
|