Home
last modified time | relevance | path

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

/linux-6.6.21/tools/bpf/
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-6.6.21/tools/perf/arch/x86/util/
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-6.6.21/tools/mm/
Dpage_owner_sort.c234 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()
244 memcpy(pattern_str, buf + pmatch[1].rm_so, val_len); in search_pattern()
/linux-6.6.21/drivers/usb/dwc2/
Dparams.c983 const struct pci_device_id *pmatch = NULL; in dwc2_init_params() local
990 pmatch = pci_match_id(dwc2_pci_ids, to_pci_dev(hsotg->dev->parent)); in dwc2_init_params()
992 if (pmatch && pmatch->driver_data) { in dwc2_init_params()
993 set_params = (set_params_cb)pmatch->driver_data; in dwc2_init_params()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtc.c548 struct efx_tc_match pmatch = *match; in efx_tc_flower_record_encap_match() local
554 pmatch.value.enc_ip_tos = 0; in efx_tc_flower_record_encap_match()
555 pmatch.mask.enc_ip_tos = 0; in efx_tc_flower_record_encap_match()
556 pmatch.value.enc_sport = 0; in efx_tc_flower_record_encap_match()
557 pmatch.mask.enc_sport = 0; in efx_tc_flower_record_encap_match()
558 rc = efx_tc_flower_record_encap_match(efx, &pmatch, type, in efx_tc_flower_record_encap_match()
565 pseudo = pmatch.encap; in efx_tc_flower_record_encap_match()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dscan.c2114 struct cfg80211_wowlan_nd_match *pmatch; in mwifiex_ret_802_11_scan() local
2213 kzalloc(sizeof(*pmatch) + sizeof(u32), in mwifiex_ret_802_11_scan()
2216 pmatch = adapter->nd_info->matches[idx]; in mwifiex_ret_802_11_scan()
2218 if (pmatch) { in mwifiex_ret_802_11_scan()
2219 pmatch->n_channels = 1; in mwifiex_ret_802_11_scan()
2220 pmatch->channels[0] = chan_band->chan_number; in mwifiex_ret_802_11_scan()
/linux-6.6.21/drivers/net/ethernet/natsemi/
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-6.6.21/tools/perf/util/
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-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c6491 __le16 pmatch = 0; in stmmac_vlan_update() local
6506 pmatch = cpu_to_le16(vid); in stmmac_vlan_update()
6510 return stmmac_update_vlan_hash(priv, priv->hw, hash, pmatch, is_double); in stmmac_vlan_update()