/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()
|
D | leapcrash.c | 82 struct timeval tv; in main()
|
D | set-2038.c | 50 struct timeval now; in settime()
|
D | rtcpie.c | 33 struct timeval start, end, diff; in main()
|
/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()
|
/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()
|
/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()
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | gettimeofday.c | 15 struct timeval tv_start, tv_end; in test_gettimeofday()
|
/tools/testing/selftests/rcutorture/bin/ |
D | mkinitrd.sh | 89 struct timeval tv; 90 struct timeval tvb;
|
/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 };
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-syscall.c | 67 struct timeval end, now; in tm_syscall()
|
/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()
|
D | futex-wake-parallel.c | 42 struct timeval runtime; 76 struct timeval start, end; in waking_workerfn()
|
D | sched-pipe.c | 81 struct timeval start, stop, diff; in bench_sched_pipe()
|
D | futex-wake.c | 166 struct timeval start, end, runtime; in bench_futex_wake()
|
D | futex-requeue.c | 161 struct timeval start, end, runtime; in bench_futex_requeue()
|
/tools/power/cpupower/bench/ |
D | system.c | 29 struct timeval now; in get_time()
|
/tools/thermal/tmon/ |
D | tmon.h | 42 struct timeval tv;
|
/tools/include/nolibc/ |
D | nolibc.h | 156 struct timeval { struct 188 struct timeval ru_utime; 189 struct timeval ru_stime; 1548 int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday() 1649 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select() 1655 struct timeval *t; in sys_select() 1940 int gettimeofday(struct timeval *tv, struct timezone *tz) in gettimeofday() 2123 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in select() 2161 struct timeval my_timeval = { seconds, 0 }; in sleep()
|
/tools/perf/ui/tui/ |
D | setup.c | 58 struct timeval timeout, *ptimeout = delay_secs ? &timeout : NULL; in ui__getch()
|
/tools/testing/selftests/net/ |
D | psock_snd.c | 253 struct timeval tv = { .tv_usec = 100 * 1000 }; in setup_rx() 292 struct timeval tv = { .tv_usec = 100 * 1000 }; in setup_sniffer()
|
/tools/power/acpi/tools/acpidbg/ |
D | acpidbg.c | 269 struct timeval tv; in acpi_aml_loop() 339 struct timeval tv; in acpi_aml_readable()
|