Searched refs:timeval (Results 1 - 25 of 106) sorted by relevance

12345

/linux-master/include/uapi/linux/
H A Dtime.h17 struct timeval { struct
28 struct timeval it_interval;/* timer interval */
29 struct timeval it_value; /* current value */
H A Dppdev.h80 /* Set and get port timeout (struct timeval's) */
81 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval)
82 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
/linux-master/tools/include/nolibc/
H A Dtime.h18 struct timeval tv;
H A Dunistd.h24 struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 };
37 struct timeval my_timeval = { seconds, 0 };
48 struct timeval my_timeval = { usecs / 1000000, usecs % 1000000 };
/linux-master/tools/testing/selftests/vDSO/
H A Dvdso_test_gettimeofday.c49 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
57 struct timeval tv;
H A Dvdso_standalone_test_x86.c88 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
94 struct timeval tv;
H A Dvdso_test_correctness.c59 typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz);
160 static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz)
234 static bool tv_leq(const struct timeval *a, const struct timeval *b)
383 struct timeval start, vdso, end;
H A Dvdso_test_abi.c31 typedef long (*vdso_gettimeofday_t)(struct timeval *tv, struct timezone *tz);
63 struct timeval tv;
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dgettimeofday.c15 struct timeval tv_start, tv_end, tv_diff;
/linux-master/tools/thermal/lib/
H A Duptimeofday.c9 static struct timeval __tv;
/linux-master/tools/testing/selftests/timers/
H A Dset-tz.c41 struct timeval tv;
51 struct timeval tv;
H A Dposix_timers.c62 static int check_diff(struct timeval start, struct timeval end)
81 struct timeval start, end;
139 struct timeval start, end;
H A Dset-2038.c50 struct timeval now;
H A Dleapcrash.c82 struct timeval tv;
/linux-master/arch/xtensa/platforms/iss/include/platform/
H A Dsimcall.h67 long timeval[2] = { 0, 0 }; local
69 return __simc(SYS_select_one, fd, XTISS_SELECT_ONE_READ, (int)&timeval);
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dmkinitrd.sh39 struct timeval tv;
40 struct timeval tvb;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h99 static int wait_for_packet(int fd, filter_t filter, struct timeval *timeout)
108 struct timeval copied_timeout = *timeout;
/linux-master/tools/testing/selftests/net/
H A Dfin_ack_lat.c17 static unsigned long timediff(struct timeval s, struct timeval e)
36 struct timeval start, end;
H A Dtimestamping.c138 struct timeval now;
160 struct timeval tv;
162 struct timeval now;
181 struct timeval *stamp =
182 (struct timeval *)CMSG_DATA(cmsg);
335 struct timeval next;
501 struct timeval now;
502 struct timeval delta;
/linux-master/tools/testing/selftests/x86/
H A Dtest_vsyscall.c57 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
158 static inline long sys_gtod(struct timeval *tv, struct timezone *tz)
190 static double tv_diff(const struct timeval *a, const struct timeval *b)
196 static int check_gtod(const struct timeval *tv_sys1,
197 const struct timeval *tv_sys2,
200 const struct timeval *tv_other,
219 printf("[OK]\t%s gettimeofday()'s timeval was okay\n", which);
227 struct timeval tv_sys1, tv_sys2, tv_vdso, tv_vsys;
/linux-master/tools/perf/bench/
H A Dkallsyms-parse.c37 struct timeval start, end, diff;
H A Dbench.h7 extern struct timeval bench__start, bench__end, bench__runtime;
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-syscall.c79 struct timeval end, now;
/linux-master/tools/testing/selftests/damon/
H A Ddebugfs_target_ids_pid_leak.c33 struct timeval tv;
/linux-master/tools/power/cpupower/bench/
H A Dsystem.c29 struct timeval now;

Completed in 195 milliseconds

12345