Home
last modified time | relevance | path

Searched refs:clockid_t (Results 1 – 25 of 97) sorted by relevance

1234

/openbmc/linux/arch/x86/entry/vdso/
H A Dvclock_gettime.c41 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime()
46 int clock_gettime(clockid_t, struct __kernel_timespec *)
49 int __vdso_clock_getres(clockid_t clock, in __vdso_clock_getres()
54 int clock_getres(clockid_t, struct __kernel_timespec *)
59 extern int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts);
62 int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) in __vdso_clock_gettime()
67 int clock_gettime(clockid_t, struct old_timespec32 *)
70 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime64()
75 int clock_gettime64(clockid_t, struct __kernel_timespec *)
78 int __vdso_clock_getres(clockid_t clock, struct old_timespec32 *res) in __vdso_clock_getres()
[all …]
/openbmc/linux/arch/powerpc/include/asm/vdso/
H A Dgettimeofday.h46 int clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
52 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
62 int clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
68 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
74 int clock_gettime32_fallback(clockid_t _clkid, struct old_timespec32 *_ts) in clock_gettime32_fallback()
80 int clock_getres32_fallback(clockid_t _clkid, struct old_timespec32 *_ts) in clock_getres32_fallback()
142 int __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts,
144 int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res,
147 int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts,
149 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts,
[all …]
/openbmc/linux/arch/csky/include/asm/vdso/
H A Dgettimeofday.h33 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
35 register clockid_t clkid asm("a0") = _clkid; in clock_gettime_fallback()
49 long clock_gettime32_fallback(clockid_t _clkid, struct old_timespec32 *_ts) in clock_gettime32_fallback()
51 register clockid_t clkid asm("a0") = _clkid; in clock_gettime32_fallback()
65 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
67 register clockid_t clkid asm("a0") = _clkid; in clock_getres_fallback()
81 int clock_getres32_fallback(clockid_t _clkid, struct old_timespec32 *_ts) in clock_getres32_fallback()
83 register clockid_t clkid asm("a0") = _clkid; in clock_getres32_fallback()
/openbmc/linux/arch/arm/include/asm/vdso/
H A Dgettimeofday.h39 clockid_t _clkid, in clock_gettime_fallback()
43 register clockid_t clkid asm("r0") = _clkid; in clock_gettime_fallback()
57 clockid_t _clkid, in clock_gettime32_fallback()
61 register clockid_t clkid asm("r0") = _clkid; in clock_gettime32_fallback()
75 clockid_t _clkid, in clock_getres_fallback()
79 register clockid_t clkid asm("r0") = _clkid; in clock_getres_fallback()
93 clockid_t _clkid, in clock_getres32_fallback()
97 register clockid_t clkid asm("r0") = _clkid; in clock_getres32_fallback()
/openbmc/linux/arch/csky/kernel/vdso/
H A Dvgettimeofday.c7 int __vdso_clock_gettime(clockid_t clock,
9 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
15 int __vdso_clock_gettime64(clockid_t clock,
17 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
33 int __vdso_clock_getres(clockid_t clock_id,
35 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/openbmc/linux/arch/arm64/include/asm/vdso/
H A Dcompat_gettimeofday.h39 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
42 register clockid_t clkid asm("r0") = _clkid; in clock_gettime_fallback()
56 long clock_gettime32_fallback(clockid_t _clkid, struct old_timespec32 *_ts) in clock_gettime32_fallback()
59 register clockid_t clkid asm("r0") = _clkid; in clock_gettime32_fallback()
73 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
76 register clockid_t clkid asm("r0") = _clkid; in clock_getres_fallback()
90 int clock_getres32_fallback(clockid_t _clkid, struct old_timespec32 *_ts) in clock_getres32_fallback()
93 register clockid_t clkid asm("r0") = _clkid; in clock_getres32_fallback()
H A Dgettimeofday.h36 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
39 register clockid_t clkid asm("x0") = _clkid; in clock_gettime_fallback()
53 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
56 register clockid_t clkid asm("x0") = _clkid; in clock_getres_fallback()
/openbmc/linux/arch/mips/include/asm/vdso/
H A Dgettimeofday.h52 clockid_t _clkid, in clock_gettime_fallback()
56 register clockid_t clkid asm("a0") = _clkid; in clock_gettime_fallback()
78 clockid_t _clkid, in clock_getres_fallback()
82 register clockid_t clkid asm("a0") = _clkid; in clock_getres_fallback()
106 clockid_t _clkid, in clock_gettime32_fallback()
110 register clockid_t clkid asm("a0") = _clkid; in clock_gettime32_fallback()
128 clockid_t _clkid, in clock_getres32_fallback()
132 register clockid_t clkid asm("a0") = _clkid; in clock_getres32_fallback()
/openbmc/linux/kernel/time/
H A Dposix-timers.h5 int (*clock_getres)(const clockid_t which_clock,
7 int (*clock_set)(const clockid_t which_clock,
10 int (*clock_get_timespec)(const clockid_t which_clock,
13 ktime_t (*clock_get_ktime)(const clockid_t which_clock);
14 int (*clock_adj)(const clockid_t which_clock, struct __kernel_timex *tx);
16 int (*nsleep)(const clockid_t which_clock, int flags,
H A Dposix-stubs.c26 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
39 static int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp) in do_clock_gettime()
60 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
75 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
94 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
129 SYSCALL_DEFINE2(clock_settime32, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
142 SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
157 SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
177 SYSCALL_DEFINE4(clock_nanosleep_time32, clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
H A Dposix-timers.c137 static ktime_t posix_get_realtime_ktime(clockid_t which_clock) in posix_get_realtime_ktime()
161 static ktime_t posix_get_monotonic_ktime(clockid_t which_clock) in posix_get_monotonic_ktime()
179 static int posix_get_monotonic_coarse(clockid_t which_clock, in posix_get_monotonic_coarse()
211 static ktime_t posix_get_tai_ktime(clockid_t which_clock) in posix_get_tai_ktime()
530 SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock, in SYSCALL_DEFINE3() argument
545 COMPAT_SYSCALL_DEFINE3(timer_create, clockid_t, which_clock, in COMPAT_SYSCALL_DEFINE3() argument
1252 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1272 SYSCALL_DEFINE2(clock_settime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1287 SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1305 SYSCALL_DEFINE2(clock_adjtime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
[all …]
/openbmc/linux/arch/mips/vdso/
H A Dvgettimeofday.c14 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
36 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
42 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
50 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
72 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/openbmc/linux/include/linux/
H A Dposix-timers.h27 (((clock) & (clockid_t) CPUCLOCK_PERTHREAD_MASK) != 0)
30 #define CPUCLOCK_WHICH(clock) ((clock) & (clockid_t) CPUCLOCK_CLOCK_MASK)
39 static inline clockid_t make_process_cpuclock(const unsigned int pid, in make_process_cpuclock()
40 const clockid_t clock) in make_process_cpuclock()
44 static inline clockid_t make_thread_cpuclock(const unsigned int tid, in make_thread_cpuclock()
45 const clockid_t clock) in make_thread_cpuclock()
50 static inline clockid_t fd_to_clockid(const int fd) in fd_to_clockid()
55 static inline int clockid_to_fd(const clockid_t clk) in clockid_to_fd()
228 clockid_t it_clock;
H A Dhrtimer.h162 clockid_t clockid;
374 extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock,
376 extern void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id,
380 extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock,
383 clockid_t clock_id,
389 clockid_t which_clock, in hrtimer_init_on_stack()
396 clockid_t clock_id, in hrtimer_init_sleeper_on_stack()
515 const clockid_t clockid);
522 clockid_t clock_id);
/openbmc/linux/lib/vdso/
H A Dgettimeofday.c110 static __always_inline int do_hres(const struct vdso_data *vd, clockid_t clk, in do_hres()
228 __cvdso_clock_gettime_common(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime_common()
255 __cvdso_clock_gettime_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime_data()
266 __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __cvdso_clock_gettime()
273 __cvdso_clock_gettime32_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime32_data()
292 __cvdso_clock_gettime32(clockid_t clock, struct old_timespec32 *res) in __cvdso_clock_gettime32()
357 int __cvdso_clock_getres_common(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_common()
398 int __cvdso_clock_getres_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_data()
409 int __cvdso_clock_getres(clockid_t clock, struct __kernel_timespec *res) in __cvdso_clock_getres()
416 __cvdso_clock_getres_time32_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_time32_data()
[all …]
/openbmc/linux/arch/powerpc/kernel/vdso/
H A Dvgettimeofday.c9 int __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime()
15 int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res, in __c_kernel_clock_getres()
21 int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts, in __c_kernel_clock_gettime()
27 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime64()
33 int __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res, in __c_kernel_clock_getres()
/openbmc/linux/arch/riscv/kernel/vdso/
H A Dvgettimeofday.c13 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
14 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime()
27 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res);
28 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) in __vdso_clock_getres()
/openbmc/linux/arch/loongarch/vdso/
H A Dvgettimeofday.c10 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
11 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime()
24 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res);
25 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) in __vdso_clock_getres()
/openbmc/linux/arch/arm64/kernel/vdso/
H A Dvgettimeofday.c9 int __kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
11 int __kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res);
13 int __kernel_clock_gettime(clockid_t clock, in __kernel_clock_gettime()
25 int __kernel_clock_getres(clockid_t clock_id, in __kernel_clock_getres()
/openbmc/linux/arch/x86/include/asm/vdso/
H A Dgettimeofday.h71 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
95 long clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
109 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
126 long clock_gettime32_fallback(clockid_t _clkid, struct old_timespec32 *_ts) in clock_gettime32_fallback()
161 clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
178 long clock_getres32_fallback(clockid_t _clkid, struct old_timespec32 *_ts) in clock_getres32_fallback()
340 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts);
/openbmc/linux/arch/riscv/include/asm/vdso/
H A Dgettimeofday.h38 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
40 register clockid_t clkid asm("a0") = _clkid; in clock_gettime_fallback()
54 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
56 register clockid_t clkid asm("a0") = _clkid; in clock_getres_fallback()
/openbmc/linux/arch/loongarch/include/asm/vdso/
H A Dgettimeofday.h37 clockid_t _clkid, in clock_gettime_fallback()
40 register clockid_t clkid asm("a0") = _clkid; in clock_gettime_fallback()
56 clockid_t _clkid, in clock_getres_fallback()
59 register clockid_t clkid asm("a0") = _clkid; in clock_getres_fallback()
/openbmc/linux/arch/arm64/kernel/vdso32/
H A Dvgettimeofday.c9 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
15 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
27 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/openbmc/linux/arch/arm/vdso/
H A Dvgettimeofday.c12 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
18 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
30 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/openbmc/linux/arch/arm/include/asm/
H A Dvdso.h27 int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts);
28 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts);
30 int __vdso_clock_getres(clockid_t clock_id, struct old_timespec32 *res);

1234