Searched refs:delta (Results 1 - 5 of 5) sorted by relevance
/systemd/src/basic/ |
H A D | time-util.h | 140 static inline usec_t usec_sub(usec_t timestamp, int64_t delta) { argument 141 if (delta < 0) 142 return usec_add(timestamp, (usec_t) (-delta)); 147 if (timestamp < (usec_t) delta) 150 return timestamp - delta;
|
H A D | time-util.c | 71 int64_t delta; local 81 delta = (int64_t) now(CLOCK_REALTIME) - (int64_t) u; 82 ts->monotonic = usec_sub(now(CLOCK_MONOTONIC), delta); 88 int64_t delta; local 97 delta = (int64_t) now(CLOCK_MONOTONIC) - (int64_t) u; 98 ts->realtime = usec_sub(now(CLOCK_REALTIME), delta); 104 int64_t delta; local 112 delta = (int64_t) now(clock_boottime_or_monotonic()) - (int64_t) u; 113 ts->realtime = usec_sub(ts->realtime, delta); 114 ts->monotonic = usec_sub(ts->monotonic, delta); [all...] |
/systemd/src/journal-remote/ |
H A D | journal-gatewayd.c | 63 uint64_t delta, size; member in struct:RequestMeta 157 assert(pos >= m->delta); 159 pos -= m->delta; 212 m->delta += m->size; 547 assert(pos >= m->delta); 549 pos -= m->delta; 571 m->delta += m->size;
|
/systemd/src/journal/ |
H A D | mmap-cache.c | 526 uint64_t delta; local 528 delta = PAGE_ALIGN((WINDOW_SIZE - wsize) / 2); 530 if (delta > offset) 533 woffset -= delta;
|
/systemd/src/core/ |
H A D | busname.c | 755 size_t start, ps, sz, delta; local 788 delta = cmd_recv.msg.offset - start; 789 sz = PAGE_ALIGN(delta + cmd_recv.msg.msg_size); 797 k = (struct kdbus_msg *) ((uint8_t *) p + delta);
|
Completed in 123 milliseconds