Lines Matching refs:timeout
1038 struct itimerspec timeout;
1053 if (timer_gettime(host_timer, &timeout)) {
1058 current_ns = timeout.it_value.tv_sec * 1000000000LL + timeout.it_value.tv_nsec;
1062 timeout.it_interval.tv_sec = 0;
1063 timeout.it_interval.tv_nsec = 0; /* 0 for one-shot timer */
1064 timeout.it_value.tv_sec = nearest_delta_ns / 1000000000;
1065 timeout.it_value.tv_nsec = nearest_delta_ns % 1000000000;
1066 if (timer_settime(host_timer, 0 /* RELATIVE */, &timeout, NULL)) {
1320 int timeout;
1323 timeout = 5000;
1325 timeout = 0;
1337 timeout = 1000/15; /* deliver user events every 15/th of second */
1339 timeout = 5000;
1342 /* XXX: use timeout computed from timers */
1350 timeout = (delta + 999999) / 1000000;
1362 timeout = delta / 1000000;
1363 if (timeout < 0)
1364 timeout = 0;
1368 return timeout;