Home
last modified time | relevance | path

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

12345678910>>...59

/linux/tools/testing/selftests/net/
H A Dfib_rule_tests.sh123 echo "SKIP: iproute2 iprule too old, missing $1 match"
129 echo "SKIP: iproute2 get route too old, missing $2 match"
150 local match="$1"
156 $IP -6 rule add $match table $RTABLE
163 fib_rule6_del_by_pref "$match"
169 local match="$1"
172 $IP -6 rule add $match table $RTABLE 2>/dev/null
174 log_test $rc 2 "rule6 check: $match"
177 $IP -6 rule del $match table $RTABLE
186 local match
[all...]
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c30 struct flow_match_vlan match; in nfp_flower_compile_tci() local
32 flow_rule_match_vlan(rule, &match); in nfp_flower_compile_tci()
36 match.key->vlan_priority) | in nfp_flower_compile_tci()
38 match.key->vlan_id); in nfp_flower_compile_tci()
42 match.mask->vlan_priority) | in nfp_flower_compile_tci()
44 match.mask->vlan_id); in nfp_flower_compile_tci()
85 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid ingress interface for match offload"); in nfp_flower_compile_port()
100 struct flow_match_eth_addrs match; in nfp_flower_compile_mac() local
104 flow_rule_match_eth_addrs(rule, &match); in nfp_flower_compile_mac()
107 tmp = match in nfp_flower_compile_mac()
125 struct flow_match_mpls match; nfp_flower_compile_mpls() local
160 struct flow_match_basic match; nfp_flower_compile_mpls() local
193 struct flow_match_ports match; nfp_flower_compile_tport() local
213 struct flow_match_basic match; nfp_flower_compile_ip_ext() local
221 struct flow_match_ip match; nfp_flower_compile_ip_ext() local
237 struct flow_match_tcp match; nfp_flower_compile_ip_ext() local
270 struct flow_match_control match; nfp_flower_compile_ip_ext() local
285 nfp_flower_fill_vlan(struct flow_match_vlan * match,struct nfp_flower_vlan * ext,struct nfp_flower_vlan * msk,bool outer_vlan) nfp_flower_fill_vlan() argument
322 struct flow_match_vlan match; nfp_flower_compile_vlan() local
339 struct flow_match_ipv4_addrs match; nfp_flower_compile_ipv4() local
361 struct flow_match_ipv6_addrs match; nfp_flower_compile_ipv6() local
387 struct flow_match_enc_opts match; nfp_flower_compile_geneve_opt() local
406 struct flow_match_ipv4_addrs match; nfp_flower_compile_tun_ipv4_addrs() local
422 struct flow_match_ipv6_addrs match; nfp_flower_compile_tun_ipv6_addrs() local
443 struct flow_match_ip match; nfp_flower_compile_tun_ip_ext() local
458 struct flow_match_enc_keyid match; nfp_flower_compile_tun_udp_key() local
475 struct flow_match_enc_keyid match; nfp_flower_compile_tun_gre_key() local
[all...]
/linux/sound/soc/intel/common/
H A DMakefile2 snd-soc-acpi-intel-match-y := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o \
3 soc-acpi-intel-hsw-bdw-match.o \
4 soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
5 soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \
6 soc-acpi-intel-cnl-match.o soc-acpi-intel-cfl-match
[all...]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c307 const struct flow_match_meta *match, in mlxsw_sp_flower_parse_meta_iif() argument
313 if (!match->mask->ingress_ifindex) in mlxsw_sp_flower_parse_meta_iif()
316 if (match->mask->ingress_ifindex != 0xFFFFFFFF) { in mlxsw_sp_flower_parse_meta_iif()
322 match->key->ingress_ifindex); in mlxsw_sp_flower_parse_meta_iif()
324 NL_SET_ERR_MSG_MOD(extack, "Can't find specified ingress port to match on"); in mlxsw_sp_flower_parse_meta_iif()
329 NL_SET_ERR_MSG_MOD(extack, "Can't match on non-mlxsw ingress port"); in mlxsw_sp_flower_parse_meta_iif()
335 NL_SET_ERR_MSG_MOD(extack, "Can't match on a port from different device"); in mlxsw_sp_flower_parse_meta_iif()
352 struct flow_match_meta match; in mlxsw_sp_flower_parse_meta() local
357 flow_rule_match_meta(rule, &match); in mlxsw_sp_flower_parse_meta()
360 match in mlxsw_sp_flower_parse_meta()
369 struct flow_match_ipv4_addrs match; mlxsw_sp_flower_parse_ipv4() local
384 struct flow_match_ipv6_addrs match; mlxsw_sp_flower_parse_ipv6() local
420 struct flow_match_ports match; mlxsw_sp_flower_parse_ports() local
447 struct flow_match_ports_range match; mlxsw_sp_flower_parse_ports_range() local
509 struct flow_match_tcp match; mlxsw_sp_flower_parse_tcp() local
540 struct flow_match_ip match; mlxsw_sp_flower_parse_ip() local
604 struct flow_match_control match; mlxsw_sp_flower_parse() local
615 struct flow_match_basic match; mlxsw_sp_flower_parse() local
637 struct flow_match_eth_addrs match; mlxsw_sp_flower_parse() local
659 struct flow_match_vlan match; mlxsw_sp_flower_parse() local
[all...]
H A Dspectrum_dpipe.c102 struct devlink_dpipe_match match = {0}; in mlxsw_sp_dpipe_table_erif_matches_dump() local
104 match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; in mlxsw_sp_dpipe_table_erif_matches_dump()
105 match.header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_dpipe_table_erif_matches_dump()
106 match.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT; in mlxsw_sp_dpipe_table_erif_matches_dump()
108 return devlink_dpipe_match_put(skb, &match); in mlxsw_sp_dpipe_table_erif_matches_dump()
112 mlxsw_sp_erif_match_action_prepare(struct devlink_dpipe_match *match, in mlxsw_sp_erif_match_action_prepare() argument
119 match->type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; in mlxsw_sp_erif_match_action_prepare()
120 match->header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_erif_match_action_prepare()
121 match->field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT; in mlxsw_sp_erif_match_action_prepare()
126 struct devlink_dpipe_match *match, in mlxsw_sp_erif_entry_prepare() argument
197 struct devlink_dpipe_match match = {0}; mlxsw_sp_dpipe_table_erif_entries_dump() local
313 struct devlink_dpipe_match match = {0}; mlxsw_sp_dpipe_table_host_matches_dump() local
372 struct devlink_dpipe_match *match; mlxsw_sp_dpipe_table_host_match_action_prepare() local
409 struct devlink_dpipe_match *match; mlxsw_sp_dpipe_table_host_entry_prepare() local
862 struct devlink_dpipe_match match = {0}; mlxsw_sp_dpipe_table_adj_matches_dump() local
939 struct devlink_dpipe_match *match; mlxsw_sp_dpipe_table_adj_match_action_prepare() local
976 struct devlink_dpipe_match *match; mlxsw_sp_dpipe_table_adj_entry_prepare() local
[all...]
/linux/drivers/base/
H A Dcomponent.c33 * Aggregate drivers first assemble a component match list of what they need
62 struct component_match *match; member
86 struct component_match *match = m->match; in component_devices_show() local
97 for (i = 0; i < match->num; i++) { in component_devices_show()
98 struct component *component = match->compare[i].component; in component_devices_show()
175 struct component_match *match = adev->match; in find_components() local
180 * Scan the array of match functions and attach in find_components()
183 for (i = 0; i < match in find_components()
346 struct component_match *match = res; devm_component_match_release() local
359 component_match_realloc(struct component_match * match,size_t num) component_match_realloc() argument
388 struct component_match *match = *matchptr; __component_match_add() local
483 struct component_match *match = adev->match; free_aggregate_device() local
514 component_master_add_with_match(struct device * parent,const struct component_master_ops * ops,struct component_match * match) component_master_add_with_match() argument
[all...]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flower.c144 struct prestera_acl_match *r_match = &rule->re_key.match; in prestera_flower_parse_meta()
147 struct flow_match_meta match; in prestera_flower_parse_meta() local
150 flow_rule_match_meta(f_rule, &match); in prestera_flower_parse_meta()
152 if (match.mask->l2_miss) { in prestera_flower_parse_meta()
153 NL_SET_ERR_MSG_MOD(f->common.extack, "Can't match on \"l2_miss\""); in prestera_flower_parse_meta()
157 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in prestera_flower_parse_meta()
164 match.key->ingress_ifindex); in prestera_flower_parse_meta()
167 "Can't find specified ingress port to match on"); in prestera_flower_parse_meta()
173 "Can't match on switchdev ingress port"); in prestera_flower_parse_meta()
196 struct flow_dissector *dissector = f_rule->match in prestera_flower_parse()
228 struct flow_match_control match; prestera_flower_parse() local
239 struct flow_match_basic match; prestera_flower_parse() local
259 struct flow_match_eth_addrs match; prestera_flower_parse() local
287 struct flow_match_ipv4_addrs match; prestera_flower_parse() local
299 struct flow_match_ports match; prestera_flower_parse() local
318 struct flow_match_ports_range match; prestera_flower_parse() local
341 struct flow_match_vlan match; prestera_flower_parse() local
358 struct flow_match_icmp match; prestera_flower_parse() local
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dtc.c230 match->value._field = fm.key->_tcfield; \
231 match->mask._field = fm.mask->_tcfield; \
240 struct efx_tc_match *match, in efx_tc_flower_parse_match() argument
243 struct flow_dissector *dissector = rule->match.dissector; in efx_tc_flower_parse_match()
269 match->value.ip_frag = fm.key->flags & FLOW_DIS_IS_FRAGMENT; in efx_tc_flower_parse_match()
270 match->mask.ip_frag = true; in efx_tc_flower_parse_match()
273 match->value.ip_firstfrag = fm.key->flags & FLOW_DIS_FIRST_FRAG; in efx_tc_flower_parse_match()
274 match->mask.ip_firstfrag = true; in efx_tc_flower_parse_match()
306 if (!IS_ALL_ONES(match->mask.eth_proto) || in efx_tc_flower_parse_match()
307 !(match in efx_tc_flower_parse_match()
490 efx_tc_flower_record_encap_match(struct efx_nic * efx,struct efx_tc_match * match,enum efx_encap_type type,enum efx_tc_em_pseudo_type em_type,u8 child_ip_tos_mask,__be16 child_udp_sport_mask,struct netlink_ext_ack * extack) efx_tc_flower_record_encap_match() argument
854 efx_tc_rule_is_lhs_rule(struct flow_rule * fr,struct efx_tc_match * match) efx_tc_rule_is_lhs_rule() argument
893 efx_tc_flower_translate_flhs_match(struct efx_tc_match * match) efx_tc_flower_translate_flhs_match() argument
945 efx_tc_flower_flhs_needs_ar(struct efx_tc_match * match) efx_tc_flower_flhs_needs_ar() argument
1243 efx_tc_mangle(struct efx_nic * efx,struct efx_tc_action_set * act,const struct flow_action_entry * fa,struct efx_tc_mangler_state * mung,struct netlink_ext_ack * extack,struct efx_tc_match * match) efx_tc_mangle() argument
1455 efx_tc_flower_replace_foreign_lhs_ar(struct efx_nic * efx,struct flow_cls_offload * tc,struct flow_rule * fr,struct efx_tc_match * match,struct net_device * net_dev) efx_tc_flower_replace_foreign_lhs_ar() argument
1559 efx_tc_flower_replace_foreign_lhs(struct efx_nic * efx,struct flow_cls_offload * tc,struct flow_rule * fr,struct efx_tc_match * match,struct net_device * net_dev) efx_tc_flower_replace_foreign_lhs() argument
1678 struct efx_tc_match match; efx_tc_flower_replace_foreign() local
1994 efx_tc_flower_replace_lhs(struct efx_nic * efx,struct flow_cls_offload * tc,struct flow_rule * fr,struct efx_tc_match * match,struct efx_rep * efv,struct net_device * net_dev) efx_tc_flower_replace_lhs() argument
2079 struct efx_tc_match match; efx_tc_flower_replace() local
2669 struct efx_tc_match *match = &rule->match; efx_tc_configure_default_rule() local
[all...]
/linux/net/sched/
H A Dem_ipt.c22 const struct xt_match *match; member
53 mtpar.family = im->match->family; in check_match()
54 mtpar.match = im->match; in check_match()
63 pr_err("only policy match revision 0 supported"); in policy_validate_match_data()
78 pr_err("only addrtype match revision 1 supported"); in addrtype_validate_match_data()
111 pr_err("Unsupported xt match"); in get_xt_match()
131 struct xt_match *match; in em_ipt_change() local
153 match = get_xt_match(tb); in em_ipt_change()
154 if (IS_ERR(match)) { in em_ipt_change()
[all...]
/linux/drivers/media/v4l2-core/
H A Dv4l2-async.c68 struct v4l2_async_match_desc *match) in match_i2c() argument
74 match->i2c.adapter_id == client->adapter->nr && in match_i2c()
75 match->i2c.address == client->addr; in match_i2c()
95 struct v4l2_async_match_desc *match) in match_fwnode_one() argument
101 "v4l2-async: fwnode match: need %pfw, trying %pfw\n", in match_fwnode_one()
102 sd_fwnode, match->fwnode); in match_fwnode_one()
104 if (sd_fwnode == match->fwnode) { in match_fwnode_one()
106 "v4l2-async: direct match found\n"); in match_fwnode_one()
110 if (!fwnode_graph_is_endpoint(match->fwnode)) { in match_fwnode_one()
112 "v4l2-async: direct match no in match_fwnode_one()
131 match_fwnode(struct v4l2_async_notifier * notifier,struct v4l2_subdev * sd,struct v4l2_async_match_desc * match) match_fwnode() argument
182 bool (*match)(struct v4l2_async_notifier *notifier, v4l2_async_find_match() local
495 v4l2_async_nf_has_async_match_entry(struct v4l2_async_notifier * notifier,struct v4l2_async_match_desc * match) v4l2_async_nf_has_async_match_entry() argument
516 v4l2_async_nf_has_async_match(struct v4l2_async_notifier * notifier,struct v4l2_async_match_desc * match) v4l2_async_nf_has_async_match() argument
547 v4l2_async_nf_match_valid(struct v4l2_async_notifier * notifier,struct v4l2_async_match_desc * match) v4l2_async_nf_match_valid() argument
898 print_waiting_match(struct seq_file * s,struct v4l2_async_match_desc * match) print_waiting_match() argument
[all...]
/linux/drivers/regulator/
H A Ddevres.c347 struct regulator_bulk_devres *match = res; in devm_regulator_bulk_match() local
353 * regulators match but ATM I don't see the need. We can change this in devm_regulator_bulk_match()
356 return match->consumers == target; in devm_regulator_bulk_match()
496 struct regulator_supply_alias_match *match = res; in devm_regulator_match_supply_alias() local
499 return match->dev == target->dev && strcmp(match->id, target->id) == 0; in devm_regulator_match_supply_alias()
504 struct regulator_supply_alias_match *match = res; in devm_regulator_destroy_supply_alias() local
506 regulator_unregister_supply_alias(match->dev, match->id); in devm_regulator_destroy_supply_alias()
526 struct regulator_supply_alias_match *match; in devm_regulator_register_supply_alias() local
553 struct regulator_supply_alias_match match; devm_regulator_unregister_supply_alias() local
623 struct regulator_notifier_match *match = res; devm_regulator_match_notifier() local
631 struct regulator_notifier_match *match = res; devm_regulator_destroy_notifier() local
649 struct regulator_notifier_match *match; devm_regulator_register_notifier() local
687 struct regulator_notifier_match match; devm_regulator_unregister_notifier() local
[all...]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c577 struct flow_match_vlan match; in otx2_tc_process_vlan() local
581 flow_rule_match_cvlan(rule, &match); in otx2_tc_process_vlan()
583 flow_rule_match_vlan(rule, &match); in otx2_tc_process_vlan()
585 if (!eth_type_vlan(match.key->vlan_tpid)) { in otx2_tc_process_vlan()
587 ntohs(match.key->vlan_tpid)); in otx2_tc_process_vlan()
591 if (!match.mask->vlan_id) { in otx2_tc_process_vlan()
599 ntohs(match.key->vlan_tpid), match.key->vlan_id); in otx2_tc_process_vlan()
605 if (match.mask->vlan_id || in otx2_tc_process_vlan()
606 match in otx2_tc_process_vlan()
663 struct flow_match_basic match; otx2_tc_prepare_flow() local
705 struct flow_match_control match; otx2_tc_prepare_flow() local
733 struct flow_match_eth_addrs match; otx2_tc_prepare_flow() local
750 struct flow_match_ipsec match; otx2_tc_prepare_flow() local
770 struct flow_match_ip match; otx2_tc_prepare_flow() local
804 struct flow_match_ipv4_addrs match; otx2_tc_prepare_flow() local
816 struct flow_match_ipv6_addrs match; otx2_tc_prepare_flow() local
849 struct flow_match_ports match; otx2_tc_prepare_flow() local
879 struct flow_match_tcp match; otx2_tc_prepare_flow() local
889 struct flow_match_mpls match; otx2_tc_prepare_flow() local
944 struct flow_match_icmp match; otx2_tc_prepare_flow() local
[all...]
/linux/net/netfilter/
H A Dxt_ipvs.c3 * xt_ipvs - kernel module to match IPVS connection properties
26 MODULE_DESCRIPTION("Xtables: match IPVS connection properties");
58 bool match = true; in ipvs_mt() local
61 match = skb->ipvs_property ^ in ipvs_mt()
68 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 in ipvs_mt()
[all...]
H A Dxt_owner.c3 * Kernel module to match various things tied to sockets associated with
25 if (info->match & ~XT_OWNER_MASK) in owner_check()
31 if ((info->match & (XT_OWNER_UID|XT_OWNER_GID)) && in owner_check()
36 if (info->match & XT_OWNER_UID) { in owner_check()
48 if (info->match & XT_OWNER_GID) { in owner_check()
71 return (info->match ^ info->invert) == 0; in owner_mt()
72 else if (info->match & info->invert & XT_OWNER_SOCKET) in owner_mt()
83 return ((info->match ^ info->invert) & in owner_mt()
87 if (info->match & XT_OWNER_UID) { in owner_mt()
98 if (info->match in owner_mt()
99 unsigned int i, match = false; owner_mt() local
[all...]
H 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
35 struct nft_flow_key *mask = &match->mask; in nft_flow_rule_set_addr_type()
36 struct nft_flow_key *key = &match in nft_flow_rule_set_addr_type()
56 struct nft_flow_match *match = &flow->match; nft_flow_rule_transfer_vlan() local
[all...]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c1291 * @match: Pointer to flow match structure
1297 ice_tc_set_pppoe(struct flow_match_pppoe *match, in ice_tc_set_pppoe() argument
1301 if (match->mask->session_id) { in ice_tc_set_pppoe()
1303 headers->pppoe_hdr.session_id = match->key->session_id; in ice_tc_set_pppoe()
1306 if (match->mask->ppp_proto) { in ice_tc_set_pppoe()
1308 headers->pppoe_hdr.ppp_proto = match->key->ppp_proto; in ice_tc_set_pppoe()
1311 return be16_to_cpu(match->key->type); in ice_tc_set_pppoe()
1316 * @match: Pointer to flow match structur
1322 ice_tc_set_ipv4(struct flow_match_ipv4_addrs * match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers,bool is_encap) ice_tc_set_ipv4() argument
1353 ice_tc_set_ipv6(struct flow_match_ipv6_addrs * match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers,bool is_encap) ice_tc_set_ipv6() argument
1415 ice_tc_set_tos_ttl(struct flow_match_ip * match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers,bool is_encap) ice_tc_set_tos_ttl() argument
1449 ice_tc_set_port(struct flow_match_ports match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers,bool is_encap) ice_tc_set_port() argument
1503 ice_parse_gtp_type(struct flow_match_ports match,struct ice_tc_flower_fltr * fltr) ice_parse_gtp_type() argument
1556 struct flow_match_ipv4_addrs match; ice_parse_tunnel_attr() local
1563 struct flow_match_ipv6_addrs match; ice_parse_tunnel_attr() local
1571 struct flow_match_ip match; ice_parse_tunnel_attr() local
1579 struct flow_match_ports match; ice_parse_tunnel_attr() local
1594 struct flow_match_enc_opts match; ice_parse_tunnel_attr() local
1609 struct flow_match_enc_opts match; ice_parse_tunnel_attr() local
1707 struct flow_match_basic match; ice_parse_cls_flower() local
1743 struct flow_match_eth_addrs match; ice_parse_cls_flower() local
1768 struct flow_match_vlan match; ice_parse_cls_flower() local
1807 struct flow_match_vlan match; ice_parse_cls_flower() local
1838 struct flow_match_pppoe match; ice_parse_cls_flower() local
1854 struct flow_match_control match; ice_parse_cls_flower() local
1866 struct flow_match_ipv4_addrs match; ice_parse_cls_flower() local
1874 struct flow_match_ipv6_addrs match; ice_parse_cls_flower() local
1882 struct flow_match_ip match; ice_parse_cls_flower() local
1889 struct flow_match_l2tpv3 match; ice_parse_cls_flower() local
1898 struct flow_match_ports match; ice_parse_cls_flower() local
[all...]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-flower.c15 struct flow_dissector *dissector = rule->match.dissector; in dpaa2_switch_flower_parse_key()
33 acl_h = &acl_key->match; in dpaa2_switch_flower_parse_key()
40 struct flow_match_basic match; in dpaa2_switch_flower_parse_key() local
42 flow_rule_match_basic(rule, &match); in dpaa2_switch_flower_parse_key()
43 acl_h->l3_protocol = match.key->ip_proto; in dpaa2_switch_flower_parse_key()
44 acl_h->l2_ether_type = be16_to_cpu(match.key->n_proto); in dpaa2_switch_flower_parse_key()
45 acl_m->l3_protocol = match.mask->ip_proto; in dpaa2_switch_flower_parse_key()
46 acl_m->l2_ether_type = be16_to_cpu(match.mask->n_proto); in dpaa2_switch_flower_parse_key()
50 struct flow_match_eth_addrs match; in dpaa2_switch_flower_parse_key() local
52 flow_rule_match_eth_addrs(rule, &match); in dpaa2_switch_flower_parse_key()
60 struct flow_match_vlan match; dpaa2_switch_flower_parse_key() local
75 struct flow_match_ipv4_addrs match; dpaa2_switch_flower_parse_key() local
85 struct flow_match_ports match; dpaa2_switch_flower_parse_key() local
95 struct flow_match_ip match; dpaa2_switch_flower_parse_key() local
558 struct flow_match_vlan match; dpaa2_switch_flower_parse_mirror_key() local
[all...]
/linux/drivers/gpu/drm/xe/
H A Dxe_rtp.c40 bool match; in rule_matches() local
52 match = xe->info.platform == r->platform; in rule_matches()
55 match = xe->info.platform == r->platform && in rule_matches()
62 match = xe->info.graphics_verx100 == r->ver_start && in rule_matches()
69 match = xe->info.graphics_verx100 >= r->ver_start && in rule_matches()
77 match = xe->info.graphics_verx100 == r->ver_start; in rule_matches()
83 match = xe->info.step.graphics >= r->step_start && in rule_matches()
91 match = xe->info.media_verx100 == r->ver_start && in rule_matches()
98 match = xe->info.media_verx100 >= r->ver_start && in rule_matches()
106 match in rule_matches()
296 bool match = false; xe_rtp_process_to_sr() local
[all...]
/linux/tools/arch/x86/tools/
H A Dgen-insn-attr-x86.awk252 if (match(i, imm_expr) == 1) {
261 } else if (match(i, modrm_expr))
300 if (match($i, opnd_expr)) {
305 if (match($i, ext_expr))
307 if (match($i, sep_expr))
313 if (match(opcode, group_expr)) {
321 if (match(ext, force64_expr))
325 if (match(ext, invalid64_expr) &&
326 !match($0, only64_expr))
330 if (match(ex
[all...]
/linux/arch/x86/tools/
H A Dgen-insn-attr-x86.awk252 if (match(i, imm_expr) == 1) {
261 } else if (match(i, modrm_expr))
300 if (match($i, opnd_expr)) {
305 if (match($i, ext_expr))
307 if (match($i, sep_expr))
313 if (match(opcode, group_expr)) {
321 if (match(ext, force64_expr))
325 if (match(ext, invalid64_expr) &&
326 !match($0, only64_expr))
330 if (match(ex
[all...]
/linux/fs/efivarfs/
H A Dvars.c28 validate_device_path(efi_char16_t *var_name, int match, u8 *buffer, in validate_device_path() argument
61 validate_boot_order(efi_char16_t *var_name, int match, u8 *buffer, in validate_boot_order() argument
72 validate_load_option(efi_char16_t *var_name, int match, u8 *buffer, in validate_load_option() argument
81 for (i = match; i < match+4; i++) { in validate_load_option()
88 if (namelen > match + 4) in validate_load_option()
118 return validate_device_path(var_name, match, buffer + desclength + 6, in validate_load_option()
123 validate_uint16(efi_char16_t *var_name, int match, u8 *buffer, in validate_uint16() argument
134 validate_ascii_string(efi_char16_t *var_name, int match, u8 *buffer, in validate_ascii_string() argument
153 bool (*validate)(efi_char16_t *var_name, int match, u
201 variable_matches(const char * var_name,size_t len,const char * match_name,int * match) variable_matches() argument
271 int match = 0; efivar_validate() local
294 int match = 0; efivar_variable_is_removable() local
[all...]
/linux/lib/lz4/
H A Dlz4_decompress.c122 const BYTE *match; in LZ4_decompress_generic() local
138 * 2) Further if the match length is 4..18, copy 18 bytes in LZ4_decompress_generic()
160 * prepare for match copying, decode full info. in LZ4_decompress_generic()
163 length = token & ML_MASK; /* match length */ in LZ4_decompress_generic()
166 match = op - offset; in LZ4_decompress_generic()
167 assert(match <= op); /* check overflow */ in LZ4_decompress_generic()
172 (dict == withPrefix64k || match >= lowPrefix)) { in LZ4_decompress_generic()
173 /* Copy the match. */ in LZ4_decompress_generic()
174 LZ4_memcpy(op + 0, match + 0, 8); in LZ4_decompress_generic()
175 LZ4_memcpy(op + 8, match in LZ4_decompress_generic()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H 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 in parse_tunnel()
[all...]
/linux/arch/sh/drivers/
H A Dplatform_early.c33 /* Then try to match against the id table */ in platform_match()
37 /* fall-back to driver name match */ in platform_match()
172 * @id: id to match against
208 * @id: id to match against
216 struct platform_device *match; in sh_early_platform_driver_probe_id() local
251 match = NULL; in sh_early_platform_driver_probe_id()
254 match = sh_early_platform_match(epdrv, match_id); in sh_early_platform_driver_probe_id()
257 if (match) { in sh_early_platform_driver_probe_id()
263 if (!match->dev.init_name && slab_is_available()) { in sh_early_platform_driver_probe_id()
264 if (match in sh_early_platform_driver_probe_id()
[all...]
/linux/drivers/tty/serial/
H A Dearlycon.c138 static int __init register_earlycon(char *buf, const struct earlycon_id *match) in register_earlycon() argument
153 earlycon_init(&early_console_dev, match->name); in register_earlycon()
154 err = match->setup(&early_console_dev, buf); in register_earlycon()
166 * setup_earlycon - match and register earlycon console
185 const struct earlycon_id *match; in setup_earlycon() local
195 for (match = __earlycon_table; match < __earlycon_table_end; match++) { in setup_earlycon()
196 size_t len = strlen(match->name); in setup_earlycon()
198 if (strncmp(buf, match in setup_earlycon()
276 of_setup_earlycon(const struct earlycon_id * match,unsigned long node,const char * options) of_setup_earlycon() argument
[all...]

12345678910>>...59