Searched refs:usec_add (Results 1 - 10 of 10) sorted by relevance
| /systemd/src/test/ |
| H A D | test-time.c | 182 assert_se(usec_add(0, 0) == 0); 183 assert_se(usec_add(1, 4) == 5); 184 assert_se(usec_add(USEC_INFINITY, 5) == USEC_INFINITY); 185 assert_se(usec_add(5, USEC_INFINITY) == USEC_INFINITY); 186 assert_se(usec_add(USEC_INFINITY-5, 2) == USEC_INFINITY-3); 187 assert_se(usec_add(USEC_INFINITY-2, 2) == USEC_INFINITY); 188 assert_se(usec_add(USEC_INFINITY-1, 2) == USEC_INFINITY); 189 assert_se(usec_add(USEC_INFINITY, 2) == USEC_INFINITY);
|
| /systemd/src/basic/ |
| H A D | time-util.h | 127 static inline usec_t usec_add(usec_t a, usec_t b) { function 142 return usec_add(timestamp, (usec_t) (-delta));
|
| /systemd/src/core/ |
| H A D | scope.c | 193 r = scope_arm_timer(s, usec_add(u->state_change_timestamp.monotonic, s->timeout_stop_usec)); 259 r = scope_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_stop_usec));
|
| H A D | service.c | 216 r = sd_event_source_set_time(s->watchdog_event_source, usec_add(s->watchdog_timestamp.monotonic, s->watchdog_usec)); 228 usec_add(s->watchdog_timestamp.monotonic, s->watchdog_usec), 0, 969 return usec_add(UNIT(s)->state_change_timestamp.monotonic, s->timeout_start_usec); 972 return usec_add(UNIT(s)->active_enter_timestamp.monotonic, s->runtime_max_usec); 981 return usec_add(UNIT(s)->state_change_timestamp.monotonic, s->timeout_stop_usec); 984 return usec_add(UNIT(s)->inactive_enter_timestamp.monotonic, s->restart_usec); 1204 r = service_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), timeout)); 1425 r = service_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->restart_usec)); 1533 r = service_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_stop_usec)); 1563 service_arm_timer(s, usec_add(no [all...] |
| H A D | busname.c | 371 r = busname_arm_timer(n, usec_add(u->state_change_timestamp.monotonic, n->timeout_usec)); 396 r = busname_arm_timer(n, usec_add(now(CLOCK_MONOTONIC), n->timeout_usec)); 474 r = busname_arm_timer(n, usec_add(now(CLOCK_MONOTONIC), n->timeout_usec));
|
| H A D | swap.c | 551 r = swap_arm_timer(s, usec_add(u->state_change_timestamp.monotonic, s->timeout_usec)); 632 r = swap_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec)); 709 r = swap_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec));
|
| H A D | job.c | 940 usec_add(j->begin_usec, j->unit->job_timeout), 0, 1127 usec_add(j->begin_usec, j->unit->job_timeout), 0,
|
| H A D | mount.c | 652 r = mount_arm_timer(m, usec_add(u->state_change_timestamp.monotonic, m->timeout_usec)); 726 r = mount_arm_timer(m, usec_add(now(CLOCK_MONOTONIC), m->timeout_usec)); 799 r = mount_arm_timer(m, usec_add(now(CLOCK_MONOTONIC), m->timeout_usec));
|
| H A D | socket.c | 1493 r = socket_arm_timer(s, usec_add(u->state_change_timestamp.monotonic, s->timeout_usec)); 1550 r = socket_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec)); 1588 r = socket_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec)); 1731 r = socket_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec));
|
| /systemd/src/libsystemd/sd-event/ |
| H A D | sd-event.c | 329 return usec_add(s->time.next, s->time.accuracy);
|
Completed in 65 milliseconds