Searched refs:pmatch (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/bpf/ |
| H A D | bpf_jit_disasm.c | 182 regmatch_t pmatch[1]; in get_last_jit_image() local 195 memset(pmatch, 0, sizeof(pmatch)); in get_last_jit_image() 198 ret = regexec(®ex, ptr, 1, pmatch, 0); in get_last_jit_image() 200 ptr += pmatch[0].rm_eo; in get_last_jit_image() 201 off += pmatch[0].rm_eo; in get_last_jit_image() 207 ptr = haystack + off - (pmatch[0].rm_eo - pmatch[0].rm_so); in get_last_jit_image()
|
| /linux/tools/mm/ |
| H A D | page_owner_sort.c | 220 regmatch_t pmatch[2]; in remove_pattern() local 223 err = regexec(pattern, buf, 2, pmatch, REG_NOTBOL); in remove_pattern() 224 if (err != 0 || pmatch[1].rm_so == -1) in remove_pattern() 227 memcpy(buf + pmatch[1].rm_so, in remove_pattern() 228 buf + pmatch[1].rm_eo, len - pmatch[1].rm_eo); in remove_pattern() 230 return len - (pmatch[1].rm_eo - pmatch[1].rm_so); in remove_pattern() 236 regmatch_t pmatch[2]; in search_pattern() local 238 err = regexec(pattern, buf, 2, pmatch, REG_NOTBOL); in search_pattern() 239 if (err != 0 || pmatch[1].rm_so == -1) { in search_pattern() 244 val_len = pmatch[1].rm_eo - pmatch[1].rm_so; in search_pattern() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | scan.c | 2106 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 D | tc.c | 544 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 D | pmu.c | 1057 regmatch_t pmatch[1]; in pmu_uncore_identifier_match() local 1066 match = !regexec(&re, id, 1, pmatch, 0); in pmu_uncore_identifier_match() 1069 match = pmatch[0].rm_so == 0 && (size_t)pmatch[0].rm_eo == strlen(id); in pmu_uncore_identifier_match()
|
| H A D | header.c | 856 regmatch_t pmatch[1]; in strcmp_cpuid_str() local 865 match = !regexec(&re, cpuid, 1, pmatch, 0); in strcmp_cpuid_str() 868 size_t match_len = (pmatch[0].rm_eo - pmatch[0].rm_so); in strcmp_cpuid_str()
|
| /linux/drivers/net/ethernet/natsemi/ |
| H A D | natsemi.c | 1390 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 D | stmmac_main.c | 6717 u16 pmatch = 0; in stmmac_vlan_update() local 6732 pmatch = vid; in stmmac_vlan_update() 6736 return stmmac_update_vlan_hash(priv, priv->hw, hash, pmatch, is_double); in stmmac_vlan_update()
|