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()
739 u64 expires, iv = timer->it_interval; in __posix_cpu_timer_get() local
749 expires = bump_cpu_timer(timer, now); in __posix_cpu_timer_get()
751 expires = cpu_timer_getexpires(&timer->it.cpu); in __posix_cpu_timer_get()
758 if (now < expires) { in __posix_cpu_timer_get()
759 itp->it_value = ns_to_timespec64(expires - now); in __posix_cpu_timer_get()
803 u64 expires; in collect_timerqueue() local
806 expires = cpu_timer_getexpires(ctmr); in collect_timerqueue()
808 if (++i == MAX_COLLECTED || now < expires) in collect_timerqueue()
809 return expires; in collect_timerqueue()
911 u64 *expires, u64 cur_time, int signo) in check_cpu_itimer() argument
913 if (!it->expires) in check_cpu_itimer()
916 if (cur_time >= it->expires) { in check_cpu_itimer()
918 it->expires += it->incr; in check_cpu_itimer()
920 it->expires = 0; in check_cpu_itimer()
928 if (it->expires && it->expires < *expires) in check_cpu_itimer()
929 *expires = it->expires; in check_cpu_itimer()
1469 u64 expires; in do_cpu_nanosleep() local
1519 expires = cpu_timer_getexpires(&timer.it.cpu); in do_cpu_nanosleep()
1545 restart->nanosleep.expires = expires; in do_cpu_nanosleep()
1587 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()