Lines Matching refs:th
38 tc_delta(const struct vdso_timehands *th) in tc_delta() argument
41 return ((__vdso_gettc(th) - th->th_offset_count) & in tc_delta()
42 th->th_counter_mask); in tc_delta()
57 struct vdso_timehands *th; in binuptime() local
65 th = &tk->tk_th[curr]; in binuptime()
66 if (th->th_algo != VDSO_TH_ALGO_1) in binuptime()
68 gen = atomic_load_acq_32(&th->th_gen); in binuptime()
69 *bt = th->th_offset; in binuptime()
70 bintime_addx(bt, th->th_scale * tc_delta(th)); in binuptime()
72 bintime_add(bt, &th->th_boottime); in binuptime()
79 } while (curr != tk->tk_current || gen == 0 || gen != th->th_gen); in binuptime()