Lines Matching refs:deadline
39 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()
91 int nsec = deadline.absolute.tv_nsec - current.current.tv_nsec; in __deadline_to_ms()