Home
last modified time | relevance | path

Searched refs:cmp1 (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/include/linux/
Dktime.h120 static inline int ktime_equal(const ktime_t cmp1, const ktime_t cmp2) in ktime_equal() argument
122 return cmp1.tv64 == cmp2.tv64; in ktime_equal()
135 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) in ktime_compare() argument
137 if (cmp1.tv64 < cmp2.tv64) in ktime_compare()
139 if (cmp1.tv64 > cmp2.tv64) in ktime_compare()
151 static inline bool ktime_after(const ktime_t cmp1, const ktime_t cmp2) in ktime_after() argument
153 return ktime_compare(cmp1, cmp2) > 0; in ktime_after()
163 static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) in ktime_before() argument
165 return ktime_compare(cmp1, cmp2) < 0; in ktime_before()
/linux-4.4.14/fs/btrfs/
Dtree-log.c632 struct btrfs_file_extent_item cmp1; in replay_one_extent() local
641 read_extent_buffer(eb, &cmp1, (unsigned long)item, in replay_one_extent()
642 sizeof(cmp1)); in replay_one_extent()
650 if (memcmp(&cmp1, &cmp2, sizeof(cmp1)) == 0) { in replay_one_extent()