Lines Matching full:time
35 struct os_time time;
308 if (os_get_time(&timeout->time) < 0) {
312 now_sec = timeout->time.sec;
313 timeout->time.sec += secs;
314 if (timeout->time.sec < now_sec) {
324 timeout->time.usec += usecs;
325 while (timeout->time.usec >= 1000000) {
326 timeout->time.sec++;
327 timeout->time.usec -= 1000000;
336 /* Maintain timeouts in order of increasing time */
338 if (os_time_before(&timeout->time, &tmp->time)) {
524 if (os_time_before(&now, &timeout->time))
525 os_time_sub(&timeout->time, &now, &tv);
548 if (!os_time_before(&now, &timeout->time)) {
589 sec = timeout->time.sec - now.sec;
590 usec = timeout->time.usec - now.usec;
591 if (timeout->time.usec < now.usec) {