Lines Matching refs:next
510 dual_timestamp *next) { in get_next_elapse() argument
518 assert(next); in get_next_elapse()
544 *next = t; in get_next_elapse()
665 usec_t calc_next_elapse(dual_timestamp *nw, dual_timestamp *next) { in calc_next_elapse() argument
669 assert(next); in calc_next_elapse()
671 if (timestamp_is_set(next->monotonic)) { in calc_next_elapse()
674 if (next->monotonic > nw->monotonic) in calc_next_elapse()
675 converted = nw->realtime + (next->monotonic - nw->monotonic); in calc_next_elapse()
677 converted = nw->realtime - (nw->monotonic - next->monotonic); in calc_next_elapse()
679 if (timestamp_is_set(next->realtime)) in calc_next_elapse()
680 next_elapse = MIN(converted, next->realtime); in calc_next_elapse()
685 next_elapse = next->realtime; in calc_next_elapse()
720 dual_timestamp next = DUAL_TIMESTAMP_NULL; in verb_list_timers() local
730 r = get_next_elapse(bus, u->unit_path, &next); in verb_list_timers()
741 m = calc_next_elapse(&nw, &next); in verb_list_timers()