Searched refs:rhs (Results 1 – 10 of 10) sorted by relevance
/include/linux/ |
D | time64.h | 57 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument 59 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare() 61 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare() 63 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare() 69 struct timespec64 rhs) in timespec64_add() argument 72 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add() 73 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add() 81 struct timespec64 rhs) in timespec64_sub() argument 84 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub() 85 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub() [all …]
|
D | ktime.h | 47 #define ktime_sub(lhs, rhs) ((lhs) - (rhs)) argument 50 #define ktime_add(lhs, rhs) ((lhs) + (rhs)) argument 56 #define ktime_add_unsafe(lhs, rhs) ((u64) (lhs) + (rhs)) argument 199 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
|
D | percpu_counter.h | 59 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch); 62 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument 64 return __percpu_counter_compare(fbc, rhs, percpu_counter_batch); in percpu_counter_compare() 162 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument 164 if (fbc->count > rhs) in percpu_counter_compare() 166 else if (fbc->count < rhs) in percpu_counter_compare() 173 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare() argument 175 return percpu_counter_compare(fbc, rhs); in __percpu_counter_compare()
|
D | iosys-map.h | 215 const struct iosys_map *rhs) in iosys_map_is_equal() argument 217 if (lhs->is_iomem != rhs->is_iomem) in iosys_map_is_equal() 220 return lhs->vaddr_iomem == rhs->vaddr_iomem; in iosys_map_is_equal() 222 return lhs->vaddr == rhs->vaddr; in iosys_map_is_equal()
|
D | min_heap.h | 29 bool (*less)(const void *lhs, const void *rhs); 30 void (*swp)(void *lhs, void *rhs);
|
D | rtc.h | 33 static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) in rtc_tm_sub() argument 35 return rtc_tm_to_time64(lhs) - rtc_tm_to_time64(rhs); in rtc_tm_sub()
|
D | bpf.h | 2835 bool bpf_prog_dev_bound_match(const struct bpf_prog *lhs, const struct bpf_prog *rhs); 2897 static inline bool bpf_prog_dev_bound_match(const struct bpf_prog *lhs, const struct bpf_prog *rhs) in bpf_prog_dev_bound_match() argument
|
/include/asm-generic/ |
D | word-at-a-time.h | 17 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() argument 20 return ~(mask | rhs); in prep_zero_mask() 43 unsigned long rhs = val | c->low_bits; in has_zero() local 44 *data = rhs; in has_zero() 45 return (val + c->high_bits) & ~rhs; in has_zero()
|
/include/linux/ceph/ |
D | msgr.h | 91 const struct ceph_entity_addr *rhs) in ceph_addr_equal_no_type() argument 93 return !memcmp(&lhs->in_addr, &rhs->in_addr, sizeof(lhs->in_addr)) && in ceph_addr_equal_no_type() 94 lhs->nonce == rhs->nonce; in ceph_addr_equal_no_type()
|
D | osdmap.h | 34 int ceph_pg_compare(const struct ceph_pg *lhs, const struct ceph_pg *rhs); 35 int ceph_spg_compare(const struct ceph_spg *lhs, const struct ceph_spg *rhs);
|