Searched refs:rhs (Results 1 – 2 of 2) sorted by relevance
755 const struct timespec rhs) in timespec_add_safe() argument759 set_normalized_timespec(&res, lhs.tv_sec + rhs.tv_sec, in timespec_add_safe()760 lhs.tv_nsec + rhs.tv_nsec); in timespec_add_safe()762 if (res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec) in timespec_add_safe()
313 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe() argument315 ktime_t res = ktime_add_unsafe(lhs, rhs); in ktime_add_safe()321 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe()