Lines Matching refs:expires
124 u64 delta, incr, expires = timer->it.cpu.node.expires; in bump_cpu_timer() local
128 return expires; in bump_cpu_timer()
130 if (now < expires) in bump_cpu_timer()
131 return expires; in bump_cpu_timer()
134 delta = now + incr - expires; in bump_cpu_timer()
144 timer->it.cpu.node.expires += incr; in bump_cpu_timer()
148 return timer->it.cpu.node.expires; in bump_cpu_timer()
793 u64 now, expires = cpu_timer_getexpires(ctmr); in posix_cpu_timer_get() local
806 if (!expires) in posix_cpu_timer_get()
817 if (now < expires) { in posix_cpu_timer_get()
818 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get()
841 u64 expires; in collect_timerqueue() local
844 expires = cpu_timer_getexpires(ctmr); in collect_timerqueue()
846 if (++i == MAX_COLLECTED || now < expires) in collect_timerqueue()
847 return expires; in collect_timerqueue()
947 u64 *expires, u64 cur_time, int signo) in check_cpu_itimer() argument
949 if (!it->expires) in check_cpu_itimer()
952 if (cur_time >= it->expires) { in check_cpu_itimer()
954 it->expires += it->incr; in check_cpu_itimer()
956 it->expires = 0; in check_cpu_itimer()
964 if (it->expires && it->expires < *expires) in check_cpu_itimer()
965 *expires = it->expires; in check_cpu_itimer()
1448 u64 expires; in do_cpu_nanosleep() local
1498 expires = cpu_timer_getexpires(&timer.it.cpu); in do_cpu_nanosleep()
1531 restart->nanosleep.expires = expires; in do_cpu_nanosleep()
1573 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()