Searched refs:rhs (Results 1 – 2 of 2) sorted by relevance
680 const struct timespec rhs) in timespec_add_safe() argument684 set_normalized_timespec(&res, lhs.tv_sec + rhs.tv_sec, in timespec_add_safe()685 lhs.tv_nsec + rhs.tv_nsec); in timespec_add_safe()687 if (res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec) in timespec_add_safe()
321 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe() argument323 ktime_t res = ktime_add(lhs, rhs); in ktime_add_safe()329 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe()