Searched refs:rhs (Results 26 - 50 of 62) sorted by relevance

123

/linux-master/tools/lib/perf/
H A Dcpumap.c366 bool perf_cpu_map__equal(const struct perf_cpu_map *lhs, const struct perf_cpu_map *rhs) argument
370 if (lhs == rhs)
373 if (!lhs || !rhs)
377 if (nr != __perf_cpu_map__nr(rhs))
381 if (__perf_cpu_map__cpu(lhs, idx).cpu != __perf_cpu_map__cpu(rhs, idx).cpu)
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_cpu.c106 timespec_sub(const struct timespec *lhs, const struct timespec *rhs) argument
114 if (lhs->tv_sec < rhs->tv_sec)
117 ret.tv_sec = lhs->tv_sec - rhs->tv_sec;
119 if (lhs->tv_nsec < rhs->tv_nsec) {
124 ret.tv_nsec = NSEC_PER_SEC - rhs->tv_nsec + lhs->tv_nsec;
126 ret.tv_nsec = lhs->tv_nsec - rhs->tv_nsec;
/linux-master/kernel/trace/
H A Dtrace_dynevent.h141 const char *rhs; member in struct:dynevent_arg_pair
H A Dtrace_dynevent.c325 * followed by an operator, if applicable, followed by the rhs string,
349 arg_pair->operator, arg_pair->rhs,
353 arg_pair->operator, arg_pair->rhs,
/linux-master/include/linux/ceph/
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);
/linux-master/kernel/kcsan/
H A Ddebugfs.c95 static int cmp_filterlist_addrs(const void *rhs, const void *lhs) argument
97 const unsigned long a = *(const unsigned long *)rhs;
/linux-master/tools/perf/tests/
H A Dcpumap.c174 static int __test__cpu_map_intersect(const char *lhs, const char *rhs, int nr, const char *expected) argument
177 struct perf_cpu_map *b = perf_cpu_map__new(rhs);
/linux-master/include/linux/
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);
/linux-master/tools/perf/util/
H A Dcomm.c92 const struct comm_str *rhs = *(const struct comm_str * const *)_rhs; local
94 return strcmp(comm_str__str(lhs), comm_str__str(rhs));
H A Dpmus.c168 const struct list_head *lhs, const struct list_head *rhs)
172 struct perf_pmu *rhs_pmu = container_of(rhs, struct perf_pmu, list);
167 pmus_cmp(void *priv __maybe_unused, const struct list_head *lhs, const struct list_head *rhs) argument
H A Dparse-events.c1980 __weak int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs) argument
1983 return lhs->core.idx - rhs->core.idx;
1991 const struct evsel *rhs = container_of(rhs_core, struct evsel, core); local
2019 rhs_sort_idx = *force_grouped_idx != -1 && arch_evsel__must_be_in_group(rhs)
2030 rhs_pmu_name = rhs->group_pmu_name;
2037 return arch_evlist__cmp(lhs, rhs);
H A Devlist.h115 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *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);
/linux-master/drivers/bluetooth/
H A Dhci_mrvl.c53 __le16 rhs; member in struct:hci_mrvl_pkt
170 if ((pkt->lhs ^ pkt->rhs) != 0xffff) {
203 if ((pkt->lhs ^ pkt->rhs) != 0xffff) {
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_ptp.c360 u64 lhs, rhs; local
378 rhs = (u64)ppb * (u64)fep->ptp_inc;
380 if (lhs >= rhs) {
382 corr_period = div_u64(lhs, rhs);
/linux-master/kernel/time/
H A Dtime.c839 * @rhs: second (right) timespec64 to add
844 * Return: sum of @lhs + @rhs
847 const struct timespec64 rhs)
851 set_normalized_timespec64(&res, (timeu64_t) lhs.tv_sec + rhs.tv_sec,
852 lhs.tv_nsec + rhs.tv_nsec);
854 if (unlikely(res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec)) {
846 timespec64_add_safe(const struct timespec64 lhs, const struct timespec64 rhs) argument
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/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/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/fs/ocfs2/
H A Dreservations.c757 unsigned int rhs = 0; local
770 rhs = old_end - end;
775 BUG_ON(rhs == 0);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_lrc.c870 u32 rhs; local
879 rhs = lrc->ring.size - lrc->ring.tail;
880 if (size > rhs) {
881 __xe_lrc_write_ring(lrc, ring, data, rhs);
882 __xe_lrc_write_ring(lrc, ring, data + rhs, size - rhs);
/linux-master/net/ceph/
H A Dosdmap.c677 int ceph_pg_compare(const struct ceph_pg *lhs, const struct ceph_pg *rhs) argument
679 if (lhs->pool < rhs->pool)
681 if (lhs->pool > rhs->pool)
683 if (lhs->seed < rhs->seed)
685 if (lhs->seed > rhs->seed)
691 int ceph_spg_compare(const struct ceph_spg *lhs, const struct ceph_spg *rhs) argument
695 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid);
699 if (lhs->shard < rhs->shard)
701 if (lhs->shard > rhs->shard)
2236 const struct ceph_osds *rhs)
2235 __osds_equal(const struct ceph_osds *lhs, const struct ceph_osds *rhs) argument
2248 osds_equal(const struct ceph_osds *lhs, const struct ceph_osds *rhs) argument
[all...]
/linux-master/kernel/bpf/
H A Doffload.c727 bool bpf_prog_dev_bound_match(const struct bpf_prog *lhs, const struct bpf_prog *rhs) argument
731 if (bpf_prog_is_offloaded(lhs->aux) != bpf_prog_is_offloaded(rhs->aux))
735 ret = lhs->aux->offload && rhs->aux->offload &&
737 lhs->aux->offload->netdev == rhs->aux->offload->netdev;
/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...]
/linux-master/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c650 static bool dominated_by_is_err(const_tree rhs, basic_block bb) argument
700 if (is_err_arg != rhs)
797 MISMATCH(gimple_location(stmt), "rhs", ptr_lhs_type, ptr_rhs_type);

Completed in 572 milliseconds

123