Searched refs:lhs (Results 1 - 25 of 52) sorted by path

123

/linux-master/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...]
/linux-master/arch/openrisc/kernel/
H A Dentry.S437 l.bf lhs
453 lhs: l.lbs r5,0(r2) label
/linux-master/arch/riscv/kernel/tests/module_test/
H A Dtest_module_linking_main.c29 #define CHECK_EQ(lhs, rhs) KUNIT_ASSERT_EQ(test, lhs, rhs)
/linux-master/drivers/block/
H A Drbd.c3620 static bool rbd_cid_equal(const struct rbd_client_id *lhs, argument
3623 return lhs->gid == rhs->gid && lhs->handle == rhs->handle;
3861 static bool locker_equal(const struct ceph_locker *lhs, argument
3864 return lhs->id.name.type == rhs->id.name.type &&
3865 lhs->id.name.num == rhs->id.name.num &&
3866 !strcmp(lhs->id.cookie, rhs->id.cookie) &&
3867 ceph_addr_equal_no_type(&lhs->info.addr, &rhs->info.addr);
/linux-master/drivers/bluetooth/
H A Dhci_mrvl.c52 __le16 lhs; member in struct:hci_mrvl_pkt
170 if ((pkt->lhs ^ pkt->rhs) != 0xffff) {
184 mrvl->tx_len = le16_to_cpu(pkt->lhs);
200 u16 version = le16_to_cpu(pkt->lhs);
203 if ((pkt->lhs ^ pkt->rhs) != 0xffff) {
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_enc_cfg.c224 static bool are_ep_ids_equal(struct display_endpoint_id *lhs, struct display_endpoint_id *rhs) argument
228 if (lhs->link_id.id == rhs->link_id.id &&
229 lhs->link_id.enum_id == rhs->link_id.enum_id &&
230 lhs->link_id.type == rhs->link_id.type &&
231 lhs->ep_type == rhs->ep_type)
/linux-master/drivers/iommu/intel/
H A Diommu.c114 static int device_rid_cmp(struct rb_node *lhs, const struct rb_node *rhs) argument
117 rb_entry(lhs, struct device_domain_info, node);
/linux-master/drivers/iommu/iommufd/
H A Dio_pagetable.c1176 struct iopt_area *lhs; local
1192 lhs = iopt_area_alloc();
1193 if (!lhs)
1222 rc = iopt_insert_area(iopt, lhs, area->pages, start_iova,
1241 interval_tree_insert(&lhs->pages_node, &pages->domains_itree);
1245 lhs->storage_domain = area->storage_domain;
1246 lhs->pages = area->pages;
1260 interval_tree_remove(&lhs->node, &iopt->area_itree);
1267 kfree(lhs);
/linux-master/drivers/md/
H A Ddm-bio-prison-v1.c96 static int cmp_keys(struct dm_cell_key *lhs, argument
99 if (lhs->virtual < rhs->virtual)
102 if (lhs->virtual > rhs->virtual)
105 if (lhs->dev < rhs->dev)
108 if (lhs->dev > rhs->dev)
111 if (lhs->block_end <= rhs->block_begin)
114 if (lhs->block_begin >= rhs->block_end)
H A Ddm-bio-prison-v2.c88 static int cmp_keys(struct dm_cell_key_v2 *lhs, argument
91 if (lhs->virtual < rhs->virtual)
94 if (lhs->virtual > rhs->virtual)
97 if (lhs->dev < rhs->dev)
100 if (lhs->dev > rhs->dev)
103 if (lhs->block_end <= rhs->block_begin)
106 if (lhs->block_begin >= rhs->block_end)
H A Ddm-cache-background-tracker.c77 static int cmp_oblock(dm_oblock_t lhs, dm_oblock_t rhs) argument
79 if (from_oblock(lhs) < from_oblock(rhs))
82 if (from_oblock(rhs) < from_oblock(lhs))
H A Ddm-snap.c190 static int bdev_equal(struct block_device *lhs, struct block_device *rhs) argument
196 return lhs == rhs;
H A Ddm-thin.c2246 static int cmp_cells(const void *lhs, const void *rhs) argument
2248 struct dm_bio_prison_cell *lhs_cell = *((struct dm_bio_prison_cell **) lhs);
/linux-master/drivers/net/ethernet/3com/
H A D3c59x.c507 #define BFINS(lhs, rhs, offset, bitcount) \
508 (((lhs) & ~((((1 << (bitcount)) - 1)) << (offset))) | \
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_ptp.c360 u64 lhs, rhs; local
377 lhs = NSEC_PER_SEC;
380 if (lhs >= rhs) {
382 corr_period = div_u64(lhs, rhs);
385 lhs += NSEC_PER_SEC;
/linux-master/drivers/pinctrl/tegra/
H A Dpinctrl-tegra20.c2108 MUX_PG(lhs, DISPLAYA, DISPLAYB, XIO, RSVD4, 0x20, 7, 0x90, 22, -1, -1),
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dinput_system.c68 csi_cfg_t *const lhs,
73 input_system_source_t *const lhs,
78 input_system_multiplex_t *const lhs,
1210 input_system_source_t *const lhs,
1215 assert(lhs);
1225 if ((*lhs) == (rhs)) {
1238 *lhs = rhs;
1246 csi_cfg_t *const lhs,
1253 assert(lhs);
1263 if (/*lhs
1209 set_source_type( input_system_source_t *const lhs, const input_system_source_t rhs, input_system_config_flags_t *const flags) argument
1245 set_csi_cfg( csi_cfg_t *const lhs, const csi_cfg_t *const rhs, input_system_config_flags_t *const flags) argument
1312 input_system_multiplexer_cfg( input_system_multiplex_t *const lhs, const input_system_multiplex_t rhs, input_system_config_flags_t *const flags) argument
[all...]
/linux-master/include/linux/
H A Dbpf.h2989 bool bpf_prog_dev_bound_match(const struct bpf_prog *lhs, const struct bpf_prog *rhs);
3051 static inline bool bpf_prog_dev_bound_match(const struct bpf_prog *lhs, const struct bpf_prog *rhs) argument
H A Diosys-map.h205 * @lhs: The iosys_map structure
214 static inline bool iosys_map_is_equal(const struct iosys_map *lhs, argument
217 if (lhs->is_iomem != rhs->is_iomem)
219 else if (lhs->is_iomem)
220 return lhs->vaddr_iomem == rhs->vaddr_iomem;
222 return lhs->vaddr == rhs->vaddr;
H A Dktime.h44 /* Subtract two ktime_t variables. rem = lhs -rhs: */
45 #define ktime_sub(lhs, rhs) ((lhs) - (rhs))
47 /* Add two ktime_t variables. res = lhs + rhs: */
48 #define ktime_add(lhs, rhs) ((lhs) + (rhs))
54 #define ktime_add_unsafe(lhs, rhs) ((u64) (lhs) + (rhs))
197 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
H A Dmin_heap.h29 bool (*less)(const void *lhs, const void *rhs);
30 void (*swp)(void *lhs, void *rhs);
H A Drtc.h32 static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) argument
34 return rtc_tm_to_time64(lhs) - rtc_tm_to_time64(rhs);
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) argument
59 if (lhs->tv_sec < rhs->tv_sec)
61 if (lhs->tv_sec > rhs->tv_sec)
63 return lhs->tv_nsec - rhs->tv_nsec;
68 static inline struct timespec64 timespec64_add(struct timespec64 lhs, argument
72 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec,
73 lhs
80 timespec64_sub(struct timespec64 lhs, struct timespec64 rhs) argument
[all...]
/linux-master/include/linux/ceph/
H A Dmsgr.h90 static inline bool ceph_addr_equal_no_type(const struct ceph_entity_addr *lhs, argument
93 return !memcmp(&lhs->in_addr, &rhs->in_addr, sizeof(lhs->in_addr)) &&
94 lhs->nonce == rhs->nonce;
H A 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);

Completed in 732 milliseconds

123