/Linux-v4.19/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 41 struct timeval it_interval; /* timer interval */ argument 42 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 | 78 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) 79 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
|
/Linux-v4.19/tools/testing/selftests/x86/ |
D | test_vsyscall.c | 54 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); 164 static inline long sys_gtod(struct timeval *tv, struct timezone *tz) in sys_gtod() 192 static double tv_diff(const struct timeval *a, const struct timeval *b) in tv_diff() 198 static int check_gtod(const struct timeval *tv_sys1, in check_gtod() 199 const struct timeval *tv_sys2, in check_gtod() 202 const struct timeval *tv_other, in check_gtod() 229 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-v4.19/tools/testing/selftests/timers/ |
D | posix_timers.c | 63 static int check_diff(struct timeval start, struct timeval end) in check_diff() 81 struct timeval start, end; in check_itimer() 143 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-v4.19/drivers/rtc/ |
D | rtc-nuc900.c | 152 unsigned int timeval, clrval; in nuc900_rtc_read_time() local 154 timeval = __raw_readl(rtc->rtc_reg + REG_RTC_TLR); in nuc900_rtc_read_time() 157 nuc900_rtc_bcd2bin(timeval, clrval, tm); in nuc900_rtc_read_time() 187 unsigned int timeval, carval; in nuc900_rtc_read_alarm() local 189 timeval = __raw_readl(rtc->rtc_reg + REG_RTC_TAR); in nuc900_rtc_read_alarm() 192 nuc900_rtc_bcd2bin(timeval, carval, &alrm->time); in nuc900_rtc_read_alarm()
|
/Linux-v4.19/tools/testing/selftests/networking/timestamping/ |
D | timestamping.c | 139 struct timeval now; in sendpacket() 160 struct timeval tv; in printpacket() 162 struct timeval now; in printpacket() 181 struct timeval *stamp = in printpacket() 182 (struct timeval *)CMSG_DATA(cmsg); in printpacket() 334 struct timeval next; in main() 478 struct timeval now; in main() 479 struct timeval delta; in main()
|
/Linux-v4.19/arch/x86/entry/vdso/ |
D | vclock_gettime.c | 28 extern int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz); 52 notrace static long vdso_fallback_gtod(struct timeval *tv, struct timezone *tz) in vdso_fallback_gtod() 80 notrace static long vdso_fallback_gtod(struct timeval *tv, struct timezone *tz) in vdso_fallback_gtod() 299 notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() 313 int gettimeofday(struct timeval *, struct timezone *)
|
/Linux-v4.19/kernel/time/ |
D | time.c | 143 SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv, in SYSCALL_DEFINE2() 147 struct timeval ktv; in SYSCALL_DEFINE2() 200 SYSCALL_DEFINE2(settimeofday, struct timeval __user *, tv, in SYSCALL_DEFINE2() 204 struct timeval user_tv; in SYSCALL_DEFINE2() 230 struct timeval ktv; in COMPAT_SYSCALL_DEFINE2() 248 struct timeval user_tv; in COMPAT_SYSCALL_DEFINE2() 477 struct timeval ns_to_timeval(const s64 nsec) in ns_to_timeval() 480 struct timeval tv; in ns_to_timeval() 679 timeval_to_jiffies(const struct timeval *value) in timeval_to_jiffies() 686 void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) in jiffies_to_timeval()
|
/Linux-v4.19/arch/sparc/vdso/ |
D | vclock_gettime.c | 92 vdso_fallback_gettimeofday(struct timeval *tv, struct timezone *tz) in vdso_fallback_gettimeofday() 241 __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() 249 struct timeval tv; in __vdso_gettimeofday() 273 gettimeofday(struct timeval *, struct timezone *)
|
/Linux-v4.19/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-v4.19/arch/x86/um/vdso/ |
D | um_vdso.c | 31 int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() 40 int gettimeofday(struct timeval *, struct timezone *)
|
/Linux-v4.19/include/linux/ |
D | time32.h | 173 static inline bool timeval_valid(const struct timeval *tv) in timeval_valid() 195 static inline s64 timeval_to_ns(const struct timeval *tv) in timeval_to_ns() 207 extern struct timeval ns_to_timeval(const s64 nsec);
|
/Linux-v4.19/fs/ |
D | utimes.c | 188 struct timeval __user *utimes) in do_futimesat() 190 struct timeval times[2]; in do_futimesat() 217 struct timeval __user *, utimes) in SYSCALL_DEFINE3() 223 struct timeval __user *, utimes) in SYSCALL_DEFINE2()
|
/Linux-v4.19/arch/mips/vdso/ |
D | gettimeofday.c | 23 static __always_inline long gettimeofday_fallback(struct timeval *_tv, in gettimeofday_fallback() 27 register struct timeval *tv asm("a0") = _tv; in gettimeofday_fallback() 222 int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday()
|
/Linux-v4.19/arch/arm/vdso/ |
D | vgettimeofday.c | 229 static notrace long gettimeofday_fallback(struct timeval *_tv, in gettimeofday_fallback() 233 register struct timeval *tv asm("r0") = _tv; in gettimeofday_fallback() 246 notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | syscalls.c | 87 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timeval __use… in ppc_select() 97 || __get_user(tvp, ((struct timeval __user * __user *)(buffer+4)))) in ppc_select()
|
/Linux-v4.19/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() 169 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F()
|
/Linux-v4.19/arch/nds32/kernel/vdso/ |
D | gettimeofday.c | 231 static notrace inline int gettimeofday_fallback(struct timeval *_tv, in gettimeofday_fallback() 234 register struct timeval *tv asm("$r0") = _tv; in gettimeofday_fallback() 247 notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday()
|
/Linux-v4.19/arch/sh/include/uapi/asm/ |
D | sockios.h | 13 #define SIOCGSTAMP _IOR('s', 100, struct timeval) /* Get stamp (timeval) */
|
/Linux-v4.19/tools/testing/selftests/powerpc/benchmarks/ |
D | gettimeofday.c | 15 struct timeval tv_start, tv_end; in test_gettimeofday()
|