Searched refs:rhs (Results 1 - 25 of 61) sorted by last modified time

123

/linux-master/fs/smb/client/
H A Dconnect.c1358 cifs_ipaddr_cmp(struct sockaddr *srcaddr, struct sockaddr *rhs) argument
1361 struct sockaddr_in *vaddr4 = (struct sockaddr_in *)rhs;
1363 struct sockaddr_in6 *vaddr6 = (struct sockaddr_in6 *)rhs;
1367 switch (rhs->sa_family) {
1377 switch (rhs->sa_family) {
1390 switch (rhs->sa_family) {
1408 * Returns true if srcaddr isn't specified and rhs isn't specified, or
1409 * if srcaddr is specified and matches the IP address of the rhs argument
1412 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) argument
1416 return (rhs
[all...]
H A Dcifsproto.h92 extern int cifs_ipaddr_cmp(struct sockaddr *srcaddr, struct sockaddr *rhs);
93 extern bool cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs);
/linux-master/lib/
H A Dubsan.c240 void *rhs, char op)
255 val_to_string(rhs_val_str, sizeof(rhs_val_str), type, rhs);
266 void *lhs, void *rhs)
269 handle_overflow(data, lhs, rhs, '+');
274 void *lhs, void *rhs)
276 handle_overflow(data, lhs, rhs, '-');
281 void *lhs, void *rhs)
283 handle_overflow(data, lhs, rhs, '*');
307 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) argument
317 val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs);
239 handle_overflow(struct overflow_data *data, void *lhs, void *rhs, char op) argument
265 __ubsan_handle_add_overflow(void *data, void *lhs, void *rhs) argument
273 __ubsan_handle_sub_overflow(void *data, void *lhs, void *rhs) argument
280 __ubsan_handle_mul_overflow(void *data, void *lhs, void *rhs) argument
433 __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs) argument
[all...]
H A Dchecksum_kunit.c453 #define CHECK_EQ(lhs, rhs) KUNIT_ASSERT_EQ(test, (__force u64)lhs, (__force u64)rhs)
H A Dubsan.h127 void __ubsan_handle_add_overflow(void *data, void *lhs, void *rhs);
128 void __ubsan_handle_sub_overflow(void *data, void *lhs, void *rhs);
129 void __ubsan_handle_mul_overflow(void *data, void *lhs, void *rhs);
131 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs);
135 void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs);
/linux-master/drivers/iommu/intel/
H A Diommu.c114 static int device_rid_cmp(struct rb_node *lhs, const struct rb_node *rhs) argument
120 return device_rid_cmp_key(&key, rhs);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_lrc.c851 u32 rhs; local
860 rhs = lrc->ring.size - lrc->ring.tail;
861 if (size > rhs) {
862 __xe_lrc_write_ring(lrc, ring, data, rhs);
863 __xe_lrc_write_ring(lrc, ring, data + rhs, size - rhs);
/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 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 Dmin_heap.h29 bool (*less)(const void *lhs, const void *rhs);
30 void (*swp)(void *lhs, void *rhs);
H A Diosys-map.h206 * @rhs: A iosys_map structure to compare with
215 const struct iosys_map *rhs)
217 if (lhs->is_iomem != rhs->is_iomem)
220 return lhs->vaddr_iomem == rhs->vaddr_iomem;
222 return lhs->vaddr == rhs->vaddr;
214 iosys_map_is_equal(const struct iosys_map *lhs, const struct iosys_map *rhs) argument
/linux-master/drivers/md/
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
2249 struct dm_bio_prison_cell *rhs_cell = *((struct dm_bio_prison_cell **) rhs);
H A Ddm-bio-prison-v1.c97 struct dm_cell_key *rhs)
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)
96 cmp_keys(struct dm_cell_key *lhs, struct dm_cell_key *rhs) argument
/linux-master/tools/perf/util/
H A Dsymbol.c439 const struct symbol *rhs = *((const struct symbol **)vrhs); local
441 return strcmp(lhs->name, rhs->name);
H A Dpmus.c165 const struct list_head *lhs, const struct list_head *rhs)
169 struct perf_pmu *rhs_pmu = container_of(rhs, struct perf_pmu, list);
164 pmus_cmp(void *priv __maybe_unused, const struct list_head *lhs, const struct list_head *rhs) argument
H A Dparse-events.c1965 __weak int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs) argument
1968 return lhs->core.idx - rhs->core.idx;
1976 const struct evsel *rhs = container_of(rhs_core, struct evsel, core); local
2004 rhs_sort_idx = *force_grouped_idx != -1 && arch_evsel__must_be_in_group(rhs)
2015 rhs_pmu_name = rhs->group_pmu_name;
2022 return arch_evlist__cmp(lhs, rhs);
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_experimental.h234 asm volatile ("if %[lhs] " op " %[rhs] goto +2; r1 = %[value]; call bpf_throw" \
235 : : [lhs] "r"(LHS), [rhs] cons(RHS), [value] "ri"(VAL) : ); \
267 asm volatile goto("if %[lhs] " OP " %[rhs] goto %l[l_true]" \
268 :: [lhs] "r"((short)LHS), [rhs] PRED (RHS) :: l_true); \
/linux-master/kernel/time/
H A Dhrtimer.c330 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) argument
332 ktime_t res = ktime_add_unsafe(lhs, rhs);
338 if (res < 0 || res < lhs || res < rhs)
/linux-master/include/asm-generic/
H A Dword-at-a-time.h18 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time *c) argument
21 return ~(mask | rhs);
44 unsigned long rhs = val | c->low_bits; local
45 *data = rhs;
46 return (val + c->high_bits) & ~rhs;
/linux-master/fs/hpfs/
H A Dsuper.c399 char *rhs = args[0].from; local
400 if (!rhs || !*rhs)
402 if (*rhs == '-') m = -1;
403 if (*rhs == '+' || *rhs == '-') rhs++;
404 *timeshift = simple_strtoul(rhs, &rhs, 0) * m;
405 if (*rhs)
[all...]
/linux-master/drivers/block/
H A Drbd.c3621 const struct rbd_client_id *rhs)
3623 return lhs->gid == rhs->gid && lhs->handle == rhs->handle;
3862 const struct ceph_locker *rhs)
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);
3620 rbd_cid_equal(const struct rbd_client_id *lhs, const struct rbd_client_id *rhs) argument
3861 locker_equal(const struct ceph_locker *lhs, const struct ceph_locker *rhs) argument
/linux-master/arch/powerpc/include/asm/
H A Dword-at-a-time.h21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time *c) argument
24 return ~(mask | rhs);
39 unsigned long rhs = val | c->low_bits; local
40 *data = rhs;
41 return (val + c->high_bits) & ~rhs;
/linux-master/tools/testing/selftests/powerpc/primitives/
H A Dword-at-a-time.h21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time *c) argument
24 return ~(mask | rhs);
39 unsigned long rhs = val | c->low_bits; local
40 *data = rhs;
41 return (val + c->high_bits) & ~rhs;
/linux-master/drivers/iommu/iommufd/
H A Dio_pagetable.c1177 struct iopt_area *rhs; local
1196 rhs = iopt_area_alloc();
1197 if (!rhs) {
1229 rc = iopt_insert_area(iopt, rhs, area->pages, new_start,
1242 interval_tree_insert(&rhs->pages_node, &pages->domains_itree);
1247 rhs->storage_domain = area->storage_domain;
1248 rhs->pages = area->pages;
1249 kref_get(&rhs->pages->kref);
1265 kfree(rhs);

Completed in 592 milliseconds

123