Searched refs:to_match (Results 1 – 7 of 7) sorted by relevance
| /linux/samples/bpf/ |
| H A D | xdp_sample.bpf.c | 30 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 D | parse-regs-options.c | 32 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 D | pmu.c | 988 * perf_pmu__match_wildcard_uncore - does to_match match the PMU's name? in perf_pmu__match_wildcard_uncore() argument 990 * @to_match: the json struct pmu_event name. This may lack a suffix (which in perf_pmu__match_wildcard_uncore() 994 static bool perf_pmu__match_wildcard_uncore(const char *pmu_name, const char *to_match) in perf_pmu__match_wildcard_uncore() 1004 if (!strncmp(to_match, "uncore_", 7)) in perf_pmu__match_wildcard_uncore() 1005 to_match += 7; in perf_pmu__match_wildcard_uncore() 1007 if (strchr(to_match, ',') == NULL) in perf_pmu__match_wildcard_uncore() 1008 return perf_pmu__match_wildcard(pmu_name, to_match); in perf_pmu__match_wildcard_uncore() 1011 mutable_to_match = strdup(to_match); in perf_pmu__match_wildcard_uncore() 2313 static bool perf_pmu___name_match(const struct perf_pmu *pmu, const char *to_match, bool wildcard) in perf_pmu___name_match() 2326 if (!strcmp(name, to_match)) { in perf_pmu___name_match() 2272 perf_pmu___name_match(const struct perf_pmu * pmu,const char * to_match,bool wildcard) perf_pmu___name_match() argument 2337 perf_pmu__name_wildcard_match(const struct perf_pmu * pmu,const char * to_match) perf_pmu__name_wildcard_match() argument 2348 perf_pmu__name_no_suffix_match(const struct perf_pmu * pmu,const char * to_match) perf_pmu__name_no_suffix_match() argument [all...] |
| H A D | pmu.h | 298 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 D | drm_edid.c | 4346 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_cea_mode_clock_tolerance() argument 4352 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance() 4355 if (to_match->picture_aspect_ratio) in drm_match_cea_mode_clock_tolerance() 4368 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance() 4369 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance() 4373 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode_clock_tolerance() 4388 u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument 4393 if (!to_match->clock) in drm_match_cea_mode() 4396 if (to_match->picture_aspect_ratio) in drm_match_cea_mode() 4409 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | pmu.c | 562 #define TEST_PMU_MATCH(msg, to_match, expect) \ in test__pmu_match() 563 TEST_ASSERT_EQUAL(msg, perf_pmu__wildcard_match(&test_pmu, to_match), expect) in test__pmu_match() 555 TEST_PMU_MATCH(msg,to_match,expect) test__pmu_match() argument
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | mac.c | 4718 const struct rtw89_chan *to_match, in rtw89_mac_enable_ap_bcn_by_chan() argument 4726 if (!to_match) in rtw89_mac_enable_ap_bcn_by_chan() 4733 if (chan->channel != to_match->channel) in rtw89_mac_enable_ap_bcn_by_chan() 4741 const struct rtw89_chan *to_match, in rtw89_mac_enable_aps_bcn_by_chan() argument 4751 to_match, en); in rtw89_mac_enable_aps_bcn_by_chan()
|