Lines Matching refs:rhs
89 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
91 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
93 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
95 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
106 const struct timespec64 rhs);
110 struct timespec64 rhs) in timespec64_add() argument
113 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
114 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add()
122 struct timespec64 rhs) in timespec64_sub() argument
125 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
126 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub()