Lines Matching refs:now
125 static u64 bump_cpu_timer(struct k_itimer *timer, u64 now) in bump_cpu_timer() argument
133 if (now < expires) in bump_cpu_timer()
137 delta = now + incr - expires; in bump_cpu_timer()
706 u64 now, expires = cpu_timer_getexpires(ctmr); in posix_cpu_timer_get() local
724 now = cpu_clock_sample(clkid, p); in posix_cpu_timer_get()
744 now = cpu_clock_sample_group(clkid, p, false); in posix_cpu_timer_get()
749 if (now < expires) { in posix_cpu_timer_get()
750 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get()
764 struct list_head *firing, u64 now) in collect_timerqueue() argument
776 if (++i == MAX_COLLECTED || now < expires) in collect_timerqueue()
983 u64 now; in posix_cpu_timer_rearm() local
992 now = cpu_clock_sample(clkid, p); in posix_cpu_timer_rearm()
993 bump_cpu_timer(timer, now); in posix_cpu_timer_rearm()
1018 now = cpu_clock_sample_group(clkid, p, true); in posix_cpu_timer_rearm()
1019 bump_cpu_timer(timer, now); in posix_cpu_timer_rearm()
1181 u64 now, *nextevt; in set_process_cpu_timer() local
1187 now = cpu_clock_sample_group(clkid, tsk, true); in set_process_cpu_timer()
1196 if (*oldval <= now) { in set_process_cpu_timer()
1200 *oldval -= now; in set_process_cpu_timer()
1206 *newval += now; in set_process_cpu_timer()