Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 157) sorted by relevance

1234567

/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_007.cpp112 …ret = setsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_USER_AD… in TcpTest()
113 static_cast<socklen_t>(sizeof(struct timeval))); in TcpTest()
116 …ret = setsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_KERNEL_… in TcpTest()
117 static_cast<socklen_t>(sizeof(struct timeval))); in TcpTest()
120 …ret = getsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_USER_AD… in TcpTest()
121 reinterpret_cast<socklen_t *>(sizeof(struct timeval))); in TcpTest()
124 …ret = getsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_KERNEL_… in TcpTest()
125 reinterpret_cast<socklen_t *>(sizeof(struct timeval))); in TcpTest()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Delfcore.h46 struct timeval pr_utime;
47 struct timeval pr_stime;
48 struct timeval pr_cutime;
49 struct timeval pr_cstime;
Dtime.h16 struct timeval { struct
32 struct timeval it_interval; argument
33 struct timeval it_value;
Dresource.h15 struct timeval ru_utime;
16 struct timeval ru_stime;
Dppdev.h32 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval)
33 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
/kernel/linux/linux-5.10/include/uapi/linux/
Dtime.h17 struct timeval { struct
28 struct timeval it_interval;/* timer interval */ argument
29 struct timeval it_value; /* current value */
Dppdev.h81 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval)
82 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dtime.h30 struct timeval { struct
39 struct timeval it_interval; argument
40 struct timeval it_value;
Dresource.h28 struct timeval ru_utime;
29 struct timeval ru_stime;
Dppdev.h47 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval)
48 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dposix_timers.c62 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()
Dset-tz.c41 struct timeval tv; in get_tz_min()
51 struct timeval tv; in get_tz_dst()
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
Dtest_vsyscall.c57 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
161 static inline long sys_gtod(struct timeval *tv, struct timezone *tz) in sys_gtod()
193 static double tv_diff(const struct timeval *a, const struct timeval *b) in tv_diff()
199 static int check_gtod(const struct timeval *tv_sys1, in check_gtod()
200 const struct timeval *tv_sys2, in check_gtod()
203 const struct timeval *tv_other, in check_gtod()
230 struct timeval tv_sys1, tv_sys2, tv_vdso, tv_vsys; in test_gtod()
Dtest_vdso.c39 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()
280 struct timeval start, vdso, end; in test_gettimeofday()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/
Dpthread_mutex_test_018.cpp47 struct timeval timeVal = { 0 }; in ThreadFuncTest2()
72 struct timeval timeVal = { 0 }; in ThreadFuncTest1()
108 struct timeval time = { 0 }; in Testcase()
109 struct timeval timeVal = { 0 }; in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtimestamping.c120 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()
465 struct timeval now; in main()
466 struct timeval delta; in main()
Dfin_ack_lat.c17 static unsigned long timediff(struct timeval s, struct timeval e) in timediff()
36 struct timeval start, end; in client()
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/
Dvdso_test_gettimeofday.c46 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main()
54 struct timeval tv; in main()
Dvdso_standalone_test_x86.c88 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main()
94 struct timeval tv; in c_main()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_008.cpp45 struct timeval timeVal = { 0 }; in ThreadFuncTest3()
71 struct timeval timeVal = { 0 }; in ThreadFuncTest2()
98 struct timeval timeVal = { 0 }; in ThreadFuncTest1()
Dpthread_mutex_test_019.cpp71 struct timeval timeVal = { 0 }; in ThreadFuncTest1()
111 struct timeval time = { 0 }; in Testcase()
112 struct timeval timeVal = { 0 }; in Testcase()
Dpthread_mutex_test_021.cpp95 struct timeval timeVal = { 0 }; in ThreadFuncTest0()
138 struct timeval time = { 0 }; in Testcase()
139 struct timeval timeVal = { 0 }; in Testcase()
Dpthread_mutex_test_022.cpp95 struct timeval timeVal = { 0 }; in ThreadFuncTest0()
138 struct timeval time = { 0 }; in Testcase()
139 struct timeval timeVal = { 0 }; in Testcase()
Dpthread_mutex_test_020.cpp95 struct timeval timeVal = { 0 }; in ThreadFuncTest0()
138 struct timeval time = { 0 }; in Testcase()
139 struct timeval timeVal = { 0 }; in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/
Dmkinitrd.sh40 struct timeval tv;
41 struct timeval tvb;

1234567