/Linux-v4.19/include/linux/ |
D | time64.h | 55 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument 57 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare() 59 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare() 61 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare() 67 struct timespec64 rhs) in timespec64_add() argument 70 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add() 71 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add() 79 struct timespec64 rhs) in timespec64_sub() argument 82 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub() 83 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub() [all …]
|
D | time32.h | 60 static inline int timespec_compare(const struct timespec *lhs, const struct timespec *rhs) in timespec_compare() argument 62 if (lhs->tv_sec < rhs->tv_sec) in timespec_compare() 64 if (lhs->tv_sec > rhs->tv_sec) in timespec_compare() 66 return lhs->tv_nsec - rhs->tv_nsec; in timespec_compare() 72 struct timespec rhs) in timespec_add() argument 76 set_normalized_timespec(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec_add() 77 lhs.tv_nsec + rhs.tv_nsec); in timespec_add() 85 struct timespec rhs) in timespec_sub() argument 89 set_normalized_timespec(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec_sub() 90 lhs.tv_nsec - rhs.tv_nsec); in timespec_sub()
|
D | percpu_counter.h | 46 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch); 48 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument 50 return __percpu_counter_compare(fbc, rhs, percpu_counter_batch); in percpu_counter_compare() 116 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument 118 if (fbc->count > rhs) in percpu_counter_compare() 120 else if (fbc->count < rhs) in percpu_counter_compare() 127 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare() argument 129 return percpu_counter_compare(fbc, rhs); in __percpu_counter_compare()
|
D | ktime.h | 46 #define ktime_sub(lhs, rhs) ((lhs) - (rhs)) argument 49 #define ktime_add(lhs, rhs) ((lhs) + (rhs)) argument 55 #define ktime_add_unsafe(lhs, rhs) ((u64) (lhs) + (rhs)) argument 216 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
|
D | compat.h | 461 struct compat_timeval *rhs) in compat_timeval_compare() argument 463 if (lhs->tv_sec < rhs->tv_sec) in compat_timeval_compare() 465 if (lhs->tv_sec > rhs->tv_sec) in compat_timeval_compare() 467 return lhs->tv_usec - rhs->tv_usec; in compat_timeval_compare() 471 struct compat_timespec *rhs) in compat_timespec_compare() argument 473 if (lhs->tv_sec < rhs->tv_sec) in compat_timespec_compare() 475 if (lhs->tv_sec > rhs->tv_sec) in compat_timespec_compare() 477 return lhs->tv_nsec - rhs->tv_nsec; in compat_timespec_compare()
|
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()
|
/Linux-v4.19/lib/ |
D | ubsan.c | 167 unsigned long rhs, char op) in handle_overflow() argument 181 val_to_string(rhs_val_str, sizeof(rhs_val_str), type, rhs); in handle_overflow() 195 unsigned long rhs) in __ubsan_handle_add_overflow() argument 198 handle_overflow(data, lhs, rhs, '+'); in __ubsan_handle_add_overflow() 204 unsigned long rhs) in __ubsan_handle_sub_overflow() argument 206 handle_overflow(data, lhs, rhs, '-'); in __ubsan_handle_sub_overflow() 212 unsigned long rhs) in __ubsan_handle_mul_overflow() argument 214 handle_overflow(data, lhs, rhs, '*'); in __ubsan_handle_mul_overflow() 241 unsigned long rhs) in __ubsan_handle_divrem_overflow() argument 251 val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs); in __ubsan_handle_divrem_overflow() [all …]
|
D | percpu_counter.c | 202 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare() argument 208 if (abs(count - rhs) > (batch * num_online_cpus())) { in __percpu_counter_compare() 209 if (count > rhs) in __percpu_counter_compare() 216 if (count > rhs) in __percpu_counter_compare() 218 else if (count < rhs) in __percpu_counter_compare()
|
/Linux-v4.19/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()
|
/Linux-v4.19/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()
|
/Linux-v4.19/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()
|
/Linux-v4.19/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 …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/fs/hpfs/ |
D | super.c | 405 char *rhs = args[0].from; in parse_opts() local 406 if (!rhs || !*rhs) in parse_opts() 408 if (*rhs == '-') m = -1; in parse_opts() 409 if (*rhs == '+' || *rhs == '-') rhs++; in parse_opts() 410 *timeshift = simple_strtoul(rhs, &rhs, 0) * m; in parse_opts() 411 if (*rhs) in parse_opts()
|
/Linux-v4.19/scripts/gcc-plugins/ |
D | latent_entropy_plugin.c | 307 static enum tree_code get_op(tree *rhs) in get_op() argument 320 if (rhs) { in get_op() 335 if (rhs) in get_op() 336 *rhs = build_int_cstu(long_unsigned_type_node, random_const); in get_op() 350 tree rhs; in perturb_local_entropy() local 353 op = get_op(&rhs); in perturb_local_entropy() 354 assign = create_assign(op, local_entropy, local_entropy, rhs); in perturb_local_entropy()
|
D | randomize_layout_plugin.c | 45 const char *rhs; member 678 static bool dominated_by_is_err(const_tree rhs, basic_block bb) in dominated_by_is_err() argument 728 if (is_err_arg != rhs) in dominated_by_is_err() 796 if (type_name_eq(stmt, lhs_tree, entry->lhs) && type_name_eq(stmt, rhs_tree, entry->rhs)) in whitelisted_cast()
|
/Linux-v4.19/drivers/bluetooth/ |
D | hci_mrvl.c | 59 __le16 rhs; member 158 if ((pkt->lhs ^ pkt->rhs) != 0xffff) { in mrvl_recv_fw_req() 191 if ((pkt->lhs ^ pkt->rhs) != 0xffff) { in mrvl_recv_chip_ver()
|
/Linux-v4.19/net/ceph/ |
D | osdmap.c | 581 int ceph_pg_compare(const struct ceph_pg *lhs, const struct ceph_pg *rhs) in ceph_pg_compare() argument 583 if (lhs->pool < rhs->pool) in ceph_pg_compare() 585 if (lhs->pool > rhs->pool) in ceph_pg_compare() 587 if (lhs->seed < rhs->seed) in ceph_pg_compare() 589 if (lhs->seed > rhs->seed) in ceph_pg_compare() 595 int ceph_spg_compare(const struct ceph_spg *lhs, const struct ceph_spg *rhs) in ceph_spg_compare() argument 599 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare() 603 if (lhs->shard < rhs->shard) in ceph_spg_compare() 605 if (lhs->shard > rhs->shard) in ceph_spg_compare() 1992 const struct ceph_osds *rhs) in __osds_equal() argument [all …]
|
/Linux-v4.19/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 295 u64 lhs, rhs; in fec_ptp_adjfreq() local 313 rhs = (u64)ppb * (u64)fep->ptp_inc; in fec_ptp_adjfreq() 315 if (lhs >= rhs) { in fec_ptp_adjfreq() 317 corr_period = div_u64(lhs, rhs); in fec_ptp_adjfreq()
|
/Linux-v4.19/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);
|
/Linux-v4.19/kernel/time/ |
D | time.c | 838 const struct timespec64 rhs) in timespec64_add_safe() argument 842 set_normalized_timespec64(&res, (timeu64_t) lhs.tv_sec + rhs.tv_sec, in timespec64_add_safe() 843 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add_safe() 845 if (unlikely(res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec)) { in timespec64_add_safe()
|
/Linux-v4.19/fs/ocfs2/ |
D | reservations.c | 772 unsigned int rhs = 0; in ocfs2_adjust_resv_from_alloc() local 785 rhs = old_end - end; in ocfs2_adjust_resv_from_alloc() 790 BUG_ON(rhs == 0); in ocfs2_adjust_resv_from_alloc()
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | pgtable.h | 278 pteval_t lhs, rhs; in pte_same() local 281 rhs = pte_val(pte_b); in pte_same() 287 rhs &= ~PTE_RDONLY; in pte_same() 289 return (lhs == rhs); in pte_same()
|