timeval 966 arch/alpha/kernel/osf_sys.c put_tv_to_tv32(struct timeval32 __user *o, struct timeval *i) timeval 218 arch/arm/vdso/vgettimeofday.c static notrace long gettimeofday_fallback(struct timeval *_tv, timeval 222 arch/arm/vdso/vgettimeofday.c register struct timeval *tv asm("r0") = _tv; timeval 235 arch/arm/vdso/vgettimeofday.c notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) timeval 233 arch/nds32/kernel/vdso/gettimeofday.c static notrace inline int gettimeofday_fallback(struct timeval *_tv, timeval 236 arch/nds32/kernel/vdso/gettimeofday.c register struct timeval *tv asm("$r0") = _tv; timeval 249 arch/nds32/kernel/vdso/gettimeofday.c notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) timeval 95 arch/powerpc/include/asm/asm-prototypes.h ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timeval __user *tvp); timeval 397 arch/powerpc/kernel/asm-offsets.c OFFSET(TVAL64_TV_SEC, timeval, tv_sec); timeval 398 arch/powerpc/kernel/asm-offsets.c OFFSET(TVAL64_TV_USEC, timeval, tv_usec); timeval 406 arch/powerpc/kernel/asm-offsets.c OFFSET(TVAL32_TV_SEC, timeval, tv_sec); timeval 407 arch/powerpc/kernel/asm-offsets.c OFFSET(TVAL32_TV_USEC, timeval, tv_usec); timeval 82 arch/powerpc/kernel/syscalls.c ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timeval __user *tvp) timeval 92 arch/powerpc/kernel/syscalls.c || __get_user(tvp, ((struct timeval __user * __user *)(buffer+4)))) timeval 13 arch/sh/include/uapi/asm/sockios.h #define SIOCGSTAMP_OLD _IOR('s', 100, struct timeval) /* Get stamp (timeval) */ timeval 77 arch/sparc/vdso/vclock_gettime.c notrace static long vdso_fallback_gettimeofday(struct timeval *tv, struct timezone *tz) timeval 307 arch/sparc/vdso/vclock_gettime.c __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) timeval 315 arch/sparc/vdso/vclock_gettime.c struct timeval tv; timeval 339 arch/sparc/vdso/vclock_gettime.c gettimeofday(struct timeval *, struct timezone *) timeval 343 arch/sparc/vdso/vclock_gettime.c __vdso_gettimeofday_stick(struct timeval *tv, struct timezone *tz) timeval 351 arch/sparc/vdso/vclock_gettime.c struct timeval tv; timeval 128 arch/um/drivers/daemon_user.c struct timeval tv; timeval 21 arch/um/os-Linux/time.c static inline long long timeval_to_ns(const struct timeval *tv) timeval 187 arch/x86/entry/vsyscall/vsyscall_64.c if (!write_ok_or_segv(regs->di, sizeof(struct timeval)) || timeval 28 arch/x86/um/vdso/um_vdso.c int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) timeval 37 arch/x86/um/vdso/um_vdso.c int gettimeofday(struct timeval *, struct timezone *) timeval 116 arch/xtensa/platforms/iss/include/platform/simcall.h struct timeval tv = { .tv_sec = 0, .tv_usec = 0 }; timeval 289 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_set_rt (struct timeval *setto) timeval 329 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_set_fhs (struct timeval *setto) timeval 369 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_set_i8042timer (struct timeval *setto, uint8_t setcmd) timeval 518 drivers/input/misc/hp_sdc_rtc.c struct timeval ttime; timeval 1038 fs/dlm/lowcomms.c struct timeval tv = { .tv_sec = 5, .tv_usec = 0 }; timeval 197 fs/hostfs/hostfs_user.c struct timeval times[2]; timeval 324 fs/select.c struct timeval rtv; timeval 701 fs/select.c fd_set __user *exp, struct timeval __user *tvp) timeval 704 fs/select.c struct timeval tv; timeval 723 fs/select.c fd_set __user *, exp, struct timeval __user *, tvp) timeval 813 fs/select.c struct timeval __user *tvp; timeval 164 fs/utimes.c struct timeval __user *utimes) timeval 166 fs/utimes.c struct timeval times[2]; timeval 193 fs/utimes.c struct timeval __user *, utimes) timeval 199 fs/utimes.c struct timeval __user *, utimes) timeval 264 include/linux/compat.h extern int compat_get_timeval(struct timeval *, const void __user *); timeval 265 include/linux/compat.h extern int compat_put_timeval(const struct timeval *, void __user *); timeval 938 include/linux/compat.h struct timeval tv; timeval 441 include/linux/jiffies.h extern unsigned long timeval_to_jiffies(const struct timeval *value); timeval 443 include/linux/jiffies.h struct timeval *value); timeval 82 include/linux/ktime.h static inline ktime_t timeval_to_ktime(struct timeval tv) timeval 161 include/linux/net.h bool timeval, bool time32); timeval 186 include/linux/raid/pq.h struct timeval tv; timeval 54 include/linux/syscalls.h struct timeval; timeval 735 include/linux/syscalls.h asmlinkage long sys_gettimeofday(struct timeval __user *tv, timeval 737 include/linux/syscalls.h asmlinkage long sys_settimeofday(struct timeval __user *tv, timeval 1085 include/linux/syscalls.h struct timeval __user *utimes); timeval 1087 include/linux/syscalls.h struct timeval __user *utimes); timeval 1101 include/linux/syscalls.h fd_set __user *exp, struct timeval __user *tvp); timeval 185 include/linux/time32.h static inline bool timeval_valid(const struct timeval *tv) timeval 205 include/linux/time32.h static inline s64 timeval_to_ns(const struct timeval *tv) timeval 217 include/linux/time32.h extern struct timeval ns_to_timeval(const s64 nsec); timeval 1630 include/net/sock.h bool timeval, bool time32); timeval 56 include/uapi/linux/elfcore.h struct timeval pr_utime; /* User time */ timeval 57 include/uapi/linux/elfcore.h struct timeval pr_stime; /* System time */ timeval 58 include/uapi/linux/elfcore.h struct timeval pr_cutime; /* Cumulative user time */ timeval 59 include/uapi/linux/elfcore.h struct timeval pr_cstime; /* Cumulative system time */ timeval 30 include/uapi/linux/input.h struct timeval time; timeval 176 include/uapi/linux/omap3isp.h struct timeval ts; timeval 81 include/uapi/linux/ppdev.h #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) timeval 82 include/uapi/linux/ppdev.h #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval) timeval 25 include/uapi/linux/resource.h struct timeval ru_utime; /* user time used */ timeval 26 include/uapi/linux/resource.h struct timeval ru_stime; /* system time used */ timeval 45 include/uapi/linux/sockios.h #define SIOCGSTAMP ((sizeof(struct timeval)) == 8 ? \ timeval 40 include/uapi/linux/time.h struct timeval it_interval; /* timer interval */ timeval 41 include/uapi/linux/time.h struct timeval it_value; /* current value */ timeval 76 include/uapi/linux/timex.h struct timeval time; /* (read only, except for ADJ_SETOFFSET) */ timeval 993 include/uapi/linux/videodev2.h struct timeval timestamp; timeval 1020 include/uapi/linux/videodev2.h static inline __u64 v4l2_timeval_to_ns(const struct timeval *tv) timeval 29 kernel/compat.c static int __compat_get_timeval(struct timeval *tv, const struct old_timeval32 __user *ctv) timeval 36 kernel/compat.c static int __compat_put_timeval(const struct timeval *tv, struct old_timeval32 __user *ctv) timeval 57 kernel/compat.c int compat_get_timeval(struct timeval *tv, const void __user *utv) timeval 66 kernel/compat.c int compat_put_timeval(const struct timeval *tv, void __user *utv) timeval 182 kernel/power/power.h struct timeval; timeval 29 kernel/time/itimer.c static struct timeval itimer_get_remtime(struct hrtimer *timer) timeval 140 kernel/time/time.c SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv, timeval 199 kernel/time/time.c SYSCALL_DEFINE2(settimeofday, struct timeval __user *, tv, timeval 203 kernel/time/time.c struct timeval user_tv; timeval 248 kernel/time/time.c struct timeval user_tv; timeval 485 kernel/time/time.c struct timeval ns_to_timeval(const s64 nsec) timeval 488 kernel/time/time.c struct timeval tv; timeval 687 kernel/time/time.c timeval_to_jiffies(const struct timeval *value) timeval 694 kernel/time/time.c void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) timeval 3010 net/core/sock.c bool timeval, bool time32) timeval 3025 net/core/sock.c if (timeval) timeval 3034 net/core/sock.c if (timeval && !in_compat_syscall()) { timeval 207 samples/bpf/hbm.c struct timeval t0, t_last, t_new; timeval 175 samples/mei/mei-amt-version.c struct timeval tv; timeval 137 samples/timers/hpet_example.c struct timeval stv, etv; timeval 516 scripts/kconfig/conf.c struct timeval now; timeval 831 tools/firewire/nosy-dump.c static struct timeval last_update; timeval 832 tools/firewire/nosy-dump.c struct timeval now; timeval 188 tools/include/nolibc/nolibc.h struct timeval ru_utime; timeval 189 tools/include/nolibc/nolibc.h struct timeval ru_stime; timeval 1548 tools/include/nolibc/nolibc.h int sys_gettimeofday(struct timeval *tv, struct timezone *tz) timeval 1649 tools/include/nolibc/nolibc.h int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) timeval 1655 tools/include/nolibc/nolibc.h struct timeval *t; timeval 1940 tools/include/nolibc/nolibc.h int gettimeofday(struct timeval *tv, struct timezone *tz) timeval 2123 tools/include/nolibc/nolibc.h int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) timeval 2161 tools/include/nolibc/nolibc.h struct timeval my_timeval = { seconds, 0 }; timeval 38 tools/perf/bench/epoll-ctl.c struct timeval start, end, runtime; timeval 93 tools/perf/bench/epoll-wait.c struct timeval start, end, runtime; timeval 40 tools/perf/bench/futex-hash.c struct timeval start, end, runtime; timeval 40 tools/perf/bench/futex-lock-pi.c struct timeval start, end, runtime; timeval 161 tools/perf/bench/futex-requeue.c struct timeval start, end, runtime; timeval 42 tools/perf/bench/futex-wake-parallel.c struct timeval runtime; timeval 76 tools/perf/bench/futex-wake-parallel.c struct timeval start, end; timeval 166 tools/perf/bench/futex-wake.c struct timeval start, end, runtime; timeval 94 tools/perf/bench/mem-functions.c static double timeval2double(struct timeval *ts) timeval 251 tools/perf/bench/mem-functions.c struct timeval tv_start, tv_end, tv_diff; timeval 325 tools/perf/bench/mem-functions.c struct timeval tv_start, tv_end, tv_diff; timeval 1093 tools/perf/bench/numa.c struct timeval start0, start, stop, diff; timeval 1487 tools/perf/bench/numa.c struct timeval start, stop, diff; timeval 264 tools/perf/bench/sched-messaging.c struct timeval start, stop, diff; timeval 81 tools/perf/bench/sched-pipe.c struct timeval start, stop, diff; timeval 593 tools/perf/builtin-kvm.c struct timeval tv; timeval 23 tools/perf/tests/switch-tracking.c struct timeval start, now, diff, maxtime; timeval 58 tools/perf/ui/tui/setup.c struct timeval timeout, *ptimeout = delay_secs ? &timeout : NULL; timeval 1077 tools/perf/util/stat-display.c static double timeval2double(struct timeval *t) timeval 546 tools/perf/util/time-utils.c struct timeval tv; timeval 984 tools/power/acpi/os_specific/service_layers/osunixxf.c struct timeval time; timeval 269 tools/power/acpi/tools/acpidbg/acpidbg.c struct timeval tv; timeval 339 tools/power/acpi/tools/acpidbg/acpidbg.c struct timeval tv; timeval 29 tools/power/cpupower/bench/system.c struct timeval now; timeval 40 tools/power/x86/turbostat/turbostat.c struct timeval interval_tv = {5, 0}; timeval 168 tools/power/x86/turbostat/turbostat.c struct timeval tv_begin; timeval 169 tools/power/x86/turbostat/turbostat.c struct timeval tv_end; timeval 170 tools/power/x86/turbostat/turbostat.c struct timeval tv_delta; timeval 300 tools/power/x86/turbostat/turbostat.c struct timeval tv_even, tv_odd, tv_delta; timeval 910 tools/power/x86/turbostat/turbostat.c struct timeval tv; timeval 3025 tools/power/x86/turbostat/turbostat.c struct timeval tout; timeval 113 tools/testing/selftests/android/ion/ipcsocket.c struct timeval timeout; timeval 113 tools/testing/selftests/bpf/test_flow_dissector.c struct timeval tv; timeval 660 tools/testing/selftests/bpf/test_maps.c struct timeval to; timeval 1321 tools/testing/selftests/bpf/test_sock_addr.c struct timeval tv; timeval 485 tools/testing/selftests/bpf/test_sockmap.c struct timeval timeout; timeval 712 tools/testing/selftests/bpf/test_sockmap.c struct timeval timeout; timeval 341 tools/testing/selftests/net/ip_defrag.c struct timeval tv = { .tv_sec = 1, .tv_usec = 10 }; timeval 101 tools/testing/selftests/net/msg_zerocopy.c struct timeval tv; timeval 923 tools/testing/selftests/net/nettest.c struct timeval timeout = { .tv_sec = prog_timeout }, *ptval = NULL; timeval 1165 tools/testing/selftests/net/nettest.c struct timeval timeout = { .tv_sec = prog_timeout }, *ptval = NULL; timeval 1251 tools/testing/selftests/net/nettest.c struct timeval _tv = { .tv_sec = prog_timeout }, *tv = NULL; timeval 253 tools/testing/selftests/net/psock_snd.c struct timeval tv = { .tv_usec = 100 * 1000 }; timeval 292 tools/testing/selftests/net/psock_snd.c struct timeval tv = { .tv_usec = 100 * 1000 }; timeval 234 tools/testing/selftests/net/so_txtime.c struct timeval tv = { .tv_usec = 100 * 1000 }; timeval 127 tools/testing/selftests/net/tcp_mmap.c struct timeval t0, t1; timeval 573 tools/testing/selftests/net/udpgso.c struct timeval tv = { .tv_usec = 100 * 1000 }; timeval 86 tools/testing/selftests/net/udpgso_bench_rx.c struct timeval tv; timeval 97 tools/testing/selftests/net/udpgso_bench_tx.c struct timeval tv; timeval 120 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval now; timeval 141 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval tv; timeval 143 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval now; timeval 162 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval *stamp = timeval 163 tools/testing/selftests/networking/timestamping/timestamping.c (struct timeval *)CMSG_DATA(cmsg); timeval 315 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval next; timeval 459 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval now; timeval 460 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval delta; timeval 33 tools/testing/selftests/powerpc/benchmarks/context_switch.c struct timeval tv; timeval 15 tools/testing/selftests/powerpc/benchmarks/gettimeofday.c struct timeval tv_start, tv_end; timeval 67 tools/testing/selftests/powerpc/tm/tm-syscall.c struct timeval end, now; timeval 90 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = 2 }; timeval 113 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; timeval 166 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; timeval 215 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = 62 }; timeval 268 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = 62 }; timeval 250 tools/testing/selftests/timers/leap-a-day.c struct timeval tv; timeval 82 tools/testing/selftests/timers/leapcrash.c struct timeval tv; timeval 62 tools/testing/selftests/timers/posix_timers.c static int check_diff(struct timeval start, struct timeval end) timeval 80 tools/testing/selftests/timers/posix_timers.c struct timeval start, end; timeval 142 tools/testing/selftests/timers/posix_timers.c struct timeval start, end; timeval 33 tools/testing/selftests/timers/rtcpie.c struct timeval start, end, diff; timeval 50 tools/testing/selftests/timers/set-2038.c struct timeval now; timeval 232 tools/testing/selftests/timers/set-timer-lat.c struct timeval timeout; timeval 41 tools/testing/selftests/timers/set-tz.c struct timeval tv; timeval 51 tools/testing/selftests/timers/set-tz.c struct timeval tv; timeval 90 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); timeval 96 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c struct timeval tv; timeval 48 tools/testing/selftests/vDSO/vdso_test.c typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); timeval 56 tools/testing/selftests/vDSO/vdso_test.c struct timeval tv; timeval 39 tools/testing/selftests/x86/test_vdso.c typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz); timeval 129 tools/testing/selftests/x86/test_vdso.c static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz) timeval 194 tools/testing/selftests/x86/test_vdso.c static bool tv_leq(const struct timeval *a, const struct timeval *b) timeval 275 tools/testing/selftests/x86/test_vdso.c struct timeval start, vdso, end; timeval 55 tools/testing/selftests/x86/test_vsyscall.c typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); timeval 159 tools/testing/selftests/x86/test_vsyscall.c static inline long sys_gtod(struct timeval *tv, struct timezone *tz) timeval 191 tools/testing/selftests/x86/test_vsyscall.c static double tv_diff(const struct timeval *a, const struct timeval *b) timeval 197 tools/testing/selftests/x86/test_vsyscall.c static int check_gtod(const struct timeval *tv_sys1, timeval 198 tools/testing/selftests/x86/test_vsyscall.c const struct timeval *tv_sys2, timeval 201 tools/testing/selftests/x86/test_vsyscall.c const struct timeval *tv_other, timeval 228 tools/testing/selftests/x86/test_vsyscall.c struct timeval tv_sys1, tv_sys2, tv_vdso, tv_vsys; timeval 42 tools/thermal/tmon/tmon.h struct timeval tv; timeval 51 tools/usb/testusb.c struct timeval duration;