Home
last modified time | relevance | path

Searched refs:__kernel_timespec (Results 1 – 25 of 65) sorted by relevance

123

/linux-6.6.21/arch/x86/entry/vdso/
Dvclock_gettime.c38 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-6.6.21/lib/vdso/
Dgettimeofday.c50 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()
202 struct __kernel_timespec *ts) in do_coarse()
229 struct __kernel_timespec *ts) in __cvdso_clock_gettime_common()
256 struct __kernel_timespec *ts) in __cvdso_clock_gettime_data()
266 __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __cvdso_clock_gettime()
276 struct __kernel_timespec ts; in __cvdso_clock_gettime32_data()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/vdso/
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()
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,
149 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts,
/linux-6.6.21/arch/arm64/kernel/vdso/
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);
14 struct __kernel_timespec *ts) in __kernel_clock_gettime()
26 struct __kernel_timespec *res) in __kernel_clock_getres()
/linux-6.6.21/arch/loongarch/vdso/
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()
/linux-6.6.21/arch/riscv/kernel/vdso/
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()
/linux-6.6.21/arch/riscv/include/asm/vdso/
Dgettimeofday.h38 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
41 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback()
54 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
57 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback()
/linux-6.6.21/arch/arm64/include/asm/vdso/
Dgettimeofday.h36 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
38 register struct __kernel_timespec *ts asm("x1") = _ts; in clock_gettime_fallback()
53 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
55 register struct __kernel_timespec *ts asm("x1") = _ts; in clock_getres_fallback()
Dcompat_gettimeofday.h39 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-6.6.21/arch/loongarch/include/asm/vdso/
Dgettimeofday.h38 struct __kernel_timespec *_ts) in clock_gettime_fallback()
41 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback()
57 struct __kernel_timespec *_ts) in clock_getres_fallback()
60 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback()
/linux-6.6.21/include/uapi/linux/
Dtime_types.h7 struct __kernel_timespec { struct
13 struct __kernel_timespec it_interval; /* timer period */ argument
14 struct __kernel_timespec it_value; /* timer expiration */
/linux-6.6.21/arch/csky/include/asm/vdso/
Dgettimeofday.h33 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-6.6.21/arch/arm/include/asm/vdso/
Dgettimeofday.h40 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-6.6.21/arch/x86/include/asm/vdso/
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()
161 clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
340 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts);
/linux-6.6.21/arch/mips/vdso/
Dvgettimeofday.c43 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-6.6.21/kernel/time/
Dposix-stubs.c27 const struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2()
61 struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2()
75 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2()
95 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4()
96 struct __kernel_timespec __user *, rmtp) in SYSCALL_DEFINE4()
/linux-6.6.21/arch/powerpc/kernel/vdso/
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()
27 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime64()
/linux-6.6.21/arch/mips/include/asm/vdso/
Dgettimeofday.h53 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-6.6.21/tools/testing/selftests/vDSO/
Dvdso_test_correctness.c39 #ifndef __kernel_timespec
40 struct __kernel_timespec { struct
55 typedef int (*vgettime64_t)(clockid_t, struct __kernel_timespec *); argument
155 static inline int sys_clock_gettime64(clockid_t id, struct __kernel_timespec *ts) in sys_clock_gettime64()
225 static bool ts64_leq(const struct __kernel_timespec *a, in ts64_leq()
226 const struct __kernel_timespec *b) in ts64_leq()
321 struct __kernel_timespec start, vdso, end; in test_one_clock_gettime64()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_vmlinux.c21 struct __kernel_timespec *ts; in handle__tp()
39 struct __kernel_timespec *ts; in BPF_PROG()
57 struct __kernel_timespec *ts; in BPF_PROG()
Dtest_attach_probe.c23 int BPF_KSYSCALL(handle_kprobe_auto, struct __kernel_timespec *req, struct __kernel_timespec *rem) in BPF_KSYSCALL()
/linux-6.6.21/arch/s390/kernel/vdso64/
Dvdso.h11 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);
Dvdso64_generic.c11 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-6.6.21/arch/csky/kernel/vdso/
Dvgettimeofday.c16 struct __kernel_timespec *ts);
18 struct __kernel_timespec *ts) in __vdso_clock_gettime64()
/linux-6.6.21/arch/s390/include/asm/vdso/
Dgettimeofday.h37 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()

123