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()
744 u64 expires, iv = timer->it_interval; in __posix_cpu_timer_get() local
754 expires = bump_cpu_timer(timer, now); in __posix_cpu_timer_get()
756 expires = cpu_timer_getexpires(&timer->it.cpu); in __posix_cpu_timer_get()
763 if (now < expires) { in __posix_cpu_timer_get()
764 itp->it_value = ns_to_timespec64(expires - now); in __posix_cpu_timer_get()
808 u64 expires; in collect_timerqueue() local
811 expires = cpu_timer_getexpires(ctmr); in collect_timerqueue()
813 if (++i == MAX_COLLECTED || now < expires) in collect_timerqueue()
814 return expires; in collect_timerqueue()
916 u64 *expires, u64 cur_time, int signo) in check_cpu_itimer() argument
918 if (!it->expires) in check_cpu_itimer()
921 if (cur_time >= it->expires) { in check_cpu_itimer()
923 it->expires += it->incr; in check_cpu_itimer()
925 it->expires = 0; in check_cpu_itimer()
933 if (it->expires && it->expires < *expires) in check_cpu_itimer()
934 *expires = it->expires; in check_cpu_itimer()
1474 u64 expires; in do_cpu_nanosleep() local
1525 expires = cpu_timer_getexpires(&timer.it.cpu); in do_cpu_nanosleep()
1551 restart->nanosleep.expires = expires; in do_cpu_nanosleep()
1593 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()