Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 2 of 2) sorted by relevance

/kernel/time/
Dtime.c754 struct timespec timespec_add_safe(const struct timespec lhs, in timespec_add_safe() argument
759 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()
Dhrtimer.c313 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe() argument
315 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()