Lines Matching refs:rhs
57 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
59 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
61 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
63 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
69 struct timespec64 rhs) in timespec64_add() argument
72 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
73 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add()
81 struct timespec64 rhs) in timespec64_sub() argument
84 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
85 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub()
169 const struct timespec64 rhs);