Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v5.10/include/linux/
Dtime64.h52 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()
63 static inline struct timespec64 timespec64_add(struct timespec64 lhs, 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()
75 static inline struct timespec64 timespec64_sub(struct timespec64 lhs, 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 …]
Dktime.h47 #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);
Dmin_heap.h29 bool (*less)(const void *lhs, const void *rhs);
30 void (*swp)(void *lhs, void *rhs);
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()
/Linux-v5.10/lib/
Dubsan.c166 static void handle_overflow(struct overflow_data *data, void *lhs, in handle_overflow() argument
181 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()
234 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument
360 void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs) in __ubsan_handle_shift_out_of_bounds() argument
[all …]
Dtest_min_heap.c14 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
26 int temp = *(int *)lhs; in swap_ints()
28 *(int *)lhs = *(int *)rhs; in swap_ints()
/Linux-v5.10/drivers/md/
Ddm-bio-prison-v2.c87 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()
Ddm-bio-prison-v1.c85 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()
Ddm-cache-background-tracker.c68 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.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dinput_system.c69 csi_cfg_t *const lhs,
74 input_system_source_t *const lhs,
79 input_system_multiplex_t *const lhs,
1715 input_system_source_t *const lhs, in set_source_type() argument
1720 assert(lhs); in set_source_type()
1730 if ((*lhs) == (rhs)) { in set_source_type()
1743 *lhs = rhs; in set_source_type()
1751 csi_cfg_t *const lhs, in set_csi_cfg() argument
1758 assert(lhs); in set_csi_cfg()
1769 &&*/ lhs->buffering_mode == rhs->buffering_mode in set_csi_cfg()
[all …]
/Linux-v5.10/drivers/bluetooth/
Dhci_mrvl.c50 __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.10/drivers/net/ethernet/freescale/
Dfec_ptp.c290 u64 lhs, rhs; in fec_ptp_adjfreq() local
307 lhs = NSEC_PER_SEC; in fec_ptp_adjfreq()
310 if (lhs >= rhs) { in fec_ptp_adjfreq()
312 corr_period = div_u64(lhs, rhs); in fec_ptp_adjfreq()
315 lhs += NSEC_PER_SEC; in fec_ptp_adjfreq()
/Linux-v5.10/kernel/kcsan/
Ddebugfs.c90 static int cmp_filterlist_addrs(const void *rhs, const void *lhs) in cmp_filterlist_addrs() argument
93 const unsigned long b = *(const unsigned long *)lhs; in cmp_filterlist_addrs()
/Linux-v5.10/scripts/gcc-plugins/
Dgcc-common.h384 tree lhs = gimple_get_lhs(gs); in gimple_store_p() local
386 return lhs && !is_gimple_reg(lhs); in gimple_store_p()
847 static inline gimple gimple_build_assign_with_ops(enum tree_code subcode, tree lhs, tree op1, tree … in gimple_build_assign_with_ops() argument
849 return gimple_build_assign(lhs, subcode, op1, op2 PASS_MEM_STAT); in gimple_build_assign_with_ops()
Drandomize_layout_plugin.c44 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()
Dlatent_entropy_plugin.c340 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.10/kernel/trace/
Dtrace_dynevent.c302 ret = seq_buf_printf(&cmd->seq, " %s%c%s%c", arg_pair->lhs, in dynevent_arg_pair_add()
306 pr_err("field string is too long: %s%c%s%c\n", arg_pair->lhs, in dynevent_arg_pair_add()
Dtrace_dynevent.h138 const char *lhs; member
/Linux-v5.10/kernel/time/
Dtime.c765 struct timespec64 timespec64_add_safe(const struct timespec64 lhs, 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()
/Linux-v5.10/include/linux/ceph/
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);
/Linux-v5.10/net/ceph/
Dosdmap.c661 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()
2200 static bool __osds_equal(const struct ceph_osds *lhs, in __osds_equal() argument
[all …]
Dosd_client.c1736 static int hoid_compare(const struct ceph_hobject_id *lhs, in hoid_compare() argument
1743 if (lhs->is_max < rhs->is_max) in hoid_compare()
1745 if (lhs->is_max > rhs->is_max) in hoid_compare()
1748 if (lhs->pool < rhs->pool) in hoid_compare()
1750 if (lhs->pool > rhs->pool) in hoid_compare()
1753 if (hoid_get_bitwise_key(lhs) < hoid_get_bitwise_key(rhs)) in hoid_compare()
1755 if (hoid_get_bitwise_key(lhs) > hoid_get_bitwise_key(rhs)) in hoid_compare()
1758 ret = compare_names(lhs->nspace, lhs->nspace_len, in hoid_compare()
1763 hoid_get_effective_key(lhs, &effective_key1, &effective_key1_len); in hoid_compare()
1770 ret = compare_names(lhs->oid, lhs->oid_len, rhs->oid, rhs->oid_len); in hoid_compare()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dtegra20-trimslice.dts143 "lhs", "lm0", "lm1", "lpp", "lpw0",
256 "lhp1", "lhp2", "lhs", "lm0", "lpp",
Dtegra20-tamonten.dtsi134 "lhs", "lm0", "lm1", "lpp", "lpw0",
240 "lhp1", "lhp2", "lhs", "lm0", "lpp",
Dtegra20-ventana.dts155 "lhp1", "lhp2", "lhs", "lpp", "lpw0",
262 "lhp1", "lhp2", "lhs", "lm0", "lpp",

12