Lines Matching refs:tk
147 struct vdso_timekeep *tk; in timehands_update() local
159 tk = (struct vdso_timekeep *)(shared_page_mapping + in timehands_update()
161 tk->tk_th[idx].th_gen = 0; in timehands_update()
164 tk->tk_th[idx] = th; in timehands_update()
165 atomic_store_rel_32(&tk->tk_th[idx].th_gen, svtk->sv_timekeep_gen); in timehands_update()
166 atomic_store_rel_32(&tk->tk_current, idx); in timehands_update()
172 tk->tk_enabled = enabled; in timehands_update()
180 struct vdso_timekeep32 *tk; in timehands_update32() local
192 tk = (struct vdso_timekeep32 *)(shared_page_mapping + in timehands_update32()
194 tk->tk_th[idx].th_gen = 0; in timehands_update32()
197 tk->tk_th[idx] = th; in timehands_update32()
198 atomic_store_rel_32(&tk->tk_th[idx].th_gen, svtk->sv_timekeep_gen); in timehands_update32()
199 atomic_store_rel_32(&tk->tk_current, idx); in timehands_update32()
200 tk->tk_enabled = enabled; in timehands_update32()