Home
last modified time | relevance | path

Searched refs:pmatch (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/arch/x86/util/
H A Dheader.c97 regmatch_t pmatch[1]; in strcmp_cpuid_str()
118 match = !regexec(&re, id, 1, pmatch, 0); in strcmp_cpuid_str()
121 size_t match_len = (pmatch[0].rm_eo - pmatch[0].rm_so); in strcmp_cpuid_str()
98 regmatch_t pmatch[1]; strcmp_cpuid_str() local
/linux/tools/mm/
H A Dpage_owner_sort.c218 regmatch_t pmatch[2]; in remove_pattern() local
221 err = regexec(pattern, buf, 2, pmatch, REG_NOTBOL); in remove_pattern()
222 if (err != 0 || pmatch[1].rm_so == -1) in remove_pattern()
225 memcpy(buf + pmatch[1].rm_so, in remove_pattern()
226 buf + pmatch[1].rm_eo, len - pmatch[1].rm_eo); in remove_pattern()
228 return len - (pmatch[1].rm_eo - pmatch[1].rm_so); in remove_pattern()
234 regmatch_t pmatch[2]; in search_pattern() local
236 err = regexec(pattern, buf, 2, pmatch, REG_NOTBO in search_pattern()
[all...]
/linux/drivers/usb/dwc2/
H A Dparams.c1045 const struct pci_device_id *pmatch = in dwc2_init_params() local
1048 if (pmatch && pmatch->driver_data) { in dwc2_init_params()
1049 set_params = (set_params_cb)pmatch->driver_data; in dwc2_init_params()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dscan.c2106 struct cfg80211_wowlan_nd_match *pmatch; in mwifiex_ret_802_11_scan() local
2205 kzalloc(sizeof(*pmatch) + sizeof(u32), in mwifiex_ret_802_11_scan()
2208 pmatch = adapter->nd_info->matches[idx]; in mwifiex_ret_802_11_scan()
2210 if (pmatch) { in mwifiex_ret_802_11_scan()
2211 pmatch->n_channels = 1; in mwifiex_ret_802_11_scan()
2212 pmatch->channels[0] = chan_band->chan_number; in mwifiex_ret_802_11_scan()
/linux/drivers/net/ethernet/sfc/
H A Dtc.c544 struct efx_tc_match pmatch = *match; in efx_tc_flower_record_encap_match() local
550 pmatch.value.enc_ip_tos = 0; in efx_tc_flower_record_encap_match()
551 pmatch.mask.enc_ip_tos = 0; in efx_tc_flower_record_encap_match()
552 pmatch.value.enc_sport = 0; in efx_tc_flower_record_encap_match()
553 pmatch.mask.enc_sport = 0; in efx_tc_flower_record_encap_match()
554 rc = efx_tc_flower_record_encap_match(efx, &pmatch, type, in efx_tc_flower_record_encap_match()
561 pseudo = pmatch.encap; in efx_tc_flower_record_encap_match()
/linux/tools/perf/util/
H A Dpmu.c939 regmatch_t pmatch[1]; in pmu_uncore_alias_match()
948 match = !regexec(&re, id, 1, pmatch, 0); in pmu_uncore_alias_match()
951 match = pmatch[0].rm_so == 0 && (size_t)pmatch[0].rm_eo == strlen(id); in pmu_uncore_alias_match()
962 regmatch_t pmatch[1]; pmu_uncore_identifier_match() local
H A Dheader.c854 regmatch_t pmatch[1];
863 match = !regexec(&re, cpuid, 1, pmatch, 0);
866 size_t match_len = (pmatch[0].rm_eo - pmatch[0].rm_so); in write_cpuid()
834 regmatch_t pmatch[1]; strcmp_cpuid_str() local
/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c1390 u16 pmatch[3]; in natsemi_reset() local
1412 pmatch[i] = readw(ioaddr + RxFilterData); in natsemi_reset()
1451 writew(pmatch[i], ioaddr + RxFilterData); in natsemi_reset()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c6562 u16 pmatch = 0; in stmmac_vlan_update() local
6577 pmatch = vid; in stmmac_vlan_update()
6581 return stmmac_update_vlan_hash(priv, priv->hw, hash, pmatch, is_double); in stmmac_vlan_update()