/Linux-v5.4/include/uapi/linux/ |
D | elfcore.h | 56 struct timeval pr_utime; /* User time */ 57 struct timeval pr_stime; /* System time */ 58 struct timeval pr_cutime; /* Cumulative user time */ 59 struct timeval pr_cstime; /* Cumulative system time */
|
D | time.h | 16 struct timeval { struct 40 struct timeval it_interval; /* timer interval */ argument 41 struct timeval it_value; /* current value */
|
D | resource.h | 25 struct timeval ru_utime; /* user time used */ 26 struct timeval ru_stime; /* system time used */
|
D | ppdev.h | 81 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) 82 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
|
/Linux-v5.4/tools/testing/selftests/timers/ |
D | posix_timers.c | 62 static int check_diff(struct timeval start, struct timeval end) in check_diff() 80 struct timeval start, end; in check_itimer() 142 struct timeval start, end; in check_timer_create()
|
D | set-tz.c | 41 struct timeval tv; in get_tz_min() 51 struct timeval tv; in get_tz_dst()
|
/Linux-v5.4/tools/testing/selftests/x86/ |
D | test_vsyscall.c | 55 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); 159 static inline long sys_gtod(struct timeval *tv, struct timezone *tz) in sys_gtod() 191 static double tv_diff(const struct timeval *a, const struct timeval *b) in tv_diff() 197 static int check_gtod(const struct timeval *tv_sys1, in check_gtod() 198 const struct timeval *tv_sys2, in check_gtod() 201 const struct timeval *tv_other, in check_gtod() 228 struct timeval tv_sys1, tv_sys2, tv_vdso, tv_vsys; in test_gtod()
|
D | test_vdso.c | 39 typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz); 129 static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday() 194 static bool tv_leq(const struct timeval *a, const struct timeval *b) in tv_leq() 275 struct timeval start, vdso, end; in test_gettimeofday()
|
/Linux-v5.4/tools/testing/selftests/networking/timestamping/ |
D | timestamping.c | 120 struct timeval now; in sendpacket() 141 struct timeval tv; in printpacket() 143 struct timeval now; in printpacket() 162 struct timeval *stamp = in printpacket() 163 (struct timeval *)CMSG_DATA(cmsg); in printpacket() 315 struct timeval next; in main() 459 struct timeval now; in main() 460 struct timeval delta; in main()
|
/Linux-v5.4/arch/sparc/vdso/ |
D | vclock_gettime.c | 77 notrace static long vdso_fallback_gettimeofday(struct timeval *tv, struct timezone *tz) in vdso_fallback_gettimeofday() 307 __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() 315 struct timeval tv; in __vdso_gettimeofday() 339 gettimeofday(struct timeval *, struct timezone *) 343 __vdso_gettimeofday_stick(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday_stick() 351 struct timeval tv; in __vdso_gettimeofday_stick()
|
/Linux-v5.4/tools/testing/selftests/vDSO/ |
D | vdso_test.c | 48 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main() 56 struct timeval tv; in main()
|
D | vdso_standalone_test_x86.c | 90 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main() 96 struct timeval tv; in c_main()
|
/Linux-v5.4/arch/x86/um/vdso/ |
D | um_vdso.c | 28 int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() 37 int gettimeofday(struct timeval *, struct timezone *)
|
/Linux-v5.4/tools/testing/selftests/rtc/ |
D | rtctest.c | 90 struct timeval tv = { .tv_sec = 2 }; in TEST_F() 113 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F() 166 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F() 215 struct timeval tv = { .tv_sec = 62 }; 268 struct timeval tv = { .tv_sec = 62 };
|
/Linux-v5.4/fs/ |
D | utimes.c | 164 struct timeval __user *utimes) in do_futimesat() 166 struct timeval times[2]; in do_futimesat() 193 struct timeval __user *, utimes) in SYSCALL_DEFINE3() 199 struct timeval __user *, utimes) in SYSCALL_DEFINE2()
|
/Linux-v5.4/include/linux/ |
D | time32.h | 185 static inline bool timeval_valid(const struct timeval *tv) in timeval_valid() 205 static inline s64 timeval_to_ns(const struct timeval *tv) in timeval_to_ns() 217 extern struct timeval ns_to_timeval(const s64 nsec);
|
/Linux-v5.4/kernel/time/ |
D | time.c | 140 SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv, in SYSCALL_DEFINE2() 199 SYSCALL_DEFINE2(settimeofday, struct timeval __user *, tv, in SYSCALL_DEFINE2() 203 struct timeval user_tv; in SYSCALL_DEFINE2() 248 struct timeval user_tv; in COMPAT_SYSCALL_DEFINE2() 485 struct timeval ns_to_timeval(const s64 nsec) in ns_to_timeval() 488 struct timeval tv; in ns_to_timeval() 687 timeval_to_jiffies(const struct timeval *value) in timeval_to_jiffies() 694 void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) in jiffies_to_timeval()
|
/Linux-v5.4/arch/arm/vdso/ |
D | vgettimeofday.c | 218 static notrace long gettimeofday_fallback(struct timeval *_tv, in gettimeofday_fallback() 222 register struct timeval *tv asm("r0") = _tv; in gettimeofday_fallback() 235 notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday()
|
/Linux-v5.4/tools/testing/selftests/rcutorture/bin/ |
D | mkinitrd.sh | 89 struct timeval tv; 90 struct timeval tvb;
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | syscalls.c | 82 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timeval __use… in ppc_select() 92 || __get_user(tvp, ((struct timeval __user * __user *)(buffer+4)))) in ppc_select()
|
/Linux-v5.4/arch/nds32/kernel/vdso/ |
D | gettimeofday.c | 233 static notrace inline int gettimeofday_fallback(struct timeval *_tv, in gettimeofday_fallback() 236 register struct timeval *tv asm("$r0") = _tv; in gettimeofday_fallback() 249 notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday()
|
/Linux-v5.4/kernel/ |
D | compat.c | 29 static int __compat_get_timeval(struct timeval *tv, const struct old_timeval32 __user *ctv) in __compat_get_timeval() 36 static int __compat_put_timeval(const struct timeval *tv, struct old_timeval32 __user *ctv) in __compat_put_timeval() 57 int compat_get_timeval(struct timeval *tv, const void __user *utv) in compat_get_timeval() 66 int compat_put_timeval(const struct timeval *tv, void __user *utv) in compat_put_timeval()
|
/Linux-v5.4/arch/sh/include/uapi/asm/ |
D | sockios.h | 13 #define SIOCGSTAMP_OLD _IOR('s', 100, struct timeval) /* Get stamp (timeval) */
|
/Linux-v5.4/tools/testing/selftests/powerpc/benchmarks/ |
D | gettimeofday.c | 15 struct timeval tv_start, tv_end; in test_gettimeofday()
|
/Linux-v5.4/tools/perf/bench/ |
D | mem-functions.c | 94 static double timeval2double(struct timeval *ts) in timeval2double() 251 struct timeval tv_start, tv_end, tv_diff; in do_memcpy_gettimeofday() 325 struct timeval tv_start, tv_end, tv_diff; in do_memset_gettimeofday()
|