Home
last modified time | relevance | path

Searched refs:deadline (Results 1 – 10 of 10) sorted by relevance

/glibc-2.36/inet/
Dtst-deadline.c62 struct deadline deadline = __deadline_from_timeval in do_test() local
64 TEST_VERIFY (deadline.absolute.tv_sec == 1); in do_test()
65 TEST_VERIFY (deadline.absolute.tv_nsec == 123457789); in do_test()
66 TEST_VERIFY (__deadline_to_ms (current_time, deadline) == 1); in do_test()
68 deadline = __deadline_from_timeval in do_test()
70 TEST_VERIFY (deadline.absolute.tv_sec == 1); in do_test()
71 TEST_VERIFY (deadline.absolute.tv_nsec == 123458789); in do_test()
72 TEST_VERIFY (__deadline_to_ms (current_time, deadline) == 1); in do_test()
74 deadline = __deadline_from_timeval in do_test()
76 TEST_VERIFY (deadline.absolute.tv_sec == 2); in do_test()
[all …]
Dnet-internal.h88 struct deadline struct
96 __deadline_is_infinite (struct deadline deadline) in __deadline_is_infinite() argument
98 return deadline.absolute.tv_nsec < 0; in __deadline_is_infinite()
114 struct deadline deadline) in __deadline_elapsed() argument
116 return !__deadline_is_infinite (deadline) in __deadline_elapsed()
117 && (current.current.tv_sec > deadline.absolute.tv_sec in __deadline_elapsed()
118 || (current.current.tv_sec == deadline.absolute.tv_sec in __deadline_elapsed()
119 && current.current.tv_nsec >= deadline.absolute.tv_nsec)); in __deadline_elapsed()
123 static inline struct deadline
124 __deadline_first (struct deadline left, struct deadline right) in __deadline_first()
[all …]
Ddeadline.c39 static inline struct deadline
42 return (struct deadline) { { -1, -1 } }; in infinite_deadline()
45 struct deadline
73 return (struct deadline) { { sec, nsec } }; in __deadline_from_timeval()
78 struct deadline deadline) in __deadline_to_ms() argument
80 if (__deadline_is_infinite (deadline)) in __deadline_to_ms()
83 if (current.current.tv_sec > deadline.absolute.tv_sec in __deadline_to_ms()
84 || (current.current.tv_sec == deadline.absolute.tv_sec in __deadline_to_ms()
85 && current.current.tv_nsec >= deadline.absolute.tv_nsec)) in __deadline_to_ms()
87 time_t sec = deadline.absolute.tv_sec - current.current.tv_sec; in __deadline_to_ms()
[all …]
DMakefile50 inet6_scopeid_pton deadline idna idna_name_classify
63 tests-static += tst-deadline
64 tests-internal += tst-deadline
/glibc-2.36/sunrpc/
Dclnt_udp.c303 struct deadline total_deadline; /* Determined once by overall timeout. */ in clntudp_call()
305 struct deadline response_deadline; /* Determined anew for each query. */ in clntudp_call()
/glibc-2.36/manual/
Dplatform.texi622 using a TSC deadline value.
/glibc-2.36/ChangeLog.old/
DChangeLog.217154 y2038: inet: Convert inet deadline to support 64 bit time
7156 * inet/deadline.c: Modified.
7160 (deadline): Modified.
DChangeLog.205688 * inet/deadline.c: Modified.
DChangeLog.1919624 inet: Actually build and run tst-deadline.
19625 * inet/Makefile (tests-internal): Add tst-deadline and do not
35613 * inet/deadline.c (__deadline_current_time)
DChangeLog.185392 Add tst-deadline to tests-static-internal.
8340 * inet/Makefile (routines): Add deadline.
8341 (tests-static): Add tst-deadline.
8343 (__deadline_current_time, struct deadline, __deadline_is_infinite)
8346 * inet/deadline.c: New file.
8347 * inet/tst-deadline.c: Likewise.