Home
last modified time | relevance | path

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

/linux/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/tools/perf/util/
H A Dparse-regs-options.c32 static uint64_t name_to_perf_reg_mask(const char *to_match, uint64_t mask) in name_to_perf_reg_mask() argument
46 if (!strcasecmp(to_match, name)) in name_to_perf_reg_mask()
H A Dpmu.c988 static bool perf_pmu__match_wildcard_uncore(const char *pmu_name, const char *to_match) in perf_pmu__match_wildcard_uncore() argument
998 if (!strncmp(to_match, "uncore_", 7)) in perf_pmu__match_wildcard_uncore()
999 to_match += 7; in perf_pmu__match_wildcard_uncore()
1001 if (strchr(to_match, ',') == NULL) in perf_pmu__match_wildcard_uncore()
1002 return perf_pmu__match_wildcard(pmu_name, to_match); in perf_pmu__match_wildcard_uncore()
1005 mutable_to_match = strdup(to_match); in perf_pmu__match_wildcard_uncore()
2272 static bool perf_pmu___name_match(const struct perf_pmu *pmu, const char *to_match, bool wildcard) in perf_pmu___name_match() argument
2285 if (!strcmp(name, to_match)) { in perf_pmu___name_match()
2290 if (!strcmp(to_match, "default_core")) { in perf_pmu___name_match()
2310 if (!strcmp(name, to_match)) { in perf_pmu___name_match()
[all …]
H A Dpmu.h298 bool perf_pmu__name_wildcard_match(const struct perf_pmu *pmu, const char *to_match);
299 bool perf_pmu__name_no_suffix_match(const struct perf_pmu *pmu, const char *to_match);
/linux/drivers/gpu/drm/
H A Ddrm_edid.c4323 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_cea_mode_clock_tolerance() argument
4329 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()
4332 if (to_match->picture_aspect_ratio) in drm_match_cea_mode_clock_tolerance()
4345 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
4346 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
4350 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode_clock_tolerance()
4365 u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument
4370 if (!to_match->clock) in drm_match_cea_mode()
4373 if (to_match->picture_aspect_ratio) in drm_match_cea_mode()
4386 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
[all …]
/linux/tools/perf/tests/
H A Dpmu.c555 #define TEST_PMU_MATCH(msg, to_match, expect) \ in test__pmu_match() argument
556 TEST_ASSERT_EQUAL(msg, perf_pmu__wildcard_match(&test_pmu, to_match), expect) in test__pmu_match()