Lines Matching refs:timer
29 static struct timespec64 itimer_get_remtime(struct hrtimer *timer) in itimer_get_remtime() argument
31 ktime_t rem = __hrtimer_get_remaining(timer, true); in itimer_get_remtime()
38 if (hrtimer_active(timer)) { in itimer_get_remtime()
156 enum hrtimer_restart it_real_fn(struct hrtimer *timer) in it_real_fn() argument
159 container_of(timer, struct signal_struct, real_timer); in it_real_fn()
210 struct hrtimer *timer; in do_setitimer() local
217 timer = &tsk->signal->real_timer; in do_setitimer()
219 ovalue->it_value = itimer_get_remtime(timer); in do_setitimer()
224 if (hrtimer_try_to_cancel(timer) < 0) { in do_setitimer()
226 hrtimer_cancel_wait_running(timer); in do_setitimer()
233 hrtimer_start(timer, expires, HRTIMER_MODE_REL); in do_setitimer()