arch/xtensa/platforms/iss/include/platform/simcall.h
67
long timeval[2] = { 0, 0 };
arch/xtensa/platforms/iss/include/platform/simcall.h
69
return __simc(SYS_select_one, fd, XTISS_SELECT_ONE_READ, (int)&timeval);
fs/hostfs/hostfs_user.c
208
struct timeval times[2];
include/linux/net.h
187
bool timeval, bool time32);
include/linux/raid/pq.h
194
struct timeval tv;
include/net/sock.h
1885
bool timeval, bool time32);
include/uapi/linux/input.h
30
struct timeval time;
include/uapi/linux/omap3isp.h
177
struct timeval ts;
include/uapi/linux/ppdev.h
81
#define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval)
include/uapi/linux/ppdev.h
82
#define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
include/uapi/linux/sockios.h
45
#define SIOCGSTAMP ((sizeof(struct timeval)) == 8 ? \
include/uapi/linux/time.h
28
struct timeval it_interval;/* timer interval */
include/uapi/linux/time.h
29
struct timeval it_value; /* current value */
include/uapi/linux/timex.h
77
struct timeval time; /* (read only, except for ADJ_SETOFFSET) */
include/uapi/linux/videodev2.h
1187
struct timeval timestamp;
include/uapi/linux/videodev2.h
1216
static inline __u64 v4l2_timeval_to_ns(const struct timeval *tv)
net/core/sock.c
3841
bool timeval, bool time32)
net/core/sock.c
3856
if (timeval)
net/core/sock.c
3865
if (timeval && !in_compat_syscall()) {
samples/bpf/hbm.c
215
struct timeval t0, t_last, t_new;
samples/mei/mei-amt-version.c
157
struct timeval tv;
samples/timers/hpet_example.c
137
struct timeval stv, etv;
scripts/kconfig/conf.c
103
struct timeval now;
tools/accounting/delaytop.c
1001
struct timeval tv = {cfg.delay, 0};
tools/firewire/nosy-dump.c
831
static struct timeval last_update;
tools/firewire/nosy-dump.c
832
struct timeval now;
tools/include/nolibc/sys/select.h
64
int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout)
tools/include/nolibc/sys/select.h
86
int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout)
tools/include/nolibc/sys/time.h
23
int sys_gettimeofday(struct timeval *tv, struct timezone *tz)
tools/include/nolibc/sys/time.h
40
int gettimeofday(struct timeval *tv, struct timezone *tz)
tools/include/nolibc/time.h
126
struct timeval tv;
tools/include/nolibc/unistd.h
55
struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 };
tools/include/nolibc/unistd.h
68
struct timeval my_timeval = { seconds, 0 };
tools/include/nolibc/unistd.h
79
struct timeval my_timeval = { usecs / 1000000, usecs % 1000000 };
tools/perf/bench/bench.h
7
extern struct timeval bench__start, bench__end, bench__runtime;
tools/perf/bench/breakpoint.c
118
struct timeval start, stop, diff;
tools/perf/bench/breakpoint.c
204
struct timeval start, stop, diff;
tools/perf/bench/evlist-open-close.c
138
struct timeval start, end, diff;
tools/perf/bench/evlist-open-close.c
29
static inline u64 timeval2usec(struct timeval *tv)
tools/perf/bench/find-bit-bench.c
58
struct timeval start, end, diff;
tools/perf/bench/futex-hash.c
38
struct timeval bench__start, bench__end, bench__runtime;
tools/perf/bench/futex-requeue.c
225
struct timeval start, end, runtime;
tools/perf/bench/futex-wake-parallel.c
43
struct timeval runtime;
tools/perf/bench/futex-wake-parallel.c
83
struct timeval start, end;
tools/perf/bench/futex-wake.c
192
struct timeval start, end, runtime;
tools/perf/bench/inject-buildid.c
409
struct timeval start, end, diff;
tools/perf/bench/kallsyms-parse.c
37
struct timeval start, end, diff;
tools/perf/bench/mem-functions.c
175
static double timeval2double(struct timeval *ts)
tools/perf/bench/mem-functions.c
76
struct timeval tv;
tools/perf/bench/numa.c
1209
struct timeval start0, start, stop, diff;
tools/perf/bench/numa.c
1618
struct timeval start, stop, diff;
tools/perf/bench/pmu-scan.c
132
struct timeval start, end, diff;
tools/perf/bench/sched-messaging.c
295
struct timeval start, stop, diff;
tools/perf/bench/sched-pipe.c
221
struct timeval start, stop, diff;
tools/perf/bench/sched-seccomp-notify.c
97
struct timeval start, stop, diff;
tools/perf/bench/synthesize.c
159
struct timeval start, end, diff;
tools/perf/bench/synthesize.c
67
struct timeval start, end, diff;
tools/perf/bench/syscall.c
77
struct timeval start, stop, diff;
tools/perf/builtin-kvm.c
1041
struct timeval tv;
tools/perf/builtin-record.c
2262
struct timeval ref_tod;
tools/perf/tests/switch-tracking.c
27
struct timeval start, now, diff, maxtime;
tools/perf/ui/tui/setup.c
59
struct timeval timeout, *ptimeout = delay_secs ? &timeout : NULL;
tools/perf/util/debug.c
75
struct timeval tod;
tools/perf/util/header.c
1921
struct timeval tod_ns;
tools/perf/util/stat-display.c
1419
static double timeval2double(struct timeval *t)
tools/perf/util/time-utils.c
546
struct timeval tv;
tools/power/acpi/os_specific/service_layers/osunixxf.c
984
struct timeval time;
tools/power/acpi/tools/acpidbg/acpidbg.c
269
struct timeval tv;
tools/power/acpi/tools/acpidbg/acpidbg.c
339
struct timeval tv;
tools/power/cpupower/bench/system.c
29
struct timeval now;
tools/power/x86/turbostat/turbostat.c
2115
struct timeval tv_begin;
tools/power/x86/turbostat/turbostat.c
2116
struct timeval tv_end;
tools/power/x86/turbostat/turbostat.c
2117
struct timeval tv_delta;
tools/power/x86/turbostat/turbostat.c
2416
struct timeval tv_even, tv_odd, tv_delta;
tools/power/x86/turbostat/turbostat.c
3330
struct timeval tv;
tools/power/x86/turbostat/turbostat.c
490
struct timeval interval_tv = { 5, 0 };
tools/power/x86/turbostat/turbostat.c
546
static struct timeval procsysfs_tv_begin;
tools/power/x86/turbostat/turbostat.c
6662
struct timeval tout;
tools/testing/selftests/bpf/io_helpers.c
9
struct timeval tv = { usec / M, usec % M };
tools/testing/selftests/bpf/network_helpers.c
73
struct timeval timeout = { .tv_sec = 3 };
tools/testing/selftests/bpf/prog_tests/flow_dissector_classification.c
116
struct timeval tv;
tools/testing/selftests/bpf/prog_tests/lwt_helpers.h
70
static int wait_for_packet(int fd, filter_t filter, struct timeval *timeout)
tools/testing/selftests/bpf/prog_tests/lwt_helpers.h
79
struct timeval copied_timeout = *timeout;
tools/testing/selftests/bpf/prog_tests/lwt_redirect.c
163
struct timeval timeo = {
tools/testing/selftests/bpf/prog_tests/lwt_reroute.c
192
struct timeval timeo = {
tools/testing/selftests/bpf/prog_tests/socket_helpers.h
273
struct timeval timeout = { .tv_sec = timeout_sec };
tools/testing/selftests/bpf/prog_tests/socket_helpers.h
299
struct timeval timeout = { .tv_sec = timeout_sec };
tools/testing/selftests/bpf/prog_tests/test_xsk.c
1131
struct timeval tv_end, tv_now, tv_timeout = {THREAD_TMOUT, 0};
tools/testing/selftests/bpf/prog_tests/test_xsk.c
1295
struct timeval tv_end, tv_now, tv_timeout = {THREAD_TMOUT, 0};
tools/testing/selftests/bpf/test_maps.c
665
struct timeval to;
tools/testing/selftests/bpf/test_sockmap.c
681
struct timeval timeout;
tools/testing/selftests/bpf/test_sockmap.c
868
struct timeval timeout;
tools/testing/selftests/bpf/test_sockmap.c
874
err = setsockopt(c2, SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(struct timeval));
tools/testing/selftests/bpf/test_sockmap.c
967
struct timeval timeout;
tools/testing/selftests/drivers/net/gro.c
966
struct timeval timeout;
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
101
struct timeval tv;
tools/testing/selftests/drivers/net/hw/ncdevmem.c
1163
struct timeval tv;
tools/testing/selftests/drivers/net/hw/toeplitz.c
261
struct timeval start, now;
tools/testing/selftests/landlock/audit.h
48
static const struct timeval audit_tv_dom_drop = {
tools/testing/selftests/landlock/audit.h
58
static const struct timeval audit_tv_default = {
tools/testing/selftests/mm/hmm-tests.c
2673
struct timeval tv;
tools/testing/selftests/net/af_unix/so_peek_off.c
38
struct timeval timeout = {
tools/testing/selftests/net/can/test_raw_filter.c
354
struct timeval tv = {
tools/testing/selftests/net/fin_ack_lat.c
17
static unsigned long timediff(struct timeval s, struct timeval e)
tools/testing/selftests/net/fin_ack_lat.c
36
struct timeval start, end;
tools/testing/selftests/net/io_uring_zerocopy_tx.c
67
struct timeval tv;
tools/testing/selftests/net/ioam6_parser.c
1011
struct timeval timeout;
tools/testing/selftests/net/ip_defrag.c
341
struct timeval tv = { .tv_sec = 1, .tv_usec = 10 };
tools/testing/selftests/net/ipsec.c
630
struct timeval t = { .tv_sec = 0, .tv_usec = u_timeout };
tools/testing/selftests/net/lib/csum.c
139
struct timeval tv;
tools/testing/selftests/net/msg_zerocopy.c
104
struct timeval tv;
tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c
49
static const struct timeval tv = {
tools/testing/selftests/net/netfilter/nf_queue.c
214
struct timeval tv;
tools/testing/selftests/net/netfilter/sctp_collision.c
13
struct timeval tv = {25, 0};
tools/testing/selftests/net/nettest.c
1252
struct timeval timeout = { .tv_sec = prog_timeout }, *ptval = NULL;
tools/testing/selftests/net/nettest.c
1565
struct timeval timeout = { .tv_sec = prog_timeout }, *ptval = NULL;
tools/testing/selftests/net/nettest.c
1670
struct timeval _tv = { .tv_sec = prog_timeout }, *tv = NULL;
tools/testing/selftests/net/psock_snd.c
253
struct timeval tv = { .tv_usec = 100 * 1000 };
tools/testing/selftests/net/psock_snd.c
292
struct timeval tv = { .tv_usec = 100 * 1000 };
tools/testing/selftests/net/skf_net_off.c
169
struct timeval tv = { .tv_usec = 100 * 1000 };
tools/testing/selftests/net/so_txtime.c
309
struct timeval tv = { .tv_usec = 100 * 1000 };
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
289
struct timeval now;
tools/testing/selftests/net/tcp_ao/lib/sock.c
37
static int __test_wait_fd(int sk, struct timeval *tv, bool write)
tools/testing/selftests/net/tcp_ao/lib/sock.c
69
struct timeval tv = { .tv_sec = sec, };
tools/testing/selftests/net/tcp_ao/lib/sock.c
97
struct timeval tv = { .tv_usec = POLL_USEC, };
tools/testing/selftests/net/tcp_ao/rst.c
196
struct timeval tv = { .tv_sec = sec };
tools/testing/selftests/net/tcp_ao/rst.c
197
struct timeval *ptv = NULL;
tools/testing/selftests/net/tcp_mmap.c
178
struct timeval t0, t1;
tools/testing/selftests/net/timestamping.c
138
struct timeval now;
tools/testing/selftests/net/timestamping.c
160
struct timeval tv;
tools/testing/selftests/net/timestamping.c
162
struct timeval now;
tools/testing/selftests/net/timestamping.c
181
struct timeval *stamp =
tools/testing/selftests/net/timestamping.c
182
(struct timeval *)CMSG_DATA(cmsg);
tools/testing/selftests/net/timestamping.c
335
struct timeval next;
tools/testing/selftests/net/timestamping.c
501
struct timeval now;
tools/testing/selftests/net/timestamping.c
502
struct timeval delta;
tools/testing/selftests/net/tls.c
2683
struct timeval tv = { .tv_usec = 10000, };
tools/testing/selftests/net/tun.c
314
struct timeval to = { .tv_sec = TIMEOUT_SEC };
tools/testing/selftests/net/tun.c
893
struct timeval timeout = { .tv_sec = TIMEOUT_SEC };
tools/testing/selftests/net/udpgso.c
513
struct timeval tv = { .tv_usec = 100 * 1000 };
tools/testing/selftests/net/udpgso_bench_rx.c
86
struct timeval tv;
tools/testing/selftests/net/udpgso_bench_tx.c
98
struct timeval tv;
tools/testing/selftests/nolibc/nolibc-test.c
1331
struct timeval tv;
tools/testing/selftests/nolibc/nolibc-test.c
1440
CASE_TEST(select_null); EXPECT_SYSZR(1, ({ struct timeval tv = { 0 }; select(0, NULL, NULL, NULL, &tv); })); break;
tools/testing/selftests/powerpc/benchmarks/context_switch.c
34
struct timeval tv;
tools/testing/selftests/powerpc/benchmarks/gettimeofday.c
15
struct timeval tv_start, tv_end, tv_diff;
tools/testing/selftests/powerpc/tm/tm-syscall.c
79
struct timeval end, now;
tools/testing/selftests/rtc/rtctest.c
200
struct timeval tv = { .tv_sec = 2 };
tools/testing/selftests/rtc/rtctest.c
223
struct timeval tv = { .tv_sec = ALARM_DELTA + 2 };
tools/testing/selftests/rtc/rtctest.c
292
struct timeval tv = { .tv_sec = ALARM_DELTA + 2 };
tools/testing/selftests/rtc/rtctest.c
357
struct timeval tv = { .tv_sec = 62 };
tools/testing/selftests/rtc/rtctest.c
424
struct timeval tv = { .tv_sec = 62 };
tools/testing/selftests/timers/leap-a-day.c
250
struct timeval tv;
tools/testing/selftests/timers/leapcrash.c
82
struct timeval tv;
tools/testing/selftests/timers/posix_timers.c
102
struct timeval start, end;
tools/testing/selftests/timers/posix_timers.c
137
struct timeval start, end;
tools/testing/selftests/timers/posix_timers.c
85
static int check_diff(struct timeval start, struct timeval end)
tools/testing/selftests/timers/rtcpie.c
35
struct timeval start, end, diff;
tools/testing/selftests/timers/set-2038.c
49
struct timeval now;
tools/testing/selftests/timers/set-timer-lat.c
220
struct timeval timeout;
tools/testing/selftests/timers/set-tz.c
41
struct timeval tv;
tools/testing/selftests/timers/set-tz.c
51
struct timeval tv;
tools/testing/selftests/vDSO/vdso_standalone_test_x86.c
38
typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
tools/testing/selftests/vDSO/vdso_standalone_test_x86.c
46
struct timeval tv;
tools/testing/selftests/vDSO/vdso_test_abi.c
35
typedef long (*vdso_gettimeofday_t)(struct timeval *tv, struct timezone *tz);
tools/testing/selftests/vDSO/vdso_test_abi.c
69
struct timeval tv;
tools/testing/selftests/vDSO/vdso_test_correctness.c
167
static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz)
tools/testing/selftests/vDSO/vdso_test_correctness.c
241
static bool tv_leq(const struct timeval *a, const struct timeval *b)
tools/testing/selftests/vDSO/vdso_test_correctness.c
390
struct timeval start, vdso, end;
tools/testing/selftests/vDSO/vdso_test_correctness.c
60
typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz);
tools/testing/selftests/vDSO/vdso_test_gettimeofday.c
38
typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
tools/testing/selftests/vDSO/vdso_test_gettimeofday.c
46
struct timeval tv;
tools/testing/selftests/x86/test_vsyscall.c
111
static double tv_diff(const struct timeval *a, const struct timeval *b)
tools/testing/selftests/x86/test_vsyscall.c
117
static void check_gtod(const struct timeval *tv_sys1,
tools/testing/selftests/x86/test_vsyscall.c
118
const struct timeval *tv_sys2,
tools/testing/selftests/x86/test_vsyscall.c
121
const struct timeval *tv_other,
tools/testing/selftests/x86/test_vsyscall.c
140
struct timeval tv_sys1, tv_sys2, tv_vdso, tv_vsys;
tools/testing/selftests/x86/test_vsyscall.c
52
typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
tools/testing/selftests/x86/test_vsyscall.c
95
static inline long sys_gtod(struct timeval *tv, struct timezone *tz)
tools/testing/vsock/util.c
824
struct timeval val, char const *errmsg)
tools/testing/vsock/util.c
826
struct timeval chkval;
tools/testing/vsock/util.h
115
struct timeval val, char const *errmsg);
tools/testing/vsock/vsock_test.c
575
struct timeval tv;
tools/thermal/lib/uptimeofday.c
9
static struct timeval __tv;
tools/thermal/tmon/tmon.h
45
struct timeval tv;
tools/usb/testusb.c
51
struct timeval duration;