Home
last modified time | relevance | path

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

/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()
Ddm-snap.c194 static int bdev_equal(struct block_device *lhs, struct block_device *rhs) in bdev_equal() argument
200 return lhs == rhs; in bdev_equal()
Ddm-thin.c2225 static int cmp_cells(const void *lhs, const void *rhs) in cmp_cells() argument
2227 struct dm_bio_prison_cell *lhs_cell = *((struct dm_bio_prison_cell **) lhs); in cmp_cells()
/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,
1655 input_system_source_t *const lhs, in set_source_type() argument
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() argument
1698 assert(lhs); in set_csi_cfg()
1709 &&*/ lhs->buffering_mode == rhs->buffering_mode in set_csi_cfg()
[all …]
/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()
/drivers/net/ethernet/freescale/
Dfec_ptp.c284 u64 lhs, rhs; in fec_ptp_adjfreq() local
301 lhs = NSEC_PER_SEC; in fec_ptp_adjfreq()
304 if (lhs >= rhs) { in fec_ptp_adjfreq()
306 corr_period = div_u64(lhs, rhs); in fec_ptp_adjfreq()
309 lhs += NSEC_PER_SEC; in fec_ptp_adjfreq()
/drivers/block/
Drbd.c3622 static bool rbd_cid_equal(const struct rbd_client_id *lhs, in rbd_cid_equal() argument
3625 return lhs->gid == rhs->gid && lhs->handle == rhs->handle; in rbd_cid_equal()
3863 static bool locker_equal(const struct ceph_locker *lhs, in locker_equal() argument
3866 return lhs->id.name.type == rhs->id.name.type && in locker_equal()
3867 lhs->id.name.num == rhs->id.name.num && in locker_equal()
3868 !strcmp(lhs->id.cookie, rhs->id.cookie) && in locker_equal()
3869 ceph_addr_equal_no_type(&lhs->info.addr, &rhs->info.addr); in locker_equal()
/drivers/net/ethernet/3com/
D3c59x.c507 #define BFINS(lhs, rhs, offset, bitcount) \ argument
508 (((lhs) & ~((((1 << (bitcount)) - 1)) << (offset))) | \
/drivers/pinctrl/tegra/
Dpinctrl-tegra20.c2111 MUX_PG(lhs, DISPLAYA, DISPLAYB, XIO, RSVD4, 0x20, 7, 0x90, 22, -1, -1),