static u_int tc_delta(const struct vdso_timehands *th) { return ((__vdso_gettc(th) - th->th_offset_count) & th->th_counter_mask); }
static int tc_delta(const struct vdso_timehands *th, u_int *delta) { int error; u_int tc; error = __vdso_gettc(th, &tc); if (error == 0) *delta = (tc - th->th_offset_count) & th->th_counter_mask; return (error); }