Searched refs:cmp2 (Results 1 – 1 of 1) sorted by relevance
127 static inline int ktime_equal(const ktime_t cmp1, const ktime_t cmp2) in ktime_equal() argument129 return cmp1.tv64 == cmp2.tv64; in ktime_equal()142 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) in ktime_compare() argument144 if (cmp1.tv64 < cmp2.tv64) in ktime_compare()146 if (cmp1.tv64 > cmp2.tv64) in ktime_compare()158 static inline bool ktime_after(const ktime_t cmp1, const ktime_t cmp2) in ktime_after() argument160 return ktime_compare(cmp1, cmp2) > 0; in ktime_after()170 static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) in ktime_before() argument172 return ktime_compare(cmp1, cmp2) < 0; in ktime_before()