/linux/arch/x86/entry/vdso/ |
A D | vclock_gettime.c | 38 extern int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); 39 extern int __vdso_clock_getres(clockid_t clock, struct __kernel_timespec *res); 41 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime() 46 int clock_gettime(clockid_t, struct __kernel_timespec *) 50 struct __kernel_timespec *res) in __vdso_clock_getres() 54 int clock_getres(clockid_t, struct __kernel_timespec *) 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 *)
|
/linux/lib/vdso/ |
A D | gettimeofday.c | 50 struct __kernel_timespec *ts) in do_hres_timens() 104 struct __kernel_timespec *ts) in do_hres_timens() 111 struct __kernel_timespec *ts) in do_hres() 166 struct __kernel_timespec *ts) in do_coarse_timens() 195 struct __kernel_timespec *ts) in do_coarse_timens() 229 struct __kernel_timespec *ts) in __cvdso_clock_gettime_common() 256 struct __kernel_timespec *ts) in __cvdso_clock_gettime_data() 276 struct __kernel_timespec ts; in __cvdso_clock_gettime32_data() 304 struct __kernel_timespec ts; in __cvdso_gettimeofday_data() 358 struct __kernel_timespec *res) in __cvdso_clock_getres_common() [all …]
|
/linux/arch/riscv/kernel/vdso/ |
A D | vgettimeofday.c | 13 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()
|
/linux/arch/powerpc/include/asm/vdso/ |
A D | gettimeofday.h | 111 int clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) 117 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) 127 int clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) 133 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) 207 int __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts, 209 int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res, 214 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts,
|
/linux/arch/riscv/include/asm/vdso/ |
A D | gettimeofday.h | 32 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback() 35 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback() 48 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback() 51 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback()
|
/linux/arch/arm64/include/asm/vdso/ |
A D | gettimeofday.h | 34 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback() 36 register struct __kernel_timespec *ts asm("x1") = _ts; in clock_gettime_fallback() 51 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback() 53 register struct __kernel_timespec *ts asm("x1") = _ts; in clock_getres_fallback()
|
A D | compat_gettimeofday.h | 39 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback() 41 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_gettime_fallback() 73 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback() 75 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_getres_fallback()
|
/linux/arch/csky/include/asm/vdso/ |
A D | gettimeofday.h | 33 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback() 36 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback() 65 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback() 68 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback()
|
/linux/arch/arm/include/asm/vdso/ |
A D | gettimeofday.h | 40 struct __kernel_timespec *_ts) in clock_gettime_fallback() 42 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_gettime_fallback() 76 struct __kernel_timespec *_ts) in clock_getres_fallback() 78 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_getres_fallback()
|
/linux/include/uapi/linux/ |
A D | time_types.h | 7 struct __kernel_timespec { struct 13 struct __kernel_timespec it_interval; /* timer period */ argument 14 struct __kernel_timespec it_value; /* timer expiration */
|
/linux/arch/mips/vdso/ |
A D | vgettimeofday.c | 43 struct __kernel_timespec *ts) in __vdso_clock_gettime64() 51 struct __kernel_timespec *ts) in __vdso_clock_gettime() 73 struct __kernel_timespec *res) in __vdso_clock_getres()
|
/linux/tools/testing/selftests/vDSO/ |
A D | vdso_test_correctness.c | 38 #ifndef __kernel_timespec 39 struct __kernel_timespec { struct 54 typedef int (*vgettime64_t)(clockid_t, struct __kernel_timespec *); argument 154 static inline int sys_clock_gettime64(clockid_t id, struct __kernel_timespec *ts) in sys_clock_gettime64() 224 static bool ts64_leq(const struct __kernel_timespec *a, in ts64_leq() 225 const struct __kernel_timespec *b) in ts64_leq() 322 struct __kernel_timespec start, vdso, end; in test_one_clock_gettime64()
|
/linux/kernel/time/ |
A D | posix-stubs.c | 61 const struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() 94 struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() 108 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() 128 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4() 129 struct __kernel_timespec __user *, rmtp) in SYSCALL_DEFINE4()
|
/linux/arch/mips/include/asm/vdso/ |
A D | gettimeofday.h | 53 struct __kernel_timespec *_ts) in clock_gettime_fallback() 55 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback() 79 struct __kernel_timespec *_ts) in clock_getres_fallback() 81 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback()
|
/linux/arch/x86/include/asm/vdso/ |
A D | gettimeofday.h | 71 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() 161 clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_vmlinux.c | 21 struct __kernel_timespec *ts; in handle__tp() 39 struct __kernel_timespec *ts; in BPF_PROG() 57 struct __kernel_timespec *ts; in BPF_PROG()
|
/linux/arch/s390/kernel/vdso64/ |
A D | vdso.h | 11 int __s390_vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); 12 int __s390_vdso_clock_getres(clockid_t clock, struct __kernel_timespec *ts);
|
A D | vdso64_generic.c | 11 int __s390_vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __s390_vdso_clock_gettime() 16 int __s390_vdso_clock_getres(clockid_t clock, struct __kernel_timespec *ts) in __s390_vdso_clock_getres()
|
/linux/arch/arm64/kernel/vdso/ |
A D | vgettimeofday.c | 10 struct __kernel_timespec *ts) in __kernel_clock_gettime() 22 struct __kernel_timespec *res) in __kernel_clock_getres()
|
/linux/arch/powerpc/kernel/vdso64/ |
A D | vgettimeofday.c | 8 int __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime() 20 int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res, in __c_kernel_clock_getres()
|
/linux/include/linux/ |
A D | syscalls.h | 326 struct __kernel_timespec __user *timeout); 336 struct __kernel_timespec __user *timeout, 585 struct __kernel_timespec __user *utimes, 633 struct __kernel_timespec __user *rmtp); 666 const struct __kernel_timespec __user *tp); 668 struct __kernel_timespec __user *tp); 670 struct __kernel_timespec __user *tp); 672 const struct __kernel_timespec __user *rqtp, 673 struct __kernel_timespec __user *rmtp); 712 struct __kernel_timespec __user *interval); [all …]
|
A D | time.h | 12 const struct __kernel_timespec __user *uts); 14 struct __kernel_timespec __user *uts);
|
/linux/arch/s390/include/asm/vdso/ |
A D | gettimeofday.h | 37 long clock_gettime_fallback(clockid_t clkid, struct __kernel_timespec *ts) in clock_gettime_fallback() 50 long clock_getres_fallback(clockid_t clkid, struct __kernel_timespec *ts) in clock_getres_fallback()
|
/linux/arch/csky/kernel/vdso/ |
A D | vgettimeofday.c | 13 struct __kernel_timespec *ts) in __vdso_clock_gettime64()
|
/linux/arch/arm/vdso/ |
A D | vgettimeofday.c | 17 struct __kernel_timespec *ts) in __vdso_clock_gettime64()
|