| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | fib_rule_tests.sh | 75 echo "SKIP: iproute2 iprule too old, missing $1 match" 81 echo "SKIP: iproute2 get route too old, missing $2 match" 102 local match="$1" 105 $IP -6 rule add $match table $RTABLE 109 fib_rule6_del_by_pref "$match" 110 log_test $? 0 "rule6 del by pref: $match" 118 match="oif $DEV" 119 fib_rule6_test_match_n_redirect "$match" "$match" "oif redirect to table" 121 match="from $SRC_IP6 iif $DEV" 122 fib_rule6_test_match_n_redirect "$match" "$match" "iif redirect to table" [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
| D | match.c | 30 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.key->dst[i] & match.mask->dst[i]; in nfp_flower_compile_mac() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
| D | match.c | 28 struct flow_match_vlan match; in nfp_flower_compile_meta_tci() local 30 flow_rule_match_vlan(rule, &match); in nfp_flower_compile_meta_tci() 34 match.key->vlan_priority) | in nfp_flower_compile_meta_tci() 36 match.key->vlan_id); in nfp_flower_compile_meta_tci() 41 match.mask->vlan_priority) | in nfp_flower_compile_meta_tci() 43 match.mask->vlan_id); in nfp_flower_compile_meta_tci() 68 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid ingress interface for match offload"); in nfp_flower_compile_port() 86 struct flow_match_eth_addrs match; in nfp_flower_compile_mac() local 88 flow_rule_match_eth_addrs(rule, &match); in nfp_flower_compile_mac() 90 ether_addr_copy(ext->mac_dst, &match.key->dst[0]); in nfp_flower_compile_mac() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/common/ |
| D | Makefile | 4 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-lnl-match.o \ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | fib_rule_tests.sh | 141 echo "SKIP: iproute2 iprule too old, missing $1 match" 147 echo "SKIP: iproute2 get route too old, missing $2 match" 168 local match="$1" 172 $IP -6 rule add $match table $RTABLE 176 fib_rule6_del_by_pref "$match" 182 local match="$1" 185 $IP -6 rule add $match table $RTABLE 2>/dev/null 187 log_test $rc 2 "rule6 check: $match" 190 $IP -6 rule del $match table $RTABLE 197 local match [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_flower.c | 297 const struct flow_match_meta *match, in mlxsw_sp_flower_parse_meta_iif() argument 303 if (!match->mask->ingress_ifindex) in mlxsw_sp_flower_parse_meta_iif() 306 if (match->mask->ingress_ifindex != 0xFFFFFFFF) { in mlxsw_sp_flower_parse_meta_iif() 312 match->key->ingress_ifindex); in mlxsw_sp_flower_parse_meta_iif() 314 NL_SET_ERR_MSG_MOD(extack, "Can't find specified ingress port to match on"); in mlxsw_sp_flower_parse_meta_iif() 319 NL_SET_ERR_MSG_MOD(extack, "Can't match on non-mlxsw ingress port"); in mlxsw_sp_flower_parse_meta_iif() 325 NL_SET_ERR_MSG_MOD(extack, "Can't match on a port from different device"); in mlxsw_sp_flower_parse_meta_iif() 342 struct flow_match_meta match; in mlxsw_sp_flower_parse_meta() local 347 flow_rule_match_meta(rule, &match); in mlxsw_sp_flower_parse_meta() 350 match.key->l2_miss, match.mask->l2_miss); in mlxsw_sp_flower_parse_meta() [all …]
|
| D | spectrum_dpipe.c | 102 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 [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_flower.c | 223 struct flow_match_meta match; in mlxsw_sp_flower_parse_meta() local 228 flow_rule_match_meta(rule, &match); in mlxsw_sp_flower_parse_meta() 229 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in mlxsw_sp_flower_parse_meta() 235 match.key->ingress_ifindex); in mlxsw_sp_flower_parse_meta() 237 NL_SET_ERR_MSG_MOD(f->common.extack, "Can't find specified ingress port to match on"); in mlxsw_sp_flower_parse_meta() 242 NL_SET_ERR_MSG_MOD(f->common.extack, "Can't match on non-mlxsw ingress port"); in mlxsw_sp_flower_parse_meta() 248 NL_SET_ERR_MSG_MOD(f->common.extack, "Can't match on a port from different device"); in mlxsw_sp_flower_parse_meta() 262 struct flow_match_ipv4_addrs match; in mlxsw_sp_flower_parse_ipv4() local 264 flow_rule_match_ipv4_addrs(f->rule, &match); in mlxsw_sp_flower_parse_ipv4() 267 (char *) &match.key->src, in mlxsw_sp_flower_parse_ipv4() [all …]
|
| D | spectrum_dpipe.c | 102 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 [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_flower.c | 144 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.dissector; in prestera_flower_parse() [all …]
|
| /kernel/linux/linux-5.10/drivers/base/ |
| D | component.c | 38 * Aggregate drivers first assemble a component match list of what they need 67 struct component_match *match; member 92 struct component_match *match = m->match; in component_devices_show() local 103 for (i = 0; i < match->num; i++) { in component_devices_show() 104 struct component *component = match->compare[i].component; in component_devices_show() 183 struct component_match *match = master->match; in find_components() local 188 * Scan the array of match functions and attach in find_components() 191 for (i = 0; i < match->num; i++) { in find_components() 192 struct component_match_array *mc = &match->compare[i]; in find_components() 197 if (match->compare[i].component) in find_components() [all …]
|
| /kernel/linux/linux-6.6/drivers/base/ |
| D | component.c | 33 * 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->num; i++) { in find_components() 184 struct component_match_array *mc = &match->compare[i]; in find_components() 189 if (match->compare[i].component) in find_components() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/common/ |
| D | Makefile | 4 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 \ 12 soc-acpi-intel-hda-match.o 15 obj-$(CONFIG_SND_SOC_ACPI_INTEL_MATCH) += snd-soc-acpi-intel-match.o
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | Kconfig | 70 filtering (see `Connection state match support' below). 90 `CONNMARK' target and `connmark' match. Similar to the mark value 164 match and the nftables ct expression. 481 This option adds the "ct" expression that you can use to match 567 This option adds the "quota" expression that you can use to match 589 x_tables match/target extensions over the nf_tables 619 tristate "Netfilter nf_tables socket match support" 718 tristate 'nfmark target and match support' 721 This option adds the "MARK" target and "mark" match. 723 Netfilter mark matching allows you to match packets based on the [all …]
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| D | Kconfig | 94 filtering (see `Connection state match support' below). 119 `CONNMARK' target and `connmark' match. Similar to the mark value 193 match and the nftables ct expression. 516 This option adds the "ct" expression that you can use to match 590 This option adds the "quota" expression that you can use to match 612 x_tables match/target extensions over the nf_tables 642 tristate "Netfilter nf_tables socket match support" 768 tristate 'nfmark target and match support' 771 This option adds the "MARK" target and "mark" match. 773 Netfilter mark matching allows you to match packets based on the [all …]
|
| /kernel/linux/linux-6.6/net/sched/ |
| D | em_ipt.c | 22 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() 155 pr_err("unable to load match\n"); in em_ipt_change() [all …]
|
| /kernel/linux/linux-5.10/net/sched/ |
| D | em_ipt.c | 22 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() 155 pr_err("unable to load match\n"); in em_ipt_change() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
| D | v4l2-async.c | 68 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 not found\n"); in match_fwnode_one() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/ |
| D | renesas,rz-mtu3.yaml | 22 - Waveform output on compare match 27 - Simultaneous clearing on compare match or input capture 121 - description: MTU0.TGRA input capture/compare match 122 - description: MTU0.TGRB input capture/compare match 123 - description: MTU0.TGRC input capture/compare match 124 - description: MTU0.TGRD input capture/compare match 126 - description: MTU0.TGRE compare match 127 - description: MTU0.TGRF compare match 128 - description: MTU1.TGRA input capture/compare match 129 - description: MTU1.TGRB input capture/compare match [all …]
|
| /kernel/linux/linux-5.10/lib/xz/ |
| D | xz_lzma2.h | 35 * - Match: Repeat a chunk of data at some distance 36 * - Long repeat: Multi-byte match at a recently seen distance 40 * either short or long repeated match, and NONLIT means any non-literal. 74 /* Indicate that the latest symbol was a match. */ 80 /* Indicate that the latest state was a long repeated match. */ 86 /* Indicate that the latest symbol was a short match. */ 99 * - 0x001-0x0FF: Without match byte 100 * - 0x101-0x1FF: With match byte; match bit is 0 101 * - 0x201-0x2FF: With match byte; match bit is 1 103 * Match byte is used when the previous LZMA symbol was something else than [all …]
|
| /kernel/linux/linux-6.6/lib/xz/ |
| D | xz_lzma2.h | 35 * - Match: Repeat a chunk of data at some distance 36 * - Long repeat: Multi-byte match at a recently seen distance 40 * either short or long repeated match, and NONLIT means any non-literal. 74 /* Indicate that the latest symbol was a match. */ 80 /* Indicate that the latest state was a long repeated match. */ 86 /* Indicate that the latest symbol was a short match. */ 99 * - 0x001-0x0FF: Without match byte 100 * - 0x101-0x1FF: With match byte; match bit is 0 101 * - 0x201-0x2FF: With match byte; match bit is 1 103 * Match byte is used when the previous LZMA symbol was something else than [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
| D | tc_flower.sh | 56 check_fail $? "Did not match on correct filter" 61 log_test "dst_mac match ($tcflags)" 82 check_fail $? "Did not match on correct filter" 87 log_test "src_mac match ($tcflags)" 108 check_err $? "Did not match on correct filter" 116 check_err $? "Did not match on correct filter with mask" 121 log_test "dst_ip match ($tcflags)" 142 check_err $? "Did not match on correct filter" 150 check_err $? "Did not match on correct filter with mask" 155 log_test "src_ip match ($tcflags)" [all …]
|
| /kernel/linux/linux-6.6/net/openvswitch/ |
| D | flow_netlink.c | 94 static void update_range(struct sw_flow_match *match, in update_range() argument 102 range = &match->range; in update_range() 104 range = &match->mask->range; in update_range() 119 #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ argument 121 update_range(match, offsetof(struct sw_flow_key, field), \ 122 sizeof((match)->key->field), is_mask); \ 124 (match)->mask->key.field = value; \ 126 (match)->key->field = value; \ 129 #define SW_FLOW_KEY_MEMCPY_OFFSET(match, offset, value_p, len, is_mask) \ argument 131 update_range(match, offset, len, is_mask); \ [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | vidioc-dbg-g-chip-info.rst | 49 To query the driver applications must initialize the ``match.type`` and 50 ``match.addr`` or ``match.name`` fields of a struct 56 When ``match.type`` is ``V4L2_CHIP_MATCH_BRIDGE``, ``match.addr`` 58 chips by starting at zero and incrementing ``match.addr`` by one until 64 When ``match.type`` is ``V4L2_CHIP_MATCH_SUBDEV``, ``match.addr`` 80 .. _name-v4l2-dbg-match: 89 - See :ref:`name-chip-match-types` for a list of possible types. 94 - Match a chip by this number, interpreted according to the ``type`` 98 - Match a chip by this name, interpreted according to the ``type`` 114 - ``match`` [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | vidioc-dbg-g-chip-info.rst | 49 To query the driver applications must initialize the ``match.type`` and 50 ``match.addr`` or ``match.name`` fields of a struct 56 When ``match.type`` is ``V4L2_CHIP_MATCH_BRIDGE``, ``match.addr`` 58 chips by starting at zero and incrementing ``match.addr`` by one until 64 When ``match.type`` is ``V4L2_CHIP_MATCH_SUBDEV``, ``match.addr`` 80 .. _name-v4l2-dbg-match: 89 - See :ref:`name-chip-match-types` for a list of possible types. 94 - Match a chip by this number, interpreted according to the ``type`` 98 - Match a chip by this name, interpreted according to the ``type`` 114 - ``match`` [all …]
|