/openbmc/libpldm/src/transport/ |
H A D | transport.c | 103 static void timespec_to_timeval(const struct timespec *ts, struct timeval *tv) in timespec_to_timeval() 110 static long timeval_to_msec(const struct timeval *tv) in timeval_to_msec() 118 static bool timeval_is_valid(const struct timeval *tv) in timeval_is_valid() 131 static int clock_gettimeval(clockid_t clockid, struct timeval *tv) in clock_gettimeval() 158 static const struct timeval max_response_interval = { in pldm_transport_send_recv_msg() 162 struct timeval remaining; in pldm_transport_send_recv_msg() 164 struct timeval now; in pldm_transport_send_recv_msg() 165 struct timeval end; in pldm_transport_send_recv_msg()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rsyslog/librelp/ |
H A D | 0001-tests-Include-missing-sys-time.h.patch | 7 is not included indirectly and select() and timeval structs are used 11 ../../git/tests/receive.c:64:17: error: variable has incomplete type 'struct timeval' 12 64 | struct timeval tvSelectTimeout; 14 ../../git/tests/receive.c:64:9: note: forward declaration of 'struct timeval' 15 64 | struct timeval tvSelectTimeout;
|
/openbmc/u-boot/drivers/i2c/ |
H A D | fsl_i2c.c | 215 unsigned long long timeval = 0; in fsl_i2c_fixup() local 229 timeval = get_ticks(); in fsl_i2c_fixup() 231 if ((get_ticks() - timeval) > timeout) in fsl_i2c_fixup() 245 timeval = get_ticks(); in fsl_i2c_fixup() 247 if ((get_ticks() - timeval) > timeout) in fsl_i2c_fixup() 264 unsigned long long timeval; in __i2c_init() local 280 timeval = get_ticks(); in __i2c_init() 282 if ((get_ticks() - timeval) < timeout) in __i2c_init() 295 unsigned long long timeval = get_ticks(); in i2c_wait4bus() local 299 if ((get_ticks() - timeval) > timeout) in i2c_wait4bus() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | time.h | 17 struct timeval { struct 28 struct timeval it_interval;/* timer interval */ argument 29 struct timeval it_value; /* current value */
|
H A D | ppdev.h | 81 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) 82 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
|
/openbmc/linux/tools/testing/selftests/x86/ |
H A 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()
|
/openbmc/linux/tools/include/nolibc/ |
H A 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()
|
H A D | time.h | 18 struct timeval tv; in time()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A 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()
|
H A 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()
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 62 static int check_diff(struct timeval start, struct timeval end) in check_diff() 81 struct timeval start, end; in check_itimer() 139 struct timeval start, end; in check_timer_create()
|
H A D | set-tz.c | 41 struct timeval tv; in get_tz_min() 51 struct timeval tv; in get_tz_dst()
|
/openbmc/openbmc/poky/meta/recipes-support/libevent/libevent/ |
H A D | 0002-test-regress.h-Increase-default-timeval-tolerance-50.patch | 4 Subject: [PATCH] test/regress.h: Increase default timeval tolerance 50 ms -> 32 long timeval_msec_diff(const struct timeval *start, const struct timeval *end);
|
/openbmc/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_gettimeofday.c | 49 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main() 57 struct timeval tv; in main()
|
H A D | vdso_test_correctness.c | 59 typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz); 166 static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday() 240 static bool tv_leq(const struct timeval *a, const struct timeval *b) in tv_leq() 389 struct timeval start, vdso, end; in test_gettimeofday()
|
H A D | vdso_standalone_test_x86.c | 102 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main() 108 struct timeval tv; in c_main()
|
H A 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()
|
/openbmc/slpd-lite/ |
H A D | sock_channel.hpp | 42 Channel(int insockfd, timeval& inTimeout) in Channel() 113 timeval timeout;
|
/openbmc/linux/arch/xtensa/platforms/iss/include/platform/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | mkinitrd.sh | 39 struct timeval tv; 40 struct timeval tvb;
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_helpers.h | 98 static int wait_for_packet(int fd, filter_t filter, struct timeval *timeout) in wait_for_packet() 107 struct timeval copied_timeout = *timeout; in wait_for_packet()
|
/openbmc/obmc-console/ |
H A D | console-server.c | 679 static int get_current_time(struct timeval *tv) in get_current_time() 798 struct poller *poller, const struct timeval *tv) in console_poller_set_timeout() 800 struct timeval now; in console_poller_set_timeout() 811 static long get_poll_timeout(struct console *console, struct timeval *cur_time) in get_poll_timeout() 813 struct timeval *earliest; in get_poll_timeout() 814 struct timeval interval; in get_poll_timeout() 846 static int call_pollers(struct console *console, struct timeval *cur_time) in call_pollers() 929 struct timeval *tv) in run_console_per_console() 955 struct timeval tv; in run_console_iteration()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/ |
H A D | 0001-initialize-timespec-variable.patch | 8 …ket.cpp: In constructor 'pcpp::RawPacket::RawPacket(const uint8_t*, int, timeval, bool, pcpp::Link… 26 …RawPacket::RawPacket(const uint8_t* pRawData, int rawDataLen, timeval timestamp, bool deleteRawDat…
|
/openbmc/linux/tools/testing/selftests/rtc/ |
H A 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 };
|
/openbmc/openbmc/poky/meta/recipes-connectivity/avahi/files/ |
H A D | CVE-2023-38469-2.patch | 34 #include <avahi-common/timeval.h> 43 struct timeval tv;
|