Lines Matching refs:rhs
55 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
57 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
59 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
61 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
67 struct timespec64 rhs) in timespec64_add() argument
70 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
71 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add()
79 struct timespec64 rhs) in timespec64_sub() argument
82 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
83 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub()
150 const struct timespec64 rhs);