Searched refs:deadline (Results 1 – 10 of 10) sorted by relevance
62 struct deadline deadline = __deadline_from_timeval in do_test() local64 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 …]
88 struct deadline struct96 __deadline_is_infinite (struct deadline deadline) in __deadline_is_infinite() argument98 return deadline.absolute.tv_nsec < 0; in __deadline_is_infinite()114 struct deadline deadline) in __deadline_elapsed() argument116 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 deadline124 __deadline_first (struct deadline left, struct deadline right) in __deadline_first()[all …]
39 static inline struct deadline42 return (struct deadline) { { -1, -1 } }; in infinite_deadline()45 struct deadline73 return (struct deadline) { { sec, nsec } }; in __deadline_from_timeval()78 struct deadline deadline) in __deadline_to_ms() argument80 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 …]
50 inet6_scopeid_pton deadline idna idna_name_classify63 tests-static += tst-deadline64 tests-internal += tst-deadline
303 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()
622 using a TSC deadline value.
7154 y2038: inet: Convert inet deadline to support 64 bit time7156 * inet/deadline.c: Modified.7160 (deadline): Modified.
5688 * inet/deadline.c: Modified.
19624 inet: Actually build and run tst-deadline.19625 * inet/Makefile (tests-internal): Add tst-deadline and do not35613 * inet/deadline.c (__deadline_current_time)
5392 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.