Searched refs:timeout_when (Results 1 – 2 of 2) sorted by relevance
271 ioloop_events(int64_t timeout_when) in ioloop_events() argument277 int64_t next_event = timeout_when; in ioloop_events()287 if (timeout_when == 0) { in ioloop_events()290 next_event = timeout_when; in ioloop_events()348 if (timeout_when == 0 || timeout_when > ioloop_now) { in ioloop_events()
1349 uint64_t timeout_when, now;1356 timeout_when = tv.tv_sec * 1000ULL * 1000ULL + tv.tv_usec + exitTimeout * 1000ULL * 1000ULL;1376 if (timeout_when <= now)1380 if (timeout_when - now < timeOut * 1000ULL * 1000ULL)1382 tv.tv_sec = (time_t)(timeout_when - now) / 1000 / 1000;1383 tv.tv_usec = (suseconds_t)(timeout_when % (1000 * 1000));