/systemd/src/login/ |
H A D | logind-device.h | 35 dual_timestamp timestamp; member in struct:Device
|
H A D | logind-user.h | 53 dual_timestamp timestamp; member in struct:User
|
H A D | logind-session.h | 79 dual_timestamp timestamp; member in struct:Session
|
H A D | loginctl.c | 284 struct dual_timestamp timestamp; member in struct:SessionStatusInfo 304 struct dual_timestamp timestamp; member in struct:UserStatusInfo 436 { "Timestamp", "t", NULL, offsetof(SessionStatusInfo, timestamp.realtime) }, 437 { "TimestampMonotonic", "t", NULL, offsetof(SessionStatusInfo, timestamp.monotonic) }, 464 s1 = format_timestamp_relative(since1, sizeof(since1), i.timestamp.realtime); 465 s2 = format_timestamp(since2, sizeof(since2), i.timestamp.realtime); 544 i.timestamp.monotonic, 564 { "Timestamp", "t", NULL, offsetof(UserStatusInfo, timestamp.realtime) }, 565 { "TimestampMonotonic", "t", NULL, offsetof(UserStatusInfo, timestamp.monotonic) }, 590 s1 = format_timestamp_relative(since1, sizeof(since1), i.timestamp [all...] |
/systemd/src/shared/ |
H A D | utmp-wtmp.h | 32 int utmp_put_reboot(usec_t timestamp); 53 static inline int utmp_put_reboot(usec_t timestamp) { argument
|
H A D | bus-util.c | 772 char timestamp[FORMAT_TIMESTAMP_MAX], *t; local 774 t = format_timestamp(timestamp, sizeof(timestamp), u);
|
/systemd/src/journal-remote/ |
H A D | journal-remote-parse.c | 271 const char *timestamp; local 281 timestamp = startswith(line, "__CURSOR="); 282 if (timestamp) 286 timestamp = startswith(line, "__REALTIME_TIMESTAMP="); 287 if (timestamp) { 290 r = safe_atollu(timestamp, &x); 292 log_warning("Failed to parse __REALTIME_TIMESTAMP: '%s'", timestamp); 298 timestamp = startswith(line, "__MONOTONIC_TIMESTAMP="); 299 if (timestamp) { 302 r = safe_atollu(timestamp, [all...] |
/systemd/src/basic/ |
H A D | time-util.h | 140 static inline usec_t usec_sub(usec_t timestamp, int64_t delta) { argument 142 return usec_add(timestamp, (usec_t) (-delta)); 144 if (timestamp == USEC_INFINITY) /* Make sure infinity doesn't degrade */ 147 if (timestamp < (usec_t) delta) 150 return timestamp - delta;
|
H A D | path-util.c | 518 bool paths_check_timestamp(const char* const* paths, usec_t *timestamp, bool update) { argument 522 assert(timestamp); 537 if (*timestamp >= u) 540 log_debug("timestamp of '%s' changed", *i); 542 /* update timestamp */ 544 *timestamp = u;
|
/systemd/src/machine/ |
H A D | machine.h | 80 dual_timestamp timestamp; member in struct:Machine
|
H A D | machinectl.c | 502 struct dual_timestamp timestamp; member in struct:MachineStatusInfo 534 s1 = format_timestamp_relative(since1, sizeof(since1), i->timestamp.realtime); 535 s2 = format_timestamp(since2, sizeof(since2), i->timestamp.realtime); 607 i->timestamp.monotonic, 647 { "Timestamp", "t", NULL, offsetof(MachineStatusInfo, timestamp.realtime) }, 648 { "TimestampMonotonic", "t", NULL, offsetof(MachineStatusInfo, timestamp.monotonic) },
|
/systemd/src/coredump/ |
H A D | coredumpctl.c | 335 return log_error_errno(r, "Failed to get realtime timestamp: %m"); 369 *message = NULL, *timestamp = NULL, *filename = NULL; local 391 retrieve(d, l, "COREDUMP_TIMESTAMP", ×tamp); 454 if (timestamp) { 457 r = safe_atou64(timestamp, &u); 467 fprintf(file, " Timestamp: %s\n", timestamp);
|
/systemd/src/resolve/ |
H A D | resolved-dns-cache.c | 288 static usec_t calculate_until(DnsResourceRecord *rr, uint32_t nsec_ttl, usec_t timestamp, bool use_soa_minimum) { argument 321 return timestamp + u; 330 usec_t timestamp, 355 i->until = calculate_until(rr, (uint32_t) -1, timestamp, false); 372 usec_t timestamp, 410 /* Entry exists already? Update TTL, timestamp and owner*/ 419 timestamp, 440 i->until = calculate_until(rr, (uint32_t) -1, timestamp, false); 470 usec_t timestamp, 518 i->until = calculate_until(soa, nsec_ttl, timestamp, tru 324 dns_cache_item_update_positive( DnsCache *c, DnsCacheItem *i, DnsResourceRecord *rr, bool authenticated, bool shared_owner, usec_t timestamp, int ifindex, int owner_family, const union in_addr_union *owner_address) argument 367 dns_cache_put_positive( DnsCache *c, DnsResourceRecord *rr, bool authenticated, bool shared_owner, usec_t timestamp, int ifindex, int owner_family, const union in_addr_union *owner_address) argument 464 dns_cache_put_negative( DnsCache *c, DnsResourceKey *key, int rcode, bool authenticated, uint32_t nsec_ttl, usec_t timestamp, DnsResourceRecord *soa, int owner_family, const union in_addr_union *owner_address) argument 609 dns_cache_put( DnsCache *c, DnsResourceKey *key, int rcode, DnsAnswer *answer, bool authenticated, uint32_t nsec_ttl, usec_t timestamp, int owner_family, const union in_addr_union *owner_address) argument [all...] |
/systemd/src/cgtop/ |
H A D | cgtop.c | 213 nsec_t timestamp; local 229 timestamp = now_nsec(CLOCK_MONOTONIC); 236 x = timestamp - g->cpu_timestamp; 246 g->cpu_timestamp = timestamp; 276 nsec_t timestamp; local 317 timestamp = now_nsec(CLOCK_MONOTONIC); 322 x = (uint64_t) (timestamp - g->io_timestamp); 345 g->io_timestamp = timestamp;
|
/systemd/src/libsystemd/sd-bus/ |
H A D | kdbus.h | 131 * @monotonic_ns: Monotonic timestamp, in nanoseconds 132 * @realtime_ns: Realtime timestamp, in nanoseconds 421 * @timestamp: KDBUS_ITEM_TIMESTAMP 448 struct kdbus_timestamp timestamp; member in union:kdbus_item::__anon140
|
/systemd/src/libsystemd/sd-event/ |
H A D | sd-event.c | 219 dual_timestamp timestamp; member in struct:sd_event 2436 if (e->watchdog_last + e->watchdog_period / 4 > e->timestamp.monotonic) 2440 e->watchdog_last = e->timestamp.monotonic; 2530 dual_timestamp_get(&e->timestamp); 2568 r = process_timer(e, e->timestamp.realtime, &e->realtime); 2576 r = process_timer(e, e->timestamp.monotonic, &e->monotonic); 2580 r = process_timer(e, e->timestamp.realtime, &e->realtime_alarm); 2765 if (!dual_timestamp_is_set(&e->timestamp)) { 2776 *usec = e->timestamp.realtime; 2780 *usec = e->timestamp [all...] |
/systemd/src/tmpfiles/ |
H A D | tmpfiles.c | 1589 char timestamp[FORMAT_TIMESTAMP_MAX]; local 1629 format_timestamp_us(timestamp, sizeof(timestamp), cutoff));
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 1700 usec_t timestamp; member in struct:machine_info 1708 { "UserspaceTimestamp", "t", NULL, offsetof(struct machine_info, timestamp) }, 3414 usec_t timestamp; local 3509 timestamp = (streq_ptr(i->active_state, "active") || 3516 s1 = format_timestamp_relative(since1, sizeof(since1), timestamp); 3517 s2 = format_timestamp(since2, sizeof(since2), timestamp); 4605 format_timestamp(since2, sizeof(since2), mi.timestamp), 4606 format_timestamp_relative(since1, sizeof(since1), mi.timestamp));
|