Home
last modified time | relevance | path

Searched refs:__kernel_timespec (Results 1 – 25 of 51) 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.c102 static __always_inline void vdso_set_timespec(struct __kernel_timespec *ts, u64 sec, u64 ns) in vdso_set_timespec()
136 clockid_t clk, struct __kernel_timespec *ts) in do_hres_timens()
168 clockid_t clk, struct __kernel_timespec *ts) in do_hres()
192 clockid_t clk, struct __kernel_timespec *ts) in do_coarse_timens()
221 clockid_t clk, struct __kernel_timespec *ts) in do_coarse()
238 bool do_aux(const struct vdso_time_data *vd, clockid_t clock, struct __kernel_timespec *ts) in do_aux()
272 struct __kernel_timespec *ts) in __cvdso_clock_gettime_common()
301 struct __kernel_timespec *ts) in __cvdso_clock_gettime_data()
313 __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __cvdso_clock_gettime()
323 struct __kernel_timespec ts; 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/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.c34 #ifndef __kernel_timespec
35 struct __kernel_timespec {
50 typedef int (*vgettime64_t)(clockid_t, struct __kernel_timespec *);
157 static inline int sys_clock_gettime64(clockid_t id, struct __kernel_timespec *ts) in sys_clock_gettime()
237 static bool ts64_leq(const struct __kernel_timespec *a, in ts64_leq()
238 const struct __kernel_timespec *b) in ts64_leq()
333 struct __kernel_timespec start, vdso, end; in test_one_clock_gettime64()
41 struct __kernel_timespec { global() struct
56 tv_nsec__kernel_timespec global() argument
/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.h320 struct __kernel_timespec __user *timeout);
330 struct __kernel_timespec __user *timeout,
396 const struct __kernel_timespec __user *timeout,
509 fd_set __user *, struct __kernel_timespec __user *,
515 struct __kernel_timespec __user *, const sigset_t __user *,
555 struct __kernel_timespec __user *utimes,
574 const struct __kernel_timespec __user *utime,
587 struct __kernel_timespec __user *timeout, clockid_t clockid);
592 unsigned int flags, struct __kernel_timespec __user *timespec,
598 asmlinkage long sys_nanosleep(struct __kernel_timespec __user *rqtp,
[all …]
H A Dtime.h12 const struct __kernel_timespec __user *uts);
14 struct __kernel_timespec __user *uts);
H A Dcompat.h586 struct __kernel_timespec __user *timeout,
596 const struct __kernel_timespec __user *timeout,
653 struct __kernel_timespec __user *tsp,
662 struct __kernel_timespec __user *tsp,
724 struct __kernel_timespec __user *uts, compat_size_t sigsetsize);
774 struct __kernel_timespec __user *timeout);
/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