Searched refs:clk (Results 1 – 2 of 2) sorted by relevance
/lib/vdso/ |
D | gettimeofday.c | 49 static __always_inline int do_hres_timens(const struct vdso_data *vdns, clockid_t clk, in do_hres_timens() argument 53 const struct timens_offset *offs = &vdns->offset[clk]; in do_hres_timens() 59 vd = vdns - (clk == CLOCK_MONOTONIC_RAW ? CS_RAW : CS_HRES_COARSE); in do_hres_timens() 61 if (clk != CLOCK_MONOTONIC_RAW) in do_hres_timens() 65 vdso_ts = &vd->basetime[clk]; in do_hres_timens() 103 static __always_inline int do_hres_timens(const struct vdso_data *vdns, clockid_t clk, in do_hres_timens() argument 110 static __always_inline int do_hres(const struct vdso_data *vd, clockid_t clk, in do_hres() argument 113 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_hres() 136 return do_hres_timens(vd, clk, ts); in do_hres() 165 static __always_inline int do_coarse_timens(const struct vdso_data *vdns, clockid_t clk, in do_coarse_timens() argument [all …]
|
/lib/ |
D | vsprintf.c | 1971 char *clock(char *buf, char *end, struct clk *clk, struct printf_spec spec, in clock() argument 1977 if (check_pointer(&buf, end, clk, spec)) in clock() 1984 return string(buf, end, __clk_get_name(clk), spec); in clock() 1986 return ptr_to_id(buf, end, clk, spec); in clock()
|