Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 1636) sorted by relevance

12345678910>>...66

/linux-6.3-rc2/tools/testing/selftests/net/
A Dfib_rule_tests.sh168 local match="$1"
182 local match="$1"
197 local match
203 match="oif $DEV"
216 match="tos 0x10"
245 fib_rule6_test_match_n_redirect "$match" "$match" "ipproto match"
300 local match="$1"
314 local match="$1"
329 local match
335 match="oif $DEV"
[all …]
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/
A Dmatch.c107 tmp = match.key->dst[i] & match.mask->dst[i]; in nfp_flower_compile_mac()
111 tmp = match.key->src[i] & match.mask->src[i]; in nfp_flower_compile_mac()
198 tmp = match.key->src & match.mask->src; in nfp_flower_compile_tport()
202 tmp = match.key->dst & match.mask->dst; in nfp_flower_compile_tport()
226 tmp = match.key->tos & match.mask->tos; in nfp_flower_compile_ip_ext()
230 tmp = match.key->ttl & match.mask->ttl; in nfp_flower_compile_ip_ext()
344 tmp = match.key->src & match.mask->src; in nfp_flower_compile_ipv4()
348 tmp = match.key->dst & match.mask->dst; in nfp_flower_compile_ipv4()
409 ext->src |= match.key->src & match.mask->src; in nfp_flower_compile_tun_ipv4_addrs()
410 ext->dst |= match.key->dst & match.mask->dst; in nfp_flower_compile_tun_ipv4_addrs()
[all …]
/linux-6.3-rc2/drivers/base/
A Dcomponent.c86 struct component_match *match = m->match; in component_devices_show() local
175 struct component_match *match = adev->match; in find_components() local
406 if (match->num == match->alloc) { in __component_match_add()
417 match->compare[match->num].compare = compare; in __component_match_add()
419 match->compare[match->num].release = release; in __component_match_add()
420 match->compare[match->num].data = compare_data; in __component_match_add()
421 match->compare[match->num].component = NULL; in __component_match_add()
483 struct component_match *match = adev->match; in free_aggregate_device() local
489 if (match) { in free_aggregate_device()
520 ret = component_match_realloc(match, match->num); in component_master_add_with_match()
[all …]
/linux-6.3-rc2/sound/soc/intel/common/
A DMakefile4 snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o \
5 soc-acpi-intel-hsw-bdw-match.o \
6 soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
7 soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \
8 soc-acpi-intel-cnl-match.o soc-acpi-intel-cfl-match.o \
9 soc-acpi-intel-cml-match.o soc-acpi-intel-icl-match.o \
10 soc-acpi-intel-tgl-match.o soc-acpi-intel-ehl-match.o \
11 soc-acpi-intel-jsl-match.o soc-acpi-intel-adl-match.o \
12 soc-acpi-intel-rpl-match.o soc-acpi-intel-mtl-match.o \
13 soc-acpi-intel-hda-match.o \
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c291 struct flow_match_meta match; in mlxsw_sp_flower_parse_meta() local
381 struct flow_match_ports match; in mlxsw_sp_flower_parse_ports() local
408 struct flow_match_tcp match; in mlxsw_sp_flower_parse_tcp() local
439 struct flow_match_ip match; in mlxsw_sp_flower_parse_ip() local
453 match.key->ttl, match.mask->ttl); in mlxsw_sp_flower_parse_ip()
460 match.key->tos >> 2, in mlxsw_sp_flower_parse_ip()
536 match.key->dst, in mlxsw_sp_flower_parse()
540 match.key->dst + 2, in mlxsw_sp_flower_parse()
544 match.key->src, in mlxsw_sp_flower_parse()
548 match.key->src + 2, in mlxsw_sp_flower_parse()
[all …]
A Dspectrum_dpipe.c102 struct devlink_dpipe_match match = {0}; in mlxsw_sp_dpipe_table_erif_matches_dump() local
136 match_value->match = match; in mlxsw_sp_erif_entry_prepare()
372 struct devlink_dpipe_match *match; in mlxsw_sp_dpipe_table_host_match_action_prepare() local
409 struct devlink_dpipe_match *match; in mlxsw_sp_dpipe_table_host_entry_prepare() local
420 match_value->match = match; in mlxsw_sp_dpipe_table_host_entry_prepare()
429 match_value->match = match; in mlxsw_sp_dpipe_table_host_entry_prepare()
939 struct devlink_dpipe_match *match; in mlxsw_sp_dpipe_table_adj_match_action_prepare() local
976 struct devlink_dpipe_match *match; in mlxsw_sp_dpipe_table_adj_entry_prepare() local
987 match_value->match = match; in mlxsw_sp_dpipe_table_adj_entry_prepare()
996 match_value->match = match; in mlxsw_sp_dpipe_table_adj_entry_prepare()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/
A Dprestera_flower.c147 struct flow_match_meta match; in prestera_flower_parse_meta() local
158 match.key->ingress_ifindex); in prestera_flower_parse_meta()
222 struct flow_match_control match; in prestera_flower_parse() local
225 addr_type = match.key->addr_type; in prestera_flower_parse()
229 struct flow_match_basic match; in prestera_flower_parse() local
232 n_proto_key = match.key->n_proto; in prestera_flower_parse()
245 ip_proto = match.key->ip_proto; in prestera_flower_parse()
289 struct flow_match_ports match; in prestera_flower_parse() local
331 struct flow_match_vlan match; in prestera_flower_parse() local
335 if (match.mask->vlan_id != 0) { in prestera_flower_parse()
[all …]
/linux-6.3-rc2/net/sched/
A Dem_ipt.c22 const struct xt_match *match; member
54 mtpar.match = im->match; in check_match()
131 struct xt_match *match; in em_ipt_change() local
154 if (IS_ERR(match)) { in em_ipt_change()
156 return PTR_ERR(match); in em_ipt_change()
166 im->match = match; in em_ipt_change()
181 module_put(match->me); in em_ipt_change()
195 .match = im->match, in em_ipt_destroy()
240 acpar.match = im->match; in em_ipt_match()
244 ret = im->match->match(skb, &acpar); in em_ipt_match()
[all …]
/linux-6.3-rc2/drivers/regulator/
A Ddevres.c441 return match->dev == target->dev && strcmp(match->id, target->id) == 0; in devm_regulator_match_supply_alias()
448 regulator_unregister_supply_alias(match->dev, match->id); in devm_regulator_destroy_supply_alias()
474 if (!match) in devm_regulator_register_supply_alias()
477 match->dev = dev; in devm_regulator_register_supply_alias()
478 match->id = id; in devm_regulator_register_supply_alias()
498 match.dev = dev; in devm_regulator_unregister_supply_alias()
499 match.id = id; in devm_regulator_unregister_supply_alias()
575 regulator_unregister_notifier(match->regulator, match->nb); in devm_regulator_destroy_notifier()
597 if (!match) in devm_regulator_register_notifier()
601 match->nb = nb; in devm_regulator_register_notifier()
[all …]
/linux-6.3-rc2/net/openvswitch/
A Dflow_netlink.c184 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate()
204 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate()
210 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate()
217 if (match->mask && (match->mask->key.ip.proto == 0xff)) { in match_validate()
225 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate()
241 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate()
247 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate()
254 if (match->mask && (match->mask->key.ip.proto == 0xff)) { in match_validate()
262 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate()
1954 memset(&match, 0, sizeof(match)); in ovs_nla_get_flow_metadata()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_tc_lib.c1033 if (match->key->dst) { in ice_tc_set_ipv4()
1160 if (match.key->dst) { in ice_tc_set_port()
1169 if (match.key->src) { in ice_tc_set_port()
1215 if (match.key->dst) { in ice_parse_gtp_type()
1411 match.key->dst); in ice_parse_cls_flower()
1413 match.mask->dst); in ice_parse_cls_flower()
1419 match.key->src); in ice_parse_cls_flower()
1421 match.mask->src); in ice_parse_cls_flower()
1433 match.key = &key; in ice_parse_cls_flower()
1436 match.mask = &mask; in ice_parse_cls_flower()
[all …]
/linux-6.3-rc2/net/netfilter/
A Dxt_owner.c25 if (info->match & ~XT_OWNER_MASK) in owner_check()
36 if (info->match & XT_OWNER_UID) { in owner_check()
48 if (info->match & XT_OWNER_GID) { in owner_check()
81 return ((info->match ^ info->invert) & in owner_mt()
84 if (info->match & XT_OWNER_UID) { in owner_mt()
93 if (info->match & XT_OWNER_GID) { in owner_mt()
94 unsigned int i, match = false; in owner_mt() local
101 match = true; in owner_mt()
103 if (!match && (info->match & XT_OWNER_SUPPL_GROUPS) && gi) { in owner_mt()
109 match = true; in owner_mt()
[all …]
A Dxt_ipvs.c68 match = false; in ipvs_mt()
77 match = false; in ipvs_mt()
83 match = false; in ipvs_mt()
92 match = false; in ipvs_mt()
104 match = false; in ipvs_mt()
112 match = false; in ipvs_mt()
121 match = false; in ipvs_mt()
127 match = false; in ipvs_mt()
135 match = false; in ipvs_mt()
143 match = false; in ipvs_mt()
[all …]
A Dnf_tables_offload.c24 flow->rule->match.dissector = &flow->match.dissector; in nft_flow_rule_alloc()
25 flow->rule->match.mask = &flow->match.mask; in nft_flow_rule_alloc()
26 flow->rule->match.key = &flow->match.key; in nft_flow_rule_alloc()
34 struct nft_flow_match *match = &flow->match; in nft_flow_rule_set_addr_type() local
56 struct nft_flow_match *match = &flow->match; in nft_flow_rule_transfer_vlan() local
65 match->key.basic.n_proto = match->key.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
66 match->mask.basic.n_proto = match->mask.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
67 match->key.cvlan.vlan_tpid = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
68 match->mask.cvlan.vlan_tpid = match->mask.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
77 match->key.basic.n_proto = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_flower.c206 memcpy(&fs->val.lip[0], &match.key->dst, sizeof(match.key->dst)); in cxgb4_process_flow_match()
207 memcpy(&fs->val.fip[0], &match.key->src, sizeof(match.key->src)); in cxgb4_process_flow_match()
208 memcpy(&fs->mask.lip[0], &match.mask->dst, sizeof(match.mask->dst)); in cxgb4_process_flow_match()
209 memcpy(&fs->mask.fip[0], &match.mask->src, sizeof(match.mask->src)); in cxgb4_process_flow_match()
212 memcpy(&fs->nat_lip[0], &match.key->dst, sizeof(match.key->dst)); in cxgb4_process_flow_match()
213 memcpy(&fs->nat_fip[0], &match.key->src, sizeof(match.key->src)); in cxgb4_process_flow_match()
252 struct flow_match_ip match; in cxgb4_process_flow_match() local
276 vlan_tci = match.key->vlan_id | (match.key->vlan_priority << in cxgb4_process_flow_match()
278 vlan_tci_mask = match.mask->vlan_id | (match.mask->vlan_priority << in cxgb4_process_flow_match()
339 struct flow_match_ip match; in cxgb4_validate_flow_match() local
[all …]
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_tc.c500 struct flow_match_basic match; in otx2_tc_prepare_flow() local
509 if (match.mask->ip_proto && in otx2_tc_prepare_flow()
517 match.key->ip_proto); in otx2_tc_prepare_flow()
520 if (match.mask->ip_proto) in otx2_tc_prepare_flow()
572 (u8 *)&match.mask->dst); in otx2_tc_prepare_flow()
578 struct flow_match_ip match; in otx2_tc_prepare_flow() local
582 match.mask->tos) { in otx2_tc_prepare_flow()
586 if (match.mask->ttl) { in otx2_tc_prepare_flow()
596 struct flow_match_vlan match; in otx2_tc_prepare_flow() local
607 if (match.mask->vlan_id || in otx2_tc_prepare_flow()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-switch-flower.c33 acl_h = &acl_key->match; in dpaa2_switch_flower_parse_key()
37 struct flow_match_basic match; in dpaa2_switch_flower_parse_key() local
47 struct flow_match_eth_addrs match; in dpaa2_switch_flower_parse_key() local
57 struct flow_match_vlan match; in dpaa2_switch_flower_parse_key() local
63 match.key->vlan_dei; in dpaa2_switch_flower_parse_key()
68 match.mask->vlan_dei; in dpaa2_switch_flower_parse_key()
82 struct flow_match_ports match; in dpaa2_switch_flower_parse_key() local
92 struct flow_match_ip match; in dpaa2_switch_flower_parse_key() local
94 flow_rule_match_ip(rule, &match); in dpaa2_switch_flower_parse_key()
95 if (match.mask->ttl != 0) { in dpaa2_switch_flower_parse_key()
[all …]
/linux-6.3-rc2/lib/lz4/
A Dlz4_decompress.c123 const BYTE *match; in LZ4_decompress_generic() local
167 match = op - offset; in LZ4_decompress_generic()
291 match = op - offset; in LZ4_decompress_generic()
395 *op++ = *match++; in LZ4_decompress_generic()
406 op[0] = match[0]; in LZ4_decompress_generic()
407 op[1] = match[1]; in LZ4_decompress_generic()
408 op[2] = match[2]; in LZ4_decompress_generic()
409 op[3] = match[3]; in LZ4_decompress_generic()
414 LZ4_copy8(op, match); in LZ4_decompress_generic()
415 match += 8; in LZ4_decompress_generic()
[all …]
/linux-6.3-rc2/Documentation/sphinx/
A Dautomarkup.py142 base_target = match.group(2)
143 target_text = nodes.Text(match.group(0))
178 def markup_c_ref(docname, app, match): argument
202 base_target = match.group(2)
240 def markup_doc_ref(docname, app, match): argument
245 absolute = match.group(1)
246 target = match.group(2)
268 return nodes.Text(match.group(0))
274 match = RE_namespace.search(l)
275 if match:
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun_mplsoudp.c62 struct flow_match_mpls match; in parse_tunnel() local
76 flow_rule_match_mpls(rule, &match); in parse_tunnel()
79 if (match.mask->used_lses != 1) in parse_tunnel()
89 match.mask->ls[0].mpls_label); in parse_tunnel()
92 match.key->ls[0].mpls_label); in parse_tunnel()
96 match.mask->ls[0].mpls_tc); in parse_tunnel()
98 outer_first_mpls_over_udp.mpls_exp, match.key->ls[0].mpls_tc); in parse_tunnel()
102 match.mask->ls[0].mpls_bos); in parse_tunnel()
105 match.key->ls[0].mpls_bos); in parse_tunnel()
109 match.mask->ls[0].mpls_ttl); in parse_tunnel()
[all …]
/linux-6.3-rc2/fs/efivarfs/
A Dvars.c81 for (i = match; i < match+4; i++) { in validate_load_option()
88 if (namelen > match + 4) in validate_load_option()
201 int *match) in variable_matches() argument
203 for (*match = 0; ; (*match)++) { in variable_matches()
204 char c = match_name[*match]; in variable_matches()
213 return (*match == len); in variable_matches()
221 if (*match < len && c == var_name[*match]) in variable_matches()
246 int match = 0; in efivar_validate() local
255 return variable_validate[i].validate(var_name, match, in efivar_validate()
269 int match = 0; in efivar_variable_is_removable() local
[all …]
/linux-6.3-rc2/arch/x86/tools/
A Dgen-insn-attr-x86.awk245 if (match(i, imm_expr) == 1) {
293 if (match($i, opnd_expr)) {
298 if (match($i, ext_expr))
300 if (match($i, sep_expr))
314 if (match(ext, force64_expr))
318 if (match(opcode, rex_expr))
322 if (match(opcode, fpu_expr))
326 if (match(ext, evexonly_expr))
330 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr))
334 if (match(ext, prefix_expr)) {
[all …]
/linux-6.3-rc2/tools/arch/x86/tools/
A Dgen-insn-attr-x86.awk245 if (match(i, imm_expr) == 1) {
293 if (match($i, opnd_expr)) {
298 if (match($i, ext_expr))
300 if (match($i, sep_expr))
314 if (match(ext, force64_expr))
318 if (match(opcode, rex_expr))
322 if (match(opcode, fpu_expr))
326 if (match(ext, evexonly_expr))
330 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr))
334 if (match(ext, prefix_expr)) {
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_flower.c529 struct flow_match_meta match; in ocelot_flower_parse_indev() local
609 struct flow_match_vlan match; in ocelot_flower_parse_key() local
653 match.key->dst); in ocelot_flower_parse_key()
655 match.key->src); in ocelot_flower_parse_key()
657 match.mask->dst); in ocelot_flower_parse_key()
659 match.mask->src); in ocelot_flower_parse_key()
664 struct flow_match_basic match; in ocelot_flower_parse_key() local
676 match.key->ip_proto; in ocelot_flower_parse_key()
678 match.mask->ip_proto; in ocelot_flower_parse_key()
690 match.key->ip_proto; in ocelot_flower_parse_key()
[all …]
/linux-6.3-rc2/arch/sh/drivers/
A Dplatform_early.c216 struct platform_device *match; in sh_early_platform_driver_probe_id() local
251 match = NULL; in sh_early_platform_driver_probe_id()
257 if (match) { in sh_early_platform_driver_probe_id()
264 if (match->id != -1) in sh_early_platform_driver_probe_id()
265 match->dev.init_name = in sh_early_platform_driver_probe_id()
267 match->name, in sh_early_platform_driver_probe_id()
268 match->id); in sh_early_platform_driver_probe_id()
270 match->dev.init_name = in sh_early_platform_driver_probe_id()
272 match->name); in sh_early_platform_driver_probe_id()
274 if (!match->dev.init_name) in sh_early_platform_driver_probe_id()
[all …]

Completed in 56 milliseconds

12345678910>>...66