Home
last modified time | relevance | path

Searched refs:vd (Results 1 – 1 of 1) sorted by relevance

/lib/vdso/
Dgettimeofday.c41 static int do_hres(const struct vdso_data *vd, clockid_t clk, in do_hres() argument
44 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_hres()
49 seq = vdso_read_begin(vd); in do_hres()
50 cycles = __arch_get_hw_counter(vd->clock_mode); in do_hres()
52 last = vd->cycle_last; in do_hres()
56 ns += vdso_calc_delta(cycles, last, vd->mask, vd->mult); in do_hres()
57 ns >>= vd->shift; in do_hres()
59 } while (unlikely(vdso_read_retry(vd, seq))); in do_hres()
71 static void do_coarse(const struct vdso_data *vd, clockid_t clk, in do_coarse() argument
74 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_coarse()
[all …]