Home
last modified time | relevance | path

Searched refs:to_match (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/samples/bpf/
H A Dxdp_sample.bpf.c30 const volatile int to_match[32] = {}; variable
190 if (!IN_SET(to_match, dev->ifindex)) in BPF_PROG()
218 if (!IN_SET(to_match, idx_out)) in BPF_PROG()
252 if (!IN_SET(to_match, idx_out)) in BPF_PROG()
/linux-6.15/tools/perf/util/
H A Dpmu.c935 if (!strncmp(to_match, "uncore_", 7)) in perf_pmu__match_wildcard_uncore()
936 to_match += 7; in perf_pmu__match_wildcard_uncore()
938 if (strchr(to_match, ',') == NULL) in perf_pmu__match_wildcard_uncore()
939 return perf_pmu__match_wildcard(pmu_name, to_match); in perf_pmu__match_wildcard_uncore()
942 mutable_to_match = strdup(to_match); in perf_pmu__match_wildcard_uncore()
2020 if (!strcmp(name, to_match)) { in perf_pmu___name_match()
2025 if (!strcmp(to_match, "default_core")) { in perf_pmu___name_match()
2045 if (!strcmp(name, to_match)) { in perf_pmu___name_match()
2055 if (wildcard && perf_pmu__match_wildcard_uncore(name, to_match)) in perf_pmu___name_match()
2071 return perf_pmu___name_match(pmu, to_match, /*wildcard=*/true); in perf_pmu__name_wildcard_match()
[all …]
H A Dpmu.h248 bool perf_pmu__name_wildcard_match(const struct perf_pmu *pmu, const char *to_match);
249 bool perf_pmu__name_no_suffix_match(const struct perf_pmu *pmu, const char *to_match);
/linux-6.15/drivers/gpu/drm/
H A Ddrm_edid.c4305 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()
4308 if (to_match->picture_aspect_ratio) in drm_match_cea_mode_clock_tolerance()
4322 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
4346 if (!to_match->clock) in drm_match_cea_mode()
4349 if (to_match->picture_aspect_ratio) in drm_match_cea_mode()
4363 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
4412 if (!to_match->clock) in drm_match_hdmi_mode_clock_tolerance()
4415 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode_clock_tolerance()
4427 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
4450 if (!to_match->clock) in drm_match_hdmi_mode()
[all …]
/linux-6.15/tools/perf/tests/
H A Dpmu.c466 #define TEST_PMU_MATCH(msg, to_match, expect) \ in test__pmu_match() argument
467 TEST_ASSERT_EQUAL(msg, perf_pmu__wildcard_match(&test_pmu, to_match), expect) in test__pmu_match()
/linux-6.15/include/drm/
H A Ddrm_edid.h434 u8 drm_match_cea_mode(const struct drm_display_mode *to_match);