Searched defs:realtime (Results 1 - 15 of 15) sorted by relevance

/systemd/src/journal-remote/
H A Djournal-upload-journal.c67 usec_t realtime; local
69 r = sd_journal_get_realtime_usec(u->journal, &realtime);
71 return log_error_errno(r, "Failed to get realtime timestamp: %m");
74 "__REALTIME_TIMESTAMP="USEC_FMT"\n", realtime);
/systemd/src/basic/
H A Dtime-util.h38 usec_t realtime; member in struct:dual_timestamp
83 return ((ts->realtime > 0 && ts->realtime != USEC_INFINITY) ||
/systemd/src/journal/
H A Djournal-authenticate.c100 static int journal_file_get_epoch(JournalFile *f, uint64_t realtime, uint64_t *epoch) { argument
111 if (realtime < f->fss_start_usec)
114 t = realtime - f->fss_start_usec;
121 static int journal_file_fsprg_need_evolve(JournalFile *f, uint64_t realtime) { argument
129 r = journal_file_get_epoch(f, realtime, &goal);
140 int journal_file_fsprg_evolve(JournalFile *f, uint64_t realtime) { argument
149 r = journal_file_get_epoch(f, realtime, &goal);
206 int journal_file_maybe_append_tag(JournalFile *f, uint64_t realtime) { argument
214 if (realtime <= 0)
215 realtime
[all...]
H A Djournal-internal.h70 uint64_t realtime; member in struct:Location
H A Djournal-vacuum.c41 uint64_t realtime; member in struct:vacuum_info
64 if (a->realtime < b->realtime)
66 else if (a->realtime > b->realtime)
78 unsigned long long *realtime) {
89 assert(realtime);
92 if (x > 0 && x != USEC_INFINITY && x < *realtime)
93 *realtime = x;
96 if (x > 0 && x != USEC_INFINITY && x < *realtime)
74 patch_realtime( int fd, const char *fn, const struct stat *st, unsigned long long *realtime) argument
182 unsigned long long seqnum = 0, realtime; local
292 patch_realtime(dirfd(d), p, &st, &realtime); local
[all...]
H A Djournal-def.h108 le64_t realtime; member in struct:EntryObject
H A Djournal-file.c1350 f->header->head_entry_realtime = o->entry.realtime;
1352 f->header->tail_entry_realtime = o->entry.realtime;
1393 o->entry.realtime = htole64(ts->realtime);
1535 r = journal_file_maybe_append_tag(f, ts->realtime);
2061 if (le64toh(o->entry.realtime) == needle)
2063 else if (le64toh(o->entry.realtime) < needle)
2071 uint64_t realtime,
2081 realtime,
2161 f->current_realtime = le64toh(o->entry.realtime);
2069 journal_file_move_to_entry_by_realtime( JournalFile *f, uint64_t realtime, direction_t direction, Object **ret, uint64_t *offset) argument
2482 journal_file_move_to_entry_by_realtime_for_data( JournalFile *f, uint64_t data_offset, uint64_t realtime, direction_t direction, Object **ret, uint64_t *offset) argument
[all...]
H A Dsd-journal.c145 l->realtime = le64toh(o->entry.realtime);
460 f->current_realtime == l->realtime &&
485 if (f->current_realtime < l->realtime)
487 if (f->current_realtime > l->realtime)
629 return journal_file_move_to_entry_by_realtime_for_data(f, dp, j->current_location.realtime, direction, ret, offset);
722 return journal_file_move_to_entry_by_realtime(f, j->current_location.realtime, direction, ret, offset);
939 le64toh(o->entry.realtime),
949 unsigned long long seqnum, monotonic, realtime, xor_hash; local
1000 if (sscanf(item+2, "%llx", &realtime) !
[all...]
/systemd/src/machine/
H A Dmachine.c197 m->timestamp.realtime,
261 _cleanup_free_ char *realtime = NULL, *monotonic = NULL, *id = NULL, *leader = NULL, *class = NULL, *netif = NULL; local
277 "REALTIME", &realtime,
302 if (realtime) {
304 if (sscanf(realtime, "%llu", &l) > 0)
305 m->timestamp.realtime = l;
/systemd/src/login/
H A Dlogind-user.c177 u->timestamp.realtime,
297 _cleanup_free_ char *display = NULL, *realtime = NULL, *monotonic = NULL; local
307 "REALTIME", &realtime,
324 if (realtime) {
326 if (sscanf(realtime, "%llu", &l) > 0)
327 u->timestamp.realtime = l;
H A Dlogind-session.c285 s->timestamp.realtime,
322 *realtime = NULL, local
349 "REALTIME", &realtime,
449 if (realtime) {
451 if (sscanf(realtime, "%llu", &l) > 0)
452 s->timestamp.realtime = l;
/systemd/src/libsystemd/sd-bus/
H A Dbus-message.h86 usec_t realtime; member in struct:sd_bus_message
/systemd/src/resolve/
H A Dresolved-dns-dnssec.c515 static int dnssec_rrsig_expired(DnsResourceRecord *rrsig, usec_t realtime) { argument
521 if (realtime == USEC_INFINITY)
522 realtime = now(CLOCK_REALTIME);
548 return realtime < inception || realtime > expiration;
588 usec_t realtime) {
618 usec_t realtime,
658 r = dnssec_rrsig_expired(rrsig, realtime);
823 dnssec_fix_rrset_ttl(list, n, rrsig, realtime);
889 usec_t realtime,
584 dnssec_fix_rrset_ttl( DnsResourceRecord *list[], unsigned n, DnsResourceRecord *rrsig, usec_t realtime) argument
613 dnssec_verify_rrset( DnsAnswer *a, const DnsResourceKey *key, DnsResourceRecord *rrsig, DnsResourceRecord *dnskey, usec_t realtime, DnssecResult *result) argument
885 dnssec_verify_rrset_search( DnsAnswer *a, const DnsResourceKey *key, DnsAnswer *validated_dnskeys, usec_t realtime, DnssecResult *result, DnsResourceRecord **ret_rrsig) argument
2121 dnssec_verify_rrset( DnsAnswer *a, const DnsResourceKey *key, DnsResourceRecord *rrsig, DnsResourceRecord *dnskey, usec_t realtime, DnssecResult *result) argument
2142 dnssec_verify_rrset_search( DnsAnswer *a, const DnsResourceKey *key, DnsAnswer *validated_dnskeys, usec_t realtime, DnssecResult *result, DnsResourceRecord **ret_rrsig) argument
[all...]
/systemd/src/shared/
H A Dlogs-show.c220 _cleanup_free_ char *hostname = NULL, *identifier = NULL, *comm = NULL, *pid = NULL, *fake_pid = NULL, *message = NULL, *realtime = NULL, *monotonic = NULL, *priority = NULL; local
274 r = parse_field(data, length, "_SOURCE_REALTIME_TIMESTAMP=", &realtime, &realtime_len);
336 if (realtime)
337 r = safe_atou64(realtime, &x);
343 return log_error_errno(r, "Failed to get realtime timestamp: %m");
417 uint64_t realtime = 0; local
428 log_debug("Source realtime timestamp not found");
430 return log_full_errno(r == -EADDRNOTAVAIL ? LOG_DEBUG : LOG_ERR, r, "Failed to get source realtime timestamp: %m");
439 r = safe_atou64(value, &realtime);
441 log_debug_errno(r, "Failed to parse realtime timestam
514 usec_t realtime, monotonic; local
642 uint64_t realtime, monotonic; local
[all...]
/systemd/src/libsystemd/sd-event/
H A Dsd-event.c64 [SOURCE_TIME_REALTIME] = "realtime",
67 [SOURCE_TIME_REALTIME_ALARM] = "realtime-alarm",
198 struct clock_data realtime; member in struct:sd_event
408 free_clock_data(&e->realtime);
437 e->watchdog_fd = e->epoll_fd = e->realtime.fd = e->boottime.fd = e->monotonic.fd = e->realtime_alarm.fd = e->boottime_alarm.fd = -1;
438 e->realtime.next = e->boottime.next = e->monotonic.next = e->realtime_alarm.next = e->boottime_alarm.next = USEC_INFINITY;
439 e->realtime.wakeup = e->boottime.wakeup = e->monotonic.wakeup = e->realtime_alarm.wakeup = e->boottime_alarm.wakeup = WAKEUP_CLOCK_DATA;
604 return &e->realtime;
2464 r = event_arm_timer(e, &e->realtime);
2568 r = process_timer(e, e->timestamp.realtime,
[all...]

Completed in 41 milliseconds