| /Linux-v5.4/include/linux/ |
| D | time64.h | 60 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument 62 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare() 64 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare() 66 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare() 71 static inline struct timespec64 timespec64_add(struct timespec64 lhs, in timespec64_add() argument 75 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add() 76 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add() 83 static inline struct timespec64 timespec64_sub(struct timespec64 lhs, in timespec64_sub() argument 87 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub() 88 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub() [all …]
|
| 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 | time32.h | 120 static inline int timespec_compare(const struct timespec *lhs, const struct timespec *rhs) in timespec_compare() argument 122 if (lhs->tv_sec < rhs->tv_sec) in timespec_compare() 124 if (lhs->tv_sec > rhs->tv_sec) in timespec_compare() 126 return lhs->tv_nsec - rhs->tv_nsec; in timespec_compare()
|
| D | compat.h | 428 static inline int old_timeval32_compare(struct old_timeval32 *lhs, in old_timeval32_compare() argument 431 if (lhs->tv_sec < rhs->tv_sec) in old_timeval32_compare() 433 if (lhs->tv_sec > rhs->tv_sec) in old_timeval32_compare() 435 return lhs->tv_usec - rhs->tv_usec; in old_timeval32_compare() 438 static inline int old_timespec32_compare(struct old_timespec32 *lhs, in old_timespec32_compare() argument 441 if (lhs->tv_sec < rhs->tv_sec) in old_timespec32_compare() 443 if (lhs->tv_sec > rhs->tv_sec) in old_timespec32_compare() 445 return lhs->tv_nsec - rhs->tv_nsec; in old_timespec32_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-v5.4/lib/ |
| D | ubsan.c | 165 static void handle_overflow(struct overflow_data *data, void *lhs, in handle_overflow() argument 179 val_to_string(lhs_val_str, sizeof(lhs_val_str), type, lhs); 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() 236 void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument 370 void *lhs, void *rhs) in __ubsan_handle_shift_out_of_bounds() argument [all …]
|
| /Linux-v5.4/drivers/md/ |
| D | dm-bio-prison-v2.c | 87 static int cmp_keys(struct dm_cell_key_v2 *lhs, 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 | 85 static int cmp_keys(struct dm_cell_key *lhs, 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-v5.4/drivers/bluetooth/ |
| D | hci_mrvl.c | 50 __le16 lhs; member 168 if ((pkt->lhs ^ pkt->rhs) != 0xffff) { in mrvl_recv_fw_req() 182 mrvl->tx_len = le16_to_cpu(pkt->lhs); in mrvl_recv_fw_req() 198 u16 version = le16_to_cpu(pkt->lhs); in mrvl_recv_chip_ver() 201 if ((pkt->lhs ^ pkt->rhs) != 0xffff) { in mrvl_recv_chip_ver()
|
| /Linux-v5.4/drivers/net/ethernet/freescale/ |
| D | fec_ptp.c | 295 u64 lhs, rhs; in fec_ptp_adjfreq() local 312 lhs = NSEC_PER_SEC; in fec_ptp_adjfreq() 315 if (lhs >= rhs) { in fec_ptp_adjfreq() 317 corr_period = div_u64(lhs, rhs); in fec_ptp_adjfreq() 320 lhs += NSEC_PER_SEC; in fec_ptp_adjfreq()
|
| /Linux-v5.4/net/ceph/ |
| D | osdmap.c | 580 int ceph_pg_compare(const struct ceph_pg *lhs, const struct ceph_pg *rhs) in ceph_pg_compare() argument 582 if (lhs->pool < rhs->pool) in ceph_pg_compare() 584 if (lhs->pool > rhs->pool) in ceph_pg_compare() 586 if (lhs->seed < rhs->seed) in ceph_pg_compare() 588 if (lhs->seed > rhs->seed) in ceph_pg_compare() 594 int ceph_spg_compare(const struct ceph_spg *lhs, const struct ceph_spg *rhs) in ceph_spg_compare() argument 598 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare() 602 if (lhs->shard < rhs->shard) in ceph_spg_compare() 604 if (lhs->shard > rhs->shard) in ceph_spg_compare() 2012 static bool __osds_equal(const struct ceph_osds *lhs, in __osds_equal() argument [all …]
|
| D | osd_client.c | 1676 static int hoid_compare(const struct ceph_hobject_id *lhs, in hoid_compare() argument 1683 if (lhs->is_max < rhs->is_max) in hoid_compare() 1685 if (lhs->is_max > rhs->is_max) in hoid_compare() 1688 if (lhs->pool < rhs->pool) in hoid_compare() 1690 if (lhs->pool > rhs->pool) in hoid_compare() 1693 if (hoid_get_bitwise_key(lhs) < hoid_get_bitwise_key(rhs)) in hoid_compare() 1695 if (hoid_get_bitwise_key(lhs) > hoid_get_bitwise_key(rhs)) in hoid_compare() 1698 ret = compare_names(lhs->nspace, lhs->nspace_len, in hoid_compare() 1703 hoid_get_effective_key(lhs, &effective_key1, &effective_key1_len); in hoid_compare() 1710 ret = compare_names(lhs->oid, lhs->oid_len, rhs->oid, rhs->oid_len); in hoid_compare() [all …]
|
| /Linux-v5.4/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-v5.4/scripts/gcc-plugins/ |
| D | gcc-common.h | 382 tree lhs = gimple_get_lhs(gs); in gimple_store_p() local 384 return lhs && !is_gimple_reg(lhs); in gimple_store_p() 845 static inline gimple gimple_build_assign_with_ops(enum tree_code subcode, tree lhs, tree op1, tree … in gimple_build_assign_with_ops() argument 847 return gimple_build_assign(lhs, subcode, op1, op2 PASS_MEM_STAT); in gimple_build_assign_with_ops()
|
| D | randomize_layout_plugin.c | 44 const char *lhs; member 796 if (type_name_eq(stmt, lhs_tree, entry->lhs) && type_name_eq(stmt, rhs_tree, entry->rhs)) in whitelisted_cast() 820 const_tree lhs; in find_bad_casts_execute() local 854 lhs = gimple_get_lhs(stmt); in find_bad_casts_execute() 855 lhs_type = TREE_TYPE(lhs); in find_bad_casts_execute()
|
| D | latent_entropy_plugin.c | 340 static gimple create_assign(enum tree_code code, tree lhs, tree op1, in create_assign() argument 343 return gimple_build_assign_with_ops(code, lhs, op1, op2); in create_assign()
|
| /Linux-v5.4/kernel/time/ |
| D | time.c | 855 struct timespec64 timespec64_add_safe(const struct timespec64 lhs, in timespec64_add_safe() argument 860 set_normalized_timespec64(&res, (timeu64_t) lhs.tv_sec + rhs.tv_sec, in timespec64_add_safe() 861 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add_safe() 863 if (unlikely(res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec)) { in timespec64_add_safe()
|
| D | hrtimer.c | 323 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe() argument 325 ktime_t res = ktime_add_unsafe(lhs, rhs); in ktime_add_safe() 331 if (res < 0 || res < lhs || res < rhs) in ktime_add_safe()
|
| /Linux-v5.4/drivers/media/platform/am437x/ |
| D | am437x-vpfe.c | 271 cmp_v4l2_format(const struct v4l2_format *lhs, const struct v4l2_format *rhs) in cmp_v4l2_format() argument 273 return lhs->type == rhs->type && in cmp_v4l2_format() 274 lhs->fmt.pix.width == rhs->fmt.pix.width && in cmp_v4l2_format() 275 lhs->fmt.pix.height == rhs->fmt.pix.height && in cmp_v4l2_format() 276 lhs->fmt.pix.pixelformat == rhs->fmt.pix.pixelformat && in cmp_v4l2_format() 277 lhs->fmt.pix.field == rhs->fmt.pix.field && in cmp_v4l2_format() 278 lhs->fmt.pix.colorspace == rhs->fmt.pix.colorspace && in cmp_v4l2_format() 279 lhs->fmt.pix.ycbcr_enc == rhs->fmt.pix.ycbcr_enc && in cmp_v4l2_format() 280 lhs->fmt.pix.quantization == rhs->fmt.pix.quantization && in cmp_v4l2_format() 281 lhs->fmt.pix.xfer_func == rhs->fmt.pix.xfer_func; in cmp_v4l2_format()
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | tegra20-trimslice.dts | 142 "lhs", "lm0", "lm1", "lpp", "lpw0", 255 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|
| D | tegra20-tamonten.dtsi | 134 "lhs", "lm0", "lm1", "lpp", "lpw0", 240 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|
| D | tegra20-paz00.dts | 140 "lhs", "lm0", "lm1", "lpp", "lpw0", 240 "ldc", "ldi", "lhs", "lsc0", "lspi",
|
| D | tegra20-ventana.dts | 155 "lhp1", "lhp2", "lhs", "lpp", "lpw0", 262 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|
| D | tegra20-harmony.dts | 152 "lhs", "lm0", "lm1", "lpp", "lpw0", 258 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|