Lines Matching refs:t
294 # define switch_hrtimer_base(t, b, p) (b) argument
1940 struct hrtimer_sleeper *t = in hrtimer_wakeup() local
1942 struct task_struct *task = t->task; in hrtimer_wakeup()
1944 t->task = NULL; in hrtimer_wakeup()
2042 static int __sched do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mode) in do_nanosleep() argument
2048 hrtimer_sleeper_start_expires(t, mode); in do_nanosleep()
2050 if (likely(t->task)) in do_nanosleep()
2053 hrtimer_cancel(&t->timer); in do_nanosleep()
2056 } while (t->task && !signal_pending(current)); in do_nanosleep()
2060 if (!t->task) in do_nanosleep()
2065 ktime_t rem = hrtimer_expires_remaining(&t->timer); in do_nanosleep()
2079 struct hrtimer_sleeper t; in hrtimer_nanosleep_restart() local
2082 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
2084 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
2085 ret = do_nanosleep(&t, HRTIMER_MODE_ABS); in hrtimer_nanosleep_restart()
2086 destroy_hrtimer_on_stack(&t.timer); in hrtimer_nanosleep_restart()
2094 struct hrtimer_sleeper t; in hrtimer_nanosleep() local
2102 hrtimer_init_sleeper_on_stack(&t, clockid, mode); in hrtimer_nanosleep()
2103 hrtimer_set_expires_range_ns(&t.timer, rqtp, slack); in hrtimer_nanosleep()
2104 ret = do_nanosleep(&t, mode); in hrtimer_nanosleep()
2115 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
2116 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2119 destroy_hrtimer_on_stack(&t.timer); in hrtimer_nanosleep()
2283 struct hrtimer_sleeper t; in schedule_hrtimeout_range_clock() local
2309 hrtimer_init_sleeper_on_stack(&t, clock_id, mode); in schedule_hrtimeout_range_clock()
2310 hrtimer_set_expires_range_ns(&t.timer, *expires, delta); in schedule_hrtimeout_range_clock()
2311 hrtimer_sleeper_start_expires(&t, mode); in schedule_hrtimeout_range_clock()
2313 if (likely(t.task)) in schedule_hrtimeout_range_clock()
2316 hrtimer_cancel(&t.timer); in schedule_hrtimeout_range_clock()
2317 destroy_hrtimer_on_stack(&t.timer); in schedule_hrtimeout_range_clock()
2321 return !t.task ? 0 : -EINTR; in schedule_hrtimeout_range_clock()