Lines Matching refs:rhs
126 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
128 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
130 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
132 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
143 const struct timespec64 rhs);
147 struct timespec64 rhs) in timespec64_add() argument
150 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
151 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add()
159 struct timespec64 rhs) in timespec64_sub() argument
162 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
163 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub()