Home
last modified time | relevance | path

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

/kernel/
Dtime.c703 const struct timespec rhs) in timespec_add_safe() argument
707 set_normalized_timespec(&res, lhs.tv_sec + rhs.tv_sec, in timespec_add_safe()
708 lhs.tv_nsec + rhs.tv_nsec); in timespec_add_safe()
710 if (res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec) in timespec_add_safe()
Dhrtimer.c352 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe() argument
354 ktime_t res = ktime_add(lhs, rhs); in ktime_add_safe()
360 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe()