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()
792 u64 now, expires = cpu_timer_getexpires(ctmr); in posix_cpu_timer_get() local
805 if (!expires) in posix_cpu_timer_get()
816 if (now < expires) { in posix_cpu_timer_get()
817 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get()
840 u64 expires; in collect_timerqueue() local
843 expires = cpu_timer_getexpires(ctmr); in collect_timerqueue()
845 if (++i == MAX_COLLECTED || now < expires) in collect_timerqueue()
846 return expires; in collect_timerqueue()
948 u64 *expires, u64 cur_time, int signo) in check_cpu_itimer() argument
950 if (!it->expires) in check_cpu_itimer()
953 if (cur_time >= it->expires) { in check_cpu_itimer()
955 it->expires += it->incr; in check_cpu_itimer()
957 it->expires = 0; in check_cpu_itimer()
965 if (it->expires && it->expires < *expires) in check_cpu_itimer()
966 *expires = it->expires; in check_cpu_itimer()
1506 u64 expires; in do_cpu_nanosleep() local
1556 expires = cpu_timer_getexpires(&timer.it.cpu); in do_cpu_nanosleep()
1582 restart->nanosleep.expires = expires; in do_cpu_nanosleep()
1624 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()