Lines Matching refs:deadline
88 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()
139 struct deadline __deadline_from_timeval (struct deadline_current_time,
146 int __deadline_to_ms (struct deadline_current_time, struct deadline)