/systemd-251/src/basic/ |
D | time-util.h | 11 typedef uint64_t usec_t; typedef 22 usec_t realtime; 23 usec_t monotonic; 27 usec_t realtime; 28 usec_t monotonic; 29 usec_t boottime; 42 #define USEC_INFINITY ((usec_t) UINT64_MAX) 46 #define USEC_PER_SEC ((usec_t) 1000000ULL) 47 #define USEC_PER_MSEC ((usec_t) 1000ULL) 52 #define USEC_PER_MINUTE ((usec_t) (60ULL*USEC_PER_SEC)) [all …]
|
D | time-util.c | 50 usec_t now(clockid_t clock_id) { in now() 85 static usec_t map_clock_usec_internal(usec_t from, usec_t from_base, usec_t to_base) { in map_clock_usec_internal() 95 usec_t delta = from - from_base; in map_clock_usec_internal() 103 usec_t delta = from_base - from; in map_clock_usec_internal() 112 usec_t map_clock_usec(usec_t from, clockid_t from_clock, clockid_t to_clock) { in map_clock_usec() 126 dual_timestamp* dual_timestamp_from_realtime(dual_timestamp *ts, usec_t u) { in dual_timestamp_from_realtime() 139 triple_timestamp* triple_timestamp_from_realtime(triple_timestamp *ts, usec_t u) { in triple_timestamp_from_realtime() 140 usec_t nowr; in triple_timestamp_from_realtime() 158 dual_timestamp* dual_timestamp_from_monotonic(dual_timestamp *ts, usec_t u) { in dual_timestamp_from_monotonic() 171 dual_timestamp* dual_timestamp_from_boottime(dual_timestamp *ts, usec_t u) { in dual_timestamp_from_boottime() [all …]
|
D | xattr-util.c | 121 static int parse_crtime(le64_t le, usec_t *usec) { in parse_crtime() 130 *usec = (usec_t) u; in parse_crtime() 138 usec_t *ret) { in fd_getcrtime_at() 142 usec_t a, b; in fd_getcrtime_at() 168 a = (usec_t) sx.stx_btime.tv_sec * USEC_PER_SEC + in fd_getcrtime_at() 169 (usec_t) sx.stx_btime.tv_nsec / NSEC_PER_USEC; in fd_getcrtime_at() 197 int fd_setcrtime(int fd, usec_t usec) { in fd_setcrtime()
|
/systemd-251/src/analyze/ |
D | analyze-time-data.h | 7 usec_t firmware_time; 8 usec_t loader_time; 9 usec_t kernel_time; 10 usec_t kernel_done_time; 11 usec_t initrd_time; 12 usec_t userspace_time; 13 usec_t finish_time; 14 usec_t security_start_time; 15 usec_t security_finish_time; 16 usec_t generators_start_time; [all …]
|
/systemd-251/src/shared/ |
D | watchdog.c | 21 static usec_t watchdog_timeout; /* 0 → close device and USEC_INFINITY → don't change timeout */ 22 static usec_t watchdog_pretimeout; /* 0 → disable pretimeout and USEC_INFINITY → don't change preti… 23 static usec_t watchdog_last_ping = USEC_INFINITY; 38 static int saturated_usec_to_sec(usec_t val) { in saturated_usec_to_sec() 39 usec_t t = DIV_ROUND_UP(val, USEC_PER_SEC); in saturated_usec_to_sec() 40 return MIN(t, (usec_t) WATCHDOG_TIMEOUT_MAX_SEC); /* Saturate to watchdog max */ in saturated_usec_to_sec() 346 int watchdog_setup(usec_t timeout) { in watchdog_setup() 347 usec_t previous_timeout; in watchdog_setup() 378 int watchdog_setup_pretimeout(usec_t timeout) { in watchdog_setup_pretimeout() 398 static usec_t calc_timeout(void) { in calc_timeout() [all …]
|
D | efi-loader.h | 14 int efi_loader_get_boot_usec(usec_t *ret_firmware, usec_t *ret_loader); 20 int efi_loader_get_config_timeout_one_shot(usec_t *ret); 29 static inline int efi_loader_get_boot_usec(usec_t *firmware, usec_t *loader) { in efi_loader_get_boot_usec() 41 static inline int efi_loader_get_config_timeout_one_shot(usec_t *ret) { in efi_loader_get_config_timeout_one_shot()
|
D | ask-password-api.h | 20 int ask_password_tty(int tty_fd, const char *message, const char *key_name, usec_t until, AskPasswo… 21 int ask_password_plymouth(const char *message, usec_t until, AskPasswordFlags flags, const char *fl… 22 …t char *message, const char *icon, const char *id, const char *key_name, usec_t until, AskPassword… 23 …icon, const char *id, const char *key_name, const char *credential_name, usec_t until, AskPassword…
|
/systemd-251/src/udev/ |
D | udev-event.h | 32 usec_t exec_delay_usec; 33 usec_t birth_usec; 50 UdevEvent *udev_event_new(sd_device *dev, usec_t exec_delay_usec, sd_netlink *rtnl, int log_level); 64 usec_t timeout_usec, 74 usec_t timeout_usec, 78 void udev_event_execute_run(UdevEvent *event, usec_t timeout_usec, int timeout_signal); 81 static inline usec_t udev_warn_timeout(usec_t timeout_usec) { in udev_warn_timeout()
|
/systemd-251/src/core/ |
D | service.h | 116 usec_t restart_usec; 117 usec_t timeout_start_usec; 118 usec_t timeout_stop_usec; 119 usec_t timeout_abort_usec; 121 usec_t runtime_max_usec; 122 usec_t runtime_rand_extra_usec; 127 usec_t watchdog_usec; /* the requested watchdog timeout in the unit file */ 128 …usec_t watchdog_original_usec; /* the watchdog timeout that was in effect when the unit was star… 129 …usec_t watchdog_override_usec; /* the watchdog timeout requested by the service itself through s… 220 static inline usec_t service_timeout_abort_usec(Service *s) { in service_timeout_abort_usec() [all …]
|
D | dbus-manager.h | 11 …finished(Manager *m, usec_t firmware_usec, usec_t loader_usec, usec_t kernel_usec, usec_t initrd_u…
|
D | timer.h | 24 usec_t value; /* only for monotonic events */ 26 usec_t next_elapse; 42 usec_t accuracy_usec; 43 usec_t random_usec; 46 usec_t next_elapse_realtime; 47 usec_t next_elapse_monotonic_or_boottime;
|
D | manager.h | 248 usec_t watchdog[_WATCHDOG_TYPE_MAX]; 249 usec_t watchdog_overridden[_WATCHDOG_TYPE_MAX]; 320 usec_t etc_localtime_mtime; 358 usec_t default_restart_usec, default_timeout_start_usec, default_timeout_stop_usec; 359 usec_t default_timeout_abort_usec; 362 usec_t default_start_limit_interval; 373 usec_t default_timer_accuracy_usec; 462 static inline usec_t manager_default_timeout_abort_usec(Manager *m) { in manager_default_timeout_abort_usec() 577 usec_t manager_get_watchdog(Manager *m, WatchdogType t); 578 void manager_set_watchdog(Manager *m, WatchdogType t, usec_t timeout); [all …]
|
D | cgroup.h | 83 usec_t target_usec; 131 usec_t cpu_quota_per_sec_usec; 132 usec_t cpu_quota_period_usec; 222 usec_t cgroup_cpu_adjust_period(usec_t period, usec_t quota, usec_t resolution, usec_t max_period);
|
/systemd-251/src/journal/ |
D | journald-server.h | 46 usec_t timestamp; 101 usec_t sync_interval_usec; 102 usec_t ratelimit_interval; 119 usec_t last_warn_forward_syslog_missed; 121 usec_t max_retention_usec; 122 usec_t max_file_usec; 123 usec_t oldest_file_usec; 161 usec_t watchdog_usec; 163 usec_t last_realtime_clock; 171 usec_t last_cache_pid_flush;
|
D | journald-rate-limit.c | 32 usec_t begin; 43 usec_t interval; 102 static bool journal_ratelimit_group_expired(JournalRateLimitGroup *g, usec_t ts) { in journal_ratelimit_group_expired() 114 static void journal_ratelimit_vacuum(JournalRateLimit *r, usec_t ts) { in journal_ratelimit_vacuum() 125 …oup* journal_ratelimit_group_new(JournalRateLimit *r, const char *id, usec_t interval, usec_t ts) { in journal_ratelimit_group_new() 187 int journal_ratelimit_test(JournalRateLimit *r, const char *id, usec_t rl_interval, unsigned rl_bur… in journal_ratelimit_test() 192 usec_t ts; in journal_ratelimit_test()
|
/systemd-251/src/login/ |
D | logind-utmp.c | 23 _const_ static usec_t when_wall(usec_t n, usec_t elapse) { in when_wall() 25 usec_t left; in when_wall() 61 static int warn_wall(Manager *m, usec_t n) { in warn_wall() 63 usec_t left; in warn_wall() 96 usec_t n, next; in wall_message_timeout_handler() 124 usec_t n, elapse; in manager_setup_wall_message_timer()
|
D | logind.h | 68 usec_t inhibit_delay_max; 69 usec_t user_stop_delay; 80 usec_t scheduled_shutdown_timeout; 94 usec_t idle_action_usec; 95 usec_t idle_action_not_before_usec; 121 usec_t holdoff_timeout_usec; 177 int manager_set_lid_switch_ignore(Manager *m, usec_t until);
|
/systemd-251/src/timesync/ |
D | timesyncd-manager.h | 74 usec_t retry_interval; 75 usec_t connection_retry_usec; 80 usec_t poll_interval_usec; 81 usec_t poll_interval_min_usec; 82 usec_t poll_interval_max_usec; 92 usec_t root_distance_max_usec; 117 usec_t save_time_interval_usec;
|
/systemd-251/src/libsystemd-network/ |
D | radv-internal.h | 90 usec_t lifetime_usec; /* timespan */ 140 usec_t lifetime_valid_usec; 141 usec_t lifetime_preferred_usec; 143 usec_t valid_until; 144 usec_t preferred_until; 169 usec_t lifetime_usec; 171 usec_t valid_until;
|
D | dhcp6-lease-internal.h | 26 usec_t lifetime_t1; 27 usec_t lifetime_t2; 28 usec_t lifetime_valid; 48 int dhcp6_lease_get_lifetime(sd_dhcp6_lease *lease, usec_t *ret_t1, usec_t *ret_t2, usec_t *ret_val…
|
D | dhcp6-internal.h | 53 usec_t information_request_time_usec; 54 usec_t information_refresh_time_usec; 56 usec_t transaction_start; 57 usec_t retransmit_time;
|
/systemd-251/src/network/netdev/ |
D | bond.h | 37 usec_t miimon; 38 usec_t updelay; 39 usec_t downdelay; 40 usec_t arp_interval; 41 usec_t lp_interval;
|
D | bridge.h | 23 usec_t forward_delay; 24 usec_t hello_time; 25 usec_t max_age; 26 usec_t ageing_time;
|
/systemd-251/src/network/ |
D | networkd-radv.h | 35 usec_t preferred_lifetime; 36 usec_t valid_lifetime; 52 usec_t lifetime; 68 usec_t lifetime_preferred_usec, usec_t lifetime_valid_usec);
|
/systemd-251/src/test/ |
D | test-time-util.c | 12 usec_t u; in TEST() 74 usec_t u; in TEST() 87 usec_t u; in TEST() 105 usec_t u; in TEST() 191 static void test_format_timespan_one(usec_t x, usec_t accuracy) { in test_format_timespan_one() 194 usec_t y; in test_format_timespan_one() 210 static void test_format_timespan_accuracy(usec_t accuracy) { in test_format_timespan_accuracy() 318 usec_t x, y; in TEST() 362 usec_t x, y; in TEST() 378 usec_t x; in TEST() [all …]
|