/kernel/linux/linux-5.10/include/linux/ |
D | time64.h | 52 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument 54 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare() 56 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare() 58 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare() 64 struct timespec64 rhs) in timespec64_add() argument 67 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add() 68 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add() 76 struct timespec64 rhs) in timespec64_sub() argument 79 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub() 80 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub() [all …]
|
D | percpu_counter.h | 46 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch); 49 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument 51 return __percpu_counter_compare(fbc, rhs, percpu_counter_batch); in percpu_counter_compare() 117 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument 119 if (fbc->count > rhs) in percpu_counter_compare() 121 else if (fbc->count < rhs) in percpu_counter_compare() 128 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare() argument 130 return percpu_counter_compare(fbc, rhs); in __percpu_counter_compare()
|
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 | min_heap.h | 29 bool (*less)(const void *lhs, const void *rhs); 30 void (*swp)(void *lhs, void *rhs);
|
D | rtc.h | 32 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()
|
/kernel/linux/linux-5.10/lib/ |
D | ubsan.c | 167 void *rhs, char op) in handle_overflow() argument 182 val_to_string(rhs_val_str, sizeof(rhs_val_str), type, rhs); in handle_overflow() 193 void *lhs, void *rhs) in __ubsan_handle_add_overflow() argument 196 handle_overflow(data, lhs, rhs, '+'); in __ubsan_handle_add_overflow() 201 void *lhs, void *rhs) in __ubsan_handle_sub_overflow() argument 203 handle_overflow(data, lhs, rhs, '-'); in __ubsan_handle_sub_overflow() 208 void *lhs, void *rhs) in __ubsan_handle_mul_overflow() argument 210 handle_overflow(data, lhs, rhs, '*'); in __ubsan_handle_mul_overflow() 234 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument 244 val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs); in __ubsan_handle_divrem_overflow() [all …]
|
D | test_min_heap.c | 14 static __init bool less_than(const void *lhs, const void *rhs) in less_than() argument 16 return *(int *)lhs < *(int *)rhs; in less_than() 19 static __init bool greater_than(const void *lhs, const void *rhs) in greater_than() argument 21 return *(int *)lhs > *(int *)rhs; in greater_than() 24 static __init void swap_ints(void *lhs, void *rhs) in swap_ints() argument 28 *(int *)lhs = *(int *)rhs; in swap_ints() 29 *(int *)rhs = temp; in swap_ints()
|
D | percpu_counter.c | 221 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare() argument 227 if (abs(count - rhs) > (batch * num_online_cpus())) { in __percpu_counter_compare() 228 if (count > rhs) in __percpu_counter_compare() 235 if (count > rhs) in __percpu_counter_compare() 237 else if (count < rhs) in __percpu_counter_compare()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/primitives/ |
D | word-at-a-time.h | 21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() argument 24 return ~(mask | rhs); in prep_zero_mask() 39 unsigned long rhs = val | c->low_bits; in has_zero() local 40 *data = rhs; in has_zero() 41 return (val + c->high_bits) & ~rhs; in has_zero()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | word-at-a-time.h | 21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() argument 24 return ~(mask | rhs); in prep_zero_mask() 39 unsigned long rhs = val | c->low_bits; in has_zero() local 40 *data = rhs; in has_zero() 41 return (val + c->high_bits) & ~rhs; in has_zero()
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
D | compaction-times.py | 61 def __add__(self, rhs): argument 62 self.aval += rhs.aval 63 self.bval += rhs.bval 76 def __add__(self, rhs): argument 77 self.ns += rhs.ns 78 self.migrated += rhs.migrated 79 self.fscan += rhs.fscan 80 self.mscan += rhs.mscan 167 def __add__(self, rhs): argument 168 self.ns += rhs.ns [all …]
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-bio-prison-v2.c | 88 struct dm_cell_key_v2 *rhs) in cmp_keys() argument 90 if (lhs->virtual < rhs->virtual) in cmp_keys() 93 if (lhs->virtual > rhs->virtual) in cmp_keys() 96 if (lhs->dev < rhs->dev) in cmp_keys() 99 if (lhs->dev > rhs->dev) in cmp_keys() 102 if (lhs->block_end <= rhs->block_begin) in cmp_keys() 105 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
|
D | dm-bio-prison-v1.c | 86 struct dm_cell_key *rhs) in cmp_keys() argument 88 if (lhs->virtual < rhs->virtual) in cmp_keys() 91 if (lhs->virtual > rhs->virtual) in cmp_keys() 94 if (lhs->dev < rhs->dev) in cmp_keys() 97 if (lhs->dev > rhs->dev) in cmp_keys() 100 if (lhs->block_end <= rhs->block_begin) in cmp_keys() 103 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
|
D | dm-cache-background-tracker.c | 68 static int cmp_oblock(dm_oblock_t lhs, dm_oblock_t rhs) in cmp_oblock() argument 70 if (from_oblock(lhs) < from_oblock(rhs)) in cmp_oblock() 73 if (from_oblock(rhs) < from_oblock(lhs)) in cmp_oblock()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | input_system.c | 70 const csi_cfg_t *const rhs, 75 const input_system_source_t rhs, 80 const input_system_multiplex_t rhs, 1716 const input_system_source_t rhs, in set_source_type() argument 1730 if ((*lhs) == (rhs)) { in set_source_type() 1738 if (rhs >= N_INPUT_SYSTEM_SOURCE) { in set_source_type() 1743 *lhs = rhs; in set_source_type() 1752 const csi_cfg_t *const rhs, in set_csi_cfg() argument 1769 &&*/ lhs->buffering_mode == rhs->buffering_mode in set_csi_cfg() 1770 && lhs->csi_buffer.mem_reg_size == rhs->csi_buffer.mem_reg_size in set_csi_cfg() [all …]
|
/kernel/linux/linux-5.10/fs/hpfs/ |
D | super.c | 399 char *rhs = args[0].from; in parse_opts() local 400 if (!rhs || !*rhs) in parse_opts() 402 if (*rhs == '-') m = -1; in parse_opts() 403 if (*rhs == '+' || *rhs == '-') rhs++; in parse_opts() 404 *timeshift = simple_strtoul(rhs, &rhs, 0) * m; in parse_opts() 405 if (*rhs) in parse_opts()
|
/kernel/linux/linux-5.10/scripts/gcc-plugins/ |
D | latent_entropy_plugin.c | 313 static enum tree_code get_op(tree *rhs) in get_op() argument 326 if (rhs) { in get_op() 341 if (rhs) in get_op() 342 *rhs = build_int_cstu(long_unsigned_type_node, random_const); in get_op() 356 tree rhs; in perturb_local_entropy() local 359 op = get_op(&rhs); in perturb_local_entropy() 360 assign = create_assign(op, local_entropy, local_entropy, rhs); in perturb_local_entropy()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 284 u64 lhs, rhs; in fec_ptp_adjfreq() local 302 rhs = (u64)ppb * (u64)fep->ptp_inc; in fec_ptp_adjfreq() 304 if (lhs >= rhs) { in fec_ptp_adjfreq() 306 corr_period = div_u64(lhs, rhs); in fec_ptp_adjfreq()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | hci_mrvl.c | 51 __le16 rhs; member 168 if ((pkt->lhs ^ pkt->rhs) != 0xffff) { in mrvl_recv_fw_req() 201 if ((pkt->lhs ^ pkt->rhs) != 0xffff) { in mrvl_recv_chip_ver()
|
/kernel/linux/linux-5.10/kernel/kcsan/ |
D | debugfs.c | 90 static int cmp_filterlist_addrs(const void *rhs, const void *lhs) in cmp_filterlist_addrs() argument 92 const unsigned long a = *(const unsigned long *)rhs; in cmp_filterlist_addrs()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace_dynevent.c | 305 arg_pair->operator, arg_pair->rhs, in dynevent_arg_pair_add() 309 arg_pair->operator, arg_pair->rhs, in dynevent_arg_pair_add()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | time.c | 766 const struct timespec64 rhs) in timespec64_add_safe() argument 770 set_normalized_timespec64(&res, (timeu64_t) lhs.tv_sec + rhs.tv_sec, in timespec64_add_safe() 771 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add_safe() 773 if (unlikely(res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec)) { in timespec64_add_safe()
|
/kernel/linux/linux-5.10/net/ceph/ |
D | osdmap.c | 661 int ceph_pg_compare(const struct ceph_pg *lhs, const struct ceph_pg *rhs) in ceph_pg_compare() argument 663 if (lhs->pool < rhs->pool) in ceph_pg_compare() 665 if (lhs->pool > rhs->pool) in ceph_pg_compare() 667 if (lhs->seed < rhs->seed) in ceph_pg_compare() 669 if (lhs->seed > rhs->seed) in ceph_pg_compare() 675 int ceph_spg_compare(const struct ceph_spg *lhs, const struct ceph_spg *rhs) in ceph_spg_compare() argument 679 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare() 683 if (lhs->shard < rhs->shard) in ceph_spg_compare() 685 if (lhs->shard > rhs->shard) in ceph_spg_compare() 2201 const struct ceph_osds *rhs) in __osds_equal() argument [all …]
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
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);
|