Home
last modified time | relevance | path

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

123

/linux/arch/x86/entry/vdso/common/
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 *)
78 int __vdso_clock_getres_time64(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_getres_time64()
83 int clock_getres_time64(clockid_t, struct __kernel_timespec *)
/linux/lib/vdso/
H A Dgettimeofday.c85 static __always_inline void vdso_set_timespec(struct __kernel_timespec *ts, u64 sec, u64 ns) in vdso_set_timespec()
119 clockid_t clk, struct __kernel_timespec *ts) in do_hres_timens()
151 clockid_t clk, struct __kernel_timespec *ts) in do_hres()
191 clockid_t clk, struct __kernel_timespec *ts) in do_coarse_timens()
220 clockid_t clk, struct __kernel_timespec *ts) in do_coarse()
246 bool do_aux(const struct vdso_time_data *vd, clockid_t clock, struct __kernel_timespec *ts) in do_aux()
289 struct __kernel_timespec *ts) in __cvdso_clock_gettime_common()
318 struct __kernel_timespec *ts) in __cvdso_clock_gettime_data()
330 __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __cvdso_clock_gettime()
340 struct __kernel_timespec t in __cvdso_clock_gettime32_data()
[all...]
/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);
14 struct __kernel_timespec *ts) in __kernel_clock_gettime()
26 struct __kernel_timespec *res) in __kernel_clock_getres()
/linux/include/vdso/
H A Dgettime.h7 struct __kernel_timespec;
16 int __vdso_clock_getres(clockid_t clock, struct __kernel_timespec *res);
17 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
22 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts);
23 int __vdso_clock_getres_time64(clockid_t clock, struct __kernel_timespec *ts);
/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()
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/arch/loongarch/include/asm/vdso/
H A Dgettimeofday.h40 struct __kernel_timespec *_ts) in clock_gettime_fallback()
43 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback()
59 struct __kernel_timespec *_ts) in clock_getres_fallback()
62 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback()
/linux/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 */
H A Derrqueue.h65 struct __kernel_timespec ts[3];
/linux/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/tools/include/nolibc/
H A Dtime.h
/linux/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/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()
H A Dtime.c868 const struct __kernel_timespec __user *uts) in get_timespec64()
870 struct __kernel_timespec kts; in get_timespec64()
899 struct __kernel_timespec __user *uts) in put_timespec64()
901 struct __kernel_timespec kts = { in put_timespec64()
/linux/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/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/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()
H A Dtest_attach_probe.c29 int BPF_KSYSCALL(handle_kprobe_auto, struct __kernel_timespec *req, struct __kernel_timespec *rem) in BPF_KSYSCALL()
/linux/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/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/arch/s390/include/asm/vdso/
H A Dgettimeofday.h23 long clock_gettime_fallback(clockid_t clkid, struct __kernel_timespec *ts) in clock_gettime_fallback()
36 long clock_getres_fallback(clockid_t clkid, struct __kernel_timespec *ts) in clock_getres_fallback()
/linux/arch/x86/um/vdso/
H A Dum_vdso.c16 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime()
27 int clock_gettime(clockid_t, struct __kernel_timespec *)
/linux/include/linux/
H A Dsyscalls.h316 struct __kernel_timespec __user *timeout);
326 struct __kernel_timespec __user *timeout,
392 const struct __kernel_timespec __user *timeout,
505 fd_set __user *, struct __kernel_timespec __user *,
511 struct __kernel_timespec __user *, const sigset_t __user *,
551 struct __kernel_timespec __user *utimes,
570 const struct __kernel_timespec __user *utime,
583 struct __kernel_timespec __user *timeout, clockid_t clockid);
588 unsigned int flags, struct __kernel_timespec __user *timespec,
594 asmlinkage long sys_nanosleep(struct __kernel_timespec __use
[all...]
H A Dtime.h12 const struct __kernel_timespec __user *uts);
14 struct __kernel_timespec __user *uts);
/linux/kernel/futex/
H A Dsyscalls.c189 const struct __kernel_timespec __user *, utime, in SYSCALL_DEFINE6()
255 static int futex2_setup_timeout(struct __kernel_timespec __user *timeout, in futex2_setup_timeout()
320 struct __kernel_timespec __user *, timeout, clockid_t, clockid) in SYSCALL_DEFINE5()
403 struct __kernel_timespec __user *, timeout, in SYSCALL_DEFINE6()
/linux/Documentation/translations/zh_CN/networking/
H A Dtimestamping.rst35 对于 SO_TIMESTAMPNS_NEW 为 struct __kernel_timespec
65 始终使用 SO_TIMESTAMPNS_NEW 时间戳获得 struct __kernel_timespec 格式
348 struct __kernel_timespec ts[3];

123