Home
last modified time | relevance | path

Searched refs:lhs (Results 1 - 25 of 81) sorted by relevance

1234

/kernel/linux/linux-6.6/tools/perf/pmu-events/
H A Dmetric.py115 def __init__(self, operator: str, lhs: Union[int, float, Expression],
118 self.lhs = _Constify(lhs)
137 other (Expression): is a lhs or rhs operator
154 return (f'{self.Bracket(self.lhs, self.lhs.ToPerfJson())} {self.operator} '
158 return (f'{self.Bracket(self.lhs, self.lhs.ToPython())} {self.operator} '
162 lhs = self.lhs
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dtime64.h48 * lhs < rhs: return <0
49 * lhs == rhs: return 0
50 * lhs > rhs: return >0
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()
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 in timespec64_add()
75 timespec64_sub(struct timespec64 lhs, struct timespec64 rhs) timespec64_sub() argument
[all...]
H A Dktime.h46 /* Subtract two ktime_t variables. rem = lhs -rhs: */
47 #define ktime_sub(lhs, rhs) ((lhs) - (rhs))
49 /* Add two ktime_t variables. res = lhs + rhs: */
50 #define ktime_add(lhs, rhs) ((lhs) + (rhs))
56 #define ktime_add_unsafe(lhs, rhs) ((u64) (lhs) + (rhs))
199 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
/kernel/linux/linux-6.6/include/linux/
H A Dtime64.h53 * lhs < rhs: return <0
54 * lhs == rhs: return 0
55 * lhs > rhs: return >0
57 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
59 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
61 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
63 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
68 static inline struct timespec64 timespec64_add(struct timespec64 lhs, in timespec64_add() argument
72 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
73 lhs in timespec64_add()
80 timespec64_sub(struct timespec64 lhs, struct timespec64 rhs) timespec64_sub() argument
[all...]
H A Dktime.h46 /* Subtract two ktime_t variables. rem = lhs -rhs: */
47 #define ktime_sub(lhs, rhs) ((lhs) - (rhs))
49 /* Add two ktime_t variables. res = lhs + rhs: */
50 #define ktime_add(lhs, rhs) ((lhs) + (rhs))
56 #define ktime_add_unsafe(lhs, rhs) ((u64) (lhs) + (rhs))
199 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
H A Diosys-map.h205 * @lhs: The iosys_map structure
214 static inline bool iosys_map_is_equal(const struct iosys_map *lhs, in iosys_map_is_equal() argument
217 if (lhs->is_iomem != rhs->is_iomem) in iosys_map_is_equal()
219 else if (lhs->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()
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Devlist.c76 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs) in arch_evlist__cmp() argument
79 (arch_evsel__must_be_in_group(lhs) || arch_evsel__must_be_in_group(rhs))) { in arch_evlist__cmp()
81 if (strcasestr(lhs->name, "slots") && !strcasestr(lhs->name, "uops_retired.slots")) in arch_evlist__cmp()
86 if (strcasestr(lhs->name, "topdown") && !strcasestr(rhs->name, "topdown")) in arch_evlist__cmp()
88 if (!strcasestr(lhs->name, "topdown") && strcasestr(rhs->name, "topdown")) in arch_evlist__cmp()
93 return lhs->core.idx - rhs->core.idx; in arch_evlist__cmp()
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c177 #define assert_op(lhs, rhs, fmt, op) \
179 typeof(lhs) _lhs = (lhs); \
183 fatal_error("assertion " #lhs " " #op " " #rhs \
184 " failed (lhs=" fmt ", rhs=" fmt \
189 #define assert_eq(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, ==)
190 #define assert_ne(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, !=)
191 #define assert_lt(lhs, rh
[all...]
/kernel/linux/linux-5.10/lib/
H A Dubsan.c157 static void handle_overflow(struct overflow_data *data, void *lhs, in handle_overflow() argument
172 val_to_string(lhs_val_str, sizeof(lhs_val_str), type, lhs); in handle_overflow()
184 void *lhs, void *rhs) in __ubsan_handle_add_overflow()
187 handle_overflow(data, lhs, rhs, '+'); in __ubsan_handle_add_overflow()
192 void *lhs, void *rhs) in __ubsan_handle_sub_overflow()
194 handle_overflow(data, lhs, rhs, '-'); in __ubsan_handle_sub_overflow()
199 void *lhs, void *rhs) in __ubsan_handle_mul_overflow()
201 handle_overflow(data, lhs, rhs, '*'); in __ubsan_handle_mul_overflow()
225 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument
351 void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, voi argument
183 __ubsan_handle_add_overflow(void *data, void *lhs, void *rhs) __ubsan_handle_add_overflow() argument
191 __ubsan_handle_sub_overflow(void *data, void *lhs, void *rhs) __ubsan_handle_sub_overflow() argument
198 __ubsan_handle_mul_overflow(void *data, void *lhs, void *rhs) __ubsan_handle_mul_overflow() argument
[all...]
H A 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()
/kernel/linux/linux-6.6/lib/
H A 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()
H A Dubsan.h127 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs);
131 void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs);
H A Dubsan.c226 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument
352 void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs) in __ubsan_handle_shift_out_of_bounds() argument
367 val_to_string(lhs_str, sizeof(lhs_str), lhs_type, lhs); in __ubsan_handle_shift_out_of_bounds()
378 else if (val_is_negative(lhs_type, lhs)) in __ubsan_handle_shift_out_of_bounds()
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dmsgr.h69 static inline bool ceph_addr_equal_no_type(const struct ceph_entity_addr *lhs, in ceph_addr_equal_no_type() argument
72 return !memcmp(&lhs->in_addr, &rhs->in_addr, sizeof(lhs->in_addr)) && in ceph_addr_equal_no_type()
73 lhs->nonce == rhs->nonce; in ceph_addr_equal_no_type()
/kernel/linux/linux-5.10/drivers/md/
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-bio-prison-v2.c88 static int cmp_keys(struct dm_cell_key_v2 *lhs, in cmp_keys() argument
91 if (lhs->virtual < rhs->virtual) in cmp_keys()
94 if (lhs->virtual > rhs->virtual) in cmp_keys()
97 if (lhs->dev < rhs->dev) in cmp_keys()
100 if (lhs->dev > rhs->dev) in cmp_keys()
103 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
106 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
H A Ddm-bio-prison-v1.c96 static int cmp_keys(struct dm_cell_key *lhs, in cmp_keys() argument
99 if (lhs->virtual < rhs->virtual) in cmp_keys()
102 if (lhs->virtual > rhs->virtual) in cmp_keys()
105 if (lhs->dev < rhs->dev) in cmp_keys()
108 if (lhs->dev > rhs->dev) in cmp_keys()
111 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
114 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
H A Ddm-cache-background-tracker.c77 static int cmp_oblock(dm_oblock_t lhs, dm_oblock_t rhs) in cmp_oblock() argument
79 if (from_oblock(lhs) < from_oblock(rhs)) in cmp_oblock()
82 if (from_oblock(rhs) < from_oblock(lhs)) in cmp_oblock()
/kernel/linux/linux-6.6/include/linux/ceph/
H A Dmsgr.h90 static inline bool ceph_addr_equal_no_type(const struct ceph_entity_addr *lhs, 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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A 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()
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()
1758 assert(lhs); in set_csi_cfg()
1768 if (/*lhs in set_csi_cfg()
1714 set_source_type( input_system_source_t *const lhs, const input_system_source_t rhs, input_system_config_flags_t *const flags) set_source_type() argument
1750 set_csi_cfg( csi_cfg_t *const lhs, const csi_cfg_t *const rhs, input_system_config_flags_t *const flags) set_csi_cfg() argument
1817 input_system_multiplexer_cfg( input_system_multiplex_t *const lhs, const input_system_multiplex_t rhs, input_system_config_flags_t *const flags) input_system_multiplexer_cfg() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dinput_system.c69 csi_cfg_t *const lhs,
74 input_system_source_t *const lhs,
79 input_system_multiplex_t *const lhs,
1655 input_system_source_t *const lhs, in set_source_type()
1660 assert(lhs); in set_source_type()
1670 if ((*lhs) == (rhs)) { in set_source_type()
1683 *lhs = rhs; in set_source_type()
1691 csi_cfg_t *const lhs, in set_csi_cfg()
1698 assert(lhs); in set_csi_cfg()
1708 if (/*lhs in set_csi_cfg()
1654 set_source_type( input_system_source_t *const lhs, const input_system_source_t rhs, input_system_config_flags_t *const flags) set_source_type() argument
1690 set_csi_cfg( csi_cfg_t *const lhs, const csi_cfg_t *const rhs, input_system_config_flags_t *const flags) set_csi_cfg() argument
1757 input_system_multiplexer_cfg( input_system_multiplex_t *const lhs, const input_system_multiplex_t rhs, input_system_config_flags_t *const flags) input_system_multiplexer_cfg() argument
[all...]
/kernel/linux/linux-6.6/rust/alloc/vec/
H A Dpartial_eq.rs10 ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
12 impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_cpu.c106 timespec_sub(const struct timespec *lhs, const struct timespec *rhs) in timespec_sub() argument
114 if (lhs->tv_sec < rhs->tv_sec) in timespec_sub()
117 ret.tv_sec = lhs->tv_sec - rhs->tv_sec; in timespec_sub()
119 if (lhs->tv_nsec < rhs->tv_nsec) { in timespec_sub()
124 ret.tv_nsec = NSEC_PER_SEC - rhs->tv_nsec + lhs->tv_nsec; in timespec_sub()
126 ret.tv_nsec = lhs->tv_nsec - rhs->tv_nsec; in timespec_sub()

Completed in 17 milliseconds

1234