Lines Matching refs:next_event
176 time_t next_event;
224 for (next_event = 0, lease = leases; lease; lease = lease->next)
226 (next_event == 0 || difftime(next_event, lease->expires + 10) > 0.0))
227 next_event = lease->expires + 10;
231 if (next_event == 0 || difftime(next_event, LEASE_RETRY + now) > 0.0)
232 next_event = LEASE_RETRY + now;
236 (unsigned int)difftime(next_event, now));
239 if (next_event != 0)
240 alarm((unsigned)difftime(next_event, now));