Home
last modified time | relevance | path

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

/linux/tools/bpf/
A Dbpf_jit_disasm.c180 regmatch_t pmatch[1]; in get_last_jit_image() local
193 memset(pmatch, 0, sizeof(pmatch)); in get_last_jit_image()
196 ret = regexec(&regex, ptr, 1, pmatch, 0); in get_last_jit_image()
198 ptr += pmatch[0].rm_eo; in get_last_jit_image()
199 off += pmatch[0].rm_eo; in get_last_jit_image()
205 ptr = haystack + off - (pmatch[0].rm_eo - pmatch[0].rm_so); in get_last_jit_image()
/linux/tools/perf/arch/x86/util/
A Dheader.c98 regmatch_t pmatch[1]; in strcmp_cpuid_str() local
119 match = !regexec(&re, id, 1, pmatch, 0); in strcmp_cpuid_str()
122 size_t match_len = (pmatch[0].rm_eo - pmatch[0].rm_so); in strcmp_cpuid_str()
/linux/tools/mm/
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_NOTBOL); in search_pattern()
237 if (err != 0 || pmatch[1].rm_so == -1) { in search_pattern()
242 val_len = pmatch[1].rm_eo - pmatch[1].rm_so; in search_pattern()
[all …]
/linux/drivers/usb/dwc2/
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/
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/
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/
A Dpmu.c962 regmatch_t pmatch[1]; in pmu_uncore_identifier_match() local
971 match = !regexec(&re, id, 1, pmatch, 0); in pmu_uncore_identifier_match()
974 match = pmatch[0].rm_so == 0 && (size_t)pmatch[0].rm_eo == strlen(id); in pmu_uncore_identifier_match()
A Dheader.c834 regmatch_t pmatch[1]; in strcmp_cpuid_str() local
843 match = !regexec(&re, cpuid, 1, pmatch, 0); in strcmp_cpuid_str()
846 size_t match_len = (pmatch[0].rm_eo - pmatch[0].rm_so); in strcmp_cpuid_str()
/linux/drivers/net/ethernet/natsemi/
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/
A Dstmmac_main.c6619 u16 pmatch = 0; in stmmac_vlan_update() local
6634 pmatch = vid; in stmmac_vlan_update()
6638 return stmmac_update_vlan_hash(priv, priv->hw, hash, pmatch, is_double); in stmmac_vlan_update()

Completed in 52 milliseconds