Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 10 of 10) sorted by relevance

/include/linux/
A Dtime64.h62 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
64 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
66 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
68 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
74 struct timespec64 rhs) in timespec64_add() argument
77 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
78 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add()
86 struct timespec64 rhs) in timespec64_sub() argument
89 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
90 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub()
[all …]
A Dktime.h45 #define ktime_sub(lhs, rhs) ((lhs) - (rhs)) argument
48 #define ktime_add(lhs, rhs) ((lhs) + (rhs)) argument
54 #define ktime_add_unsafe(lhs, rhs) ((u64) (lhs) + (rhs)) argument
197 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
A Dpercpu_counter.h59 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch);
64 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument
66 return __percpu_counter_compare(fbc, rhs, percpu_counter_batch); in percpu_counter_compare()
171 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument
173 if (fbc->count > rhs) in percpu_counter_compare()
175 else if (fbc->count < rhs) in percpu_counter_compare()
182 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare() argument
184 return percpu_counter_compare(fbc, rhs); in __percpu_counter_compare()
A Diosys-map.h215 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()
A Dmin_heap.h48 bool (*less)(const void *lhs, const void *rhs, void *args);
49 void (*swp)(void *lhs, void *rhs, void *args);
180 void do_swap(void *a, void *b, size_t size, void (*swap_func)(void *lhs, void *rhs, void *args), in do_swap() argument
262 void (*swp)(void *lhs, void *rhs, void *args) = func->swp; in __min_heap_sift_down_inline()
302 void (*swp)(void *lhs, void *rhs, void *args) = func->swp; in __min_heap_sift_up_inline()
408 void (*swp)(void *lhs, void *rhs, void *args) = func->swp; in __min_heap_del_inline()
A Drtc.h32 static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) in rtc_tm_sub() argument
34 return rtc_tm_to_time64(lhs) - rtc_tm_to_time64(rhs); in rtc_tm_sub()
A Dbpf.h3237 bool bpf_prog_dev_bound_match(const struct bpf_prog *lhs, const struct bpf_prog *rhs);
3300 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/
A Dword-at-a-time.h18 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() argument
21 return ~(mask | rhs); in prep_zero_mask()
44 unsigned long rhs = val | c->low_bits; in has_zero() local
45 *data = rhs; in has_zero()
46 return (val + c->high_bits) & ~rhs; in has_zero()
/include/linux/ceph/
A Dmsgr.h91 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()
A Dosdmap.h34 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);

Completed in 26 milliseconds