/linux-6.6.21/include/uapi/linux/ |
D | time.h | 17 struct timeval { struct 28 struct timeval it_interval;/* timer interval */ argument 29 struct timeval it_value; /* current value */
|
D | ppdev.h | 81 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) 82 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
|
/linux-6.6.21/tools/include/nolibc/ |
D | unistd.h | 24 struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 }; in msleep() 37 struct timeval my_timeval = { seconds, 0 }; in sleep() 48 struct timeval my_timeval = { usecs / 1000000, usecs % 1000000 }; in usleep()
|
D | time.h | 18 struct timeval tv; in time()
|
D | types.h | 185 struct timeval ru_utime; 186 struct timeval ru_stime;
|
D | sys.h | 484 int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday() 494 int gettimeofday(struct timeval *tv, struct timezone *tz) in gettimeofday() 914 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select() 920 struct timeval *t; in sys_select() 942 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in select()
|
/linux-6.6.21/tools/testing/selftests/x86/ |
D | test_vsyscall.c | 57 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); 158 static inline long sys_gtod(struct timeval *tv, struct timezone *tz) in sys_gtod() 190 static double tv_diff(const struct timeval *a, const struct timeval *b) in tv_diff() 196 static int check_gtod(const struct timeval *tv_sys1, in check_gtod() 197 const struct timeval *tv_sys2, in check_gtod() 200 const struct timeval *tv_other, in check_gtod() 227 struct timeval tv_sys1, tv_sys2, tv_vdso, tv_vsys; in test_gtod()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | timestamping.c | 138 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() 335 struct timeval next; in main() 501 struct timeval now; in main() 502 struct timeval delta; in main()
|
D | fin_ack_lat.c | 17 static unsigned long timediff(struct timeval s, struct timeval e) in timediff() 36 struct timeval start, end; in client()
|
/linux-6.6.21/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()
|
/linux-6.6.21/tools/testing/selftests/vDSO/ |
D | vdso_test_gettimeofday.c | 49 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main() 57 struct timeval tv; in main()
|
D | vdso_test_correctness.c | 59 typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz); 160 static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday() 234 static bool tv_leq(const struct timeval *a, const struct timeval *b) in tv_leq() 383 struct timeval start, vdso, end; in test_gettimeofday()
|
D | vdso_standalone_test_x86.c | 88 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main() 94 struct timeval tv; in c_main()
|
D | vdso_test_abi.c | 31 typedef long (*vdso_gettimeofday_t)(struct timeval *tv, struct timezone *tz); 51 struct timeval tv; in vdso_test_gettimeofday()
|
/linux-6.6.21/arch/xtensa/platforms/iss/include/platform/ |
D | simcall.h | 67 long timeval[2] = { 0, 0 }; in simc_poll() local 69 return __simc(SYS_select_one, fd, XTISS_SELECT_ONE_READ, (int)&timeval); in simc_poll()
|
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/ |
D | mkinitrd.sh | 39 struct timeval tv; 40 struct timeval tvb;
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | lwt_helpers.h | 100 static int wait_for_packet(int fd, filter_t filter, struct timeval *timeout) in wait_for_packet() 109 struct timeval copied_timeout = *timeout; in wait_for_packet()
|
/linux-6.6.21/tools/testing/selftests/rtc/ |
D | rtctest.c | 171 struct timeval tv = { .tv_sec = 2 }; in TEST_F() 194 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F() 251 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F() 304 struct timeval tv = { .tv_sec = 62 }; 361 struct timeval tv = { .tv_sec = 62 };
|
/linux-6.6.21/tools/testing/selftests/powerpc/benchmarks/ |
D | gettimeofday.c | 15 struct timeval tv_start, tv_end, tv_diff; in test_gettimeofday()
|
/linux-6.6.21/tools/perf/bench/ |
D | mem-functions.c | 94 static double timeval2double(struct timeval *ts) in timeval2double() 256 struct timeval tv_start, tv_end, tv_diff; in do_memcpy_gettimeofday() 326 struct timeval tv_start, tv_end, tv_diff; in do_memset_gettimeofday()
|
D | synthesize.c | 66 struct timeval start, end, diff; in do_run_single_threaded() 153 struct timeval start, end, diff; in do_run_multi_threaded()
|
D | evlist-open-close.c | 28 static inline u64 timeval2usec(struct timeval *tv) in timeval2usec() 144 struct timeval start, end, diff; in bench_evlist_open_close__run()
|
D | kallsyms-parse.c | 37 struct timeval start, end, diff; in do_kallsyms_parse()
|
/linux-6.6.21/tools/thermal/lib/ |
D | uptimeofday.c | 9 static struct timeval __tv;
|