Lines Matching refs:lhs
54 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
56 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
58 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
60 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
65 static inline struct timespec64 timespec64_add(struct timespec64 lhs, in timespec64_add() argument
69 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
70 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add()
77 static inline struct timespec64 timespec64_sub(struct timespec64 lhs, in timespec64_sub() argument
81 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
82 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub()
165 extern struct timespec64 timespec64_add_safe(const struct timespec64 lhs,