Home
last modified time | relevance | path

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

123

/linux-6.15/arch/x86/entry/vdso/
H A Dvclock_gettime.c36 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime()
41 int clock_gettime(clockid_t, struct __kernel_timespec *)
45 struct __kernel_timespec *res) in __vdso_clock_getres()
49 int clock_getres(clockid_t, struct __kernel_timespec *)
62 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime64()
67 int clock_gettime64(clockid_t, struct __kernel_timespec *)
/linux-6.15/arch/powerpc/include/asm/vdso/
H A Dgettimeofday.h56 int clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
62 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
72 int clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
78 int clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
127 int __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts,
129 int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res,
134 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts,
/linux-6.15/lib/vdso/
H A Dgettimeofday.c86 clockid_t clk, struct __kernel_timespec *ts) in do_hres_timens()
137 clockid_t clk, struct __kernel_timespec *ts) in do_hres_timens()
145 clockid_t clk, struct __kernel_timespec *ts) in do_hres()
198 clockid_t clk, struct __kernel_timespec *ts) in do_coarse_timens()
266 struct __kernel_timespec *ts) in __cvdso_clock_gettime_common()
294 struct __kernel_timespec *ts) in __cvdso_clock_gettime_data()
314 struct __kernel_timespec ts; in __cvdso_clock_gettime32_data()
343 struct __kernel_timespec ts; in __cvdso_gettimeofday_data()
400 struct __kernel_timespec *res) in __cvdso_clock_getres_common()
442 struct __kernel_timespec *res) in __cvdso_clock_getres_data()
[all …]
/linux-6.15/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);
14 struct __kernel_timespec *ts) in __kernel_clock_gettime()
26 struct __kernel_timespec *res) in __kernel_clock_getres()
/linux-6.15/include/vdso/
H A Dgettime.h7 struct __kernel_timespec;
15 int __vdso_clock_getres(clockid_t clock, struct __kernel_timespec *res);
16 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
21 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts);
/linux-6.15/arch/riscv/include/asm/vdso/
H A 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.15/arch/loongarch/include/asm/vdso/
H A 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.15/arch/arm64/include/asm/vdso/
H A 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()
H A 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.15/arch/parisc/kernel/vdso64/
H A Dvdso64_generic.c7 struct __kernel_timespec;
12 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
21 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime()
/linux-6.15/include/uapi/linux/
H A 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.15/arch/arm/include/asm/vdso/
H A Dgettimeofday.h38 struct __kernel_timespec *_ts) in clock_gettime_fallback()
40 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_gettime_fallback()
74 struct __kernel_timespec *_ts) in clock_getres_fallback()
76 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_getres_fallback()
/linux-6.15/arch/parisc/kernel/vdso32/
H A Dvdso32_generic.c9 struct __kernel_timespec;
15 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts);
29 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime64()
/linux-6.15/arch/mips/vdso/
H A Dvgettimeofday.c44 struct __kernel_timespec *ts) in __vdso_clock_gettime64()
52 struct __kernel_timespec *ts) in __vdso_clock_gettime()
74 struct __kernel_timespec *res) in __vdso_clock_getres()
/linux-6.15/kernel/time/
H A 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.15/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()
27 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime64()
/linux-6.15/arch/mips/include/asm/vdso/
H A 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.15/tools/testing/selftests/vDSO/
H A Dvdso_test_correctness.c40 #ifndef __kernel_timespec
41 struct __kernel_timespec { struct
56 typedef int (*vgettime64_t)(clockid_t, struct __kernel_timespec *); argument
162 static inline int sys_clock_gettime64(clockid_t id, struct __kernel_timespec *ts) in sys_clock_gettime64()
232 static bool ts64_leq(const struct __kernel_timespec *a, in ts64_leq()
233 const struct __kernel_timespec *b) in ts64_leq()
328 struct __kernel_timespec start, vdso, end; in test_one_clock_gettime64()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A 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()
/linux-6.15/arch/x86/include/asm/vdso/
H A Dgettimeofday.h59 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
83 long clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
97 long clock_gettime_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_gettime_fallback()
149 clock_getres_fallback(clockid_t _clkid, struct __kernel_timespec *_ts) in clock_getres_fallback()
/linux-6.15/arch/riscv/kernel/vdso/
H A Dvgettimeofday.c13 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime()
23 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) in __vdso_clock_getres()
/linux-6.15/arch/loongarch/vdso/
H A Dvgettimeofday.c10 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime()
20 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) in __vdso_clock_getres()
/linux-6.15/arch/s390/kernel/vdso64/
H A 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()
H A 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);
/linux-6.15/include/linux/
H A Drestart_block.h11 struct __kernel_timespec;
43 struct __kernel_timespec __user *rmtp;

123