Lines Matching refs:rhs
60 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
62 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
64 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
66 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
72 struct timespec64 rhs) in timespec64_add() argument
75 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
76 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add()
84 struct timespec64 rhs) in timespec64_sub() argument
87 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
88 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub()
165 const struct timespec64 rhs);