/openbmc/linux/tools/testing/selftests/net/ |
H A D | fib_rule_tests.sh | 168 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 …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 107 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 …]
|
/openbmc/linux/sound/soc/intel/common/ |
H A D | Makefile | 4 snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-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-arl-match.o \ 14 soc-acpi-intel-lnl-match.o \ [all …]
|
/openbmc/linux/drivers/base/ |
H A D | component.c | 86 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flower.c | 342 struct flow_match_meta match; in mlxsw_sp_flower_parse_meta() local 350 match.key->l2_miss, match.mask->l2_miss); in mlxsw_sp_flower_parse_meta() 410 struct flow_match_ports match; in mlxsw_sp_flower_parse_ports() local 450 if (match.mask->tp_min.src) { in mlxsw_sp_flower_parse_ports_range() 469 if (match.mask->tp_min.dst) { in mlxsw_sp_flower_parse_ports_range() 499 struct flow_match_tcp match; in mlxsw_sp_flower_parse_tcp() local 530 struct flow_match_ip match; in mlxsw_sp_flower_parse_ip() local 544 match.key->ttl, match.mask->ttl); in mlxsw_sp_flower_parse_ip() 628 match.key->dst, in mlxsw_sp_flower_parse() 636 match.key->src, in mlxsw_sp_flower_parse() [all …]
|
H A D | spectrum_dpipe.c | 102 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 …]
|
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | match.hpp | 28 match() = delete; 29 match(const match&) = delete; 30 match& operator=(const match&) = delete; 31 match(match&&) = delete; 32 match& operator=(match&&) = delete; 33 ~match(); 87 friend match; 99 match& m; 145 match& m; 150 inline auto match::next() noexcept in next() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_flower.c | 147 struct flow_match_meta match; in prestera_flower_parse_meta() local 152 if (match.mask->l2_miss) { in prestera_flower_parse_meta() 164 match.key->ingress_ifindex); in prestera_flower_parse_meta() 228 struct flow_match_control match; in prestera_flower_parse() local 231 addr_type = match.key->addr_type; in prestera_flower_parse() 235 struct flow_match_basic match; in prestera_flower_parse() local 251 ip_proto = match.key->ip_proto; in prestera_flower_parse() 295 struct flow_match_ports match; in prestera_flower_parse() local 337 struct flow_match_vlan match; in prestera_flower_parse() local 341 if (match.mask->vlan_id != 0) { in prestera_flower_parse() [all …]
|
/openbmc/u-boot/lib/ |
H A D | lz4.c | 111 const BYTE* match; in LZ4_decompress_generic() local 178 match = dictEnd - (lowPrefix-match); in LZ4_decompress_generic() 205 if (unlikely((op-match)<8)) in LZ4_decompress_generic() 208 op[0] = match[0]; in LZ4_decompress_generic() 209 op[1] = match[1]; in LZ4_decompress_generic() 210 op[2] = match[2]; in LZ4_decompress_generic() 211 op[3] = match[3]; in LZ4_decompress_generic() 212 match += dec32table[op-match]; in LZ4_decompress_generic() 213 LZ4_copy4(op+4, match); in LZ4_decompress_generic() 214 op += 8; match -= dec64; in LZ4_decompress_generic() [all …]
|
/openbmc/linux/net/sched/ |
H A D | em_ipt.c | 22 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 …]
|
/openbmc/linux/drivers/regulator/ |
H A D | devres.c | 441 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 …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-async.c | 142 match->fwnode); in match_fwnode() 191 match = match_i2c; in v4l2_async_find_match() 194 match = match_fwnode; in v4l2_async_find_match() 203 if (match(notifier, sd, &asc->match)) in v4l2_async_find_match() 496 if (v4l2_async_match_equal(&asc->match, match)) in v4l2_async_nf_has_async_match_entry() 500 if (v4l2_async_match_equal(&asc->match, match)) in v4l2_async_nf_has_async_match_entry() 527 if (&asc->match == match) in v4l2_async_nf_has_async_match() 529 if (v4l2_async_match_equal(&asc->match, match)) in v4l2_async_nf_has_async_match() 547 switch (match->type) { in v4l2_async_nf_match_valid() 557 match->type, match); in v4l2_async_nf_match_valid() [all …]
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_netlink.c | 187 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 207 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate() 213 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate() 220 if (match->mask && (match->mask->key.ip.proto == 0xff)) { in match_validate() 228 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate() 244 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate() 250 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate() 257 if (match->mask && (match->mask->key.ip.proto == 0xff)) { in match_validate() 265 if (match->mask && (match->mask->key.ip.proto == 0xff)) in match_validate() 1957 memset(&match, 0, sizeof(match)); in ovs_nla_get_flow_metadata() [all …]
|
/openbmc/u-boot/tools/patman/ |
H A D | checkpatch.py | 91 match = re_stats_full.match(line) 92 if not match: 93 match = re_stats.match(line) 94 if match: 97 if len(match.groups()) == 4: 102 elif re_ok.match(line): 104 elif re_bad.match(line): 106 err_match = re_error.match(line) 107 warn_match = re_warning.match(line) 108 file_match = re_file.match(line) [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | kernel-arch.bbclass | 31 if re.match('(i.86|athlon|x86.64)$', a): return 'x86' 32 elif re.match('arceb$', a): return 'arc' 33 elif re.match('armeb$', a): return 'arm' 34 elif re.match('aarch64$', a): return 'arm64' 35 elif re.match('aarch64_be$', a): return 'arm64' 36 elif re.match('aarch64_ilp32$', a): return 'arm64' 37 elif re.match('aarch64_be_ilp32$', a): return 'arm64' 40 elif re.match('mcf', a): return 'm68k' 43 elif re.match('sh(3|4)$', a): return 'sh' 57 if re.match('p(pc|owerpc)(|64)', a): return 'ppc' [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | xt_ipvs.c | 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 = 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 …]
|
H A D | xt_owner.c | 25 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() 83 return ((info->match ^ info->invert) & in owner_mt() 87 if (info->match & XT_OWNER_UID) { in owner_mt() 98 if (info->match & XT_OWNER_GID) { in owner_mt() 99 unsigned int i, match = false; in owner_mt() local 106 match = true; in owner_mt() 108 if (!match && (info->match & XT_OWNER_SUPPL_GROUPS) && gi) { in owner_mt() 114 match = true; in owner_mt() [all …]
|
H A D | nf_tables_offload.c | 24 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() 78 match->key.basic.n_proto = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc.c | 511 if (match->mask.enc_dst_ip | match->mask.enc_src_ip) { in efx_tc_flower_record_encap_match() 547 if (match->mask.enc_sport || match->mask.enc_ip_tos) { in efx_tc_flower_record_encap_match() 1373 memset(&match, 0, sizeof(match)); in efx_tc_flower_replace_foreign() 1408 if (match.mask.ct_state_trk && match.value.ct_state_trk && in efx_tc_flower_replace_foreign() 1409 match.mask.ct_state_est && match.value.ct_state_est) in efx_tc_flower_replace_foreign() 1632 rule->match = match; in efx_tc_flower_replace_foreign() 1728 rule->match = *match; in efx_tc_flower_replace_lhs() 1789 memset(&match, 0, sizeof(match)); in efx_tc_flower_replace() 1843 match.mask.ct_state_est && match.value.ct_state_est) in efx_tc_flower_replace() 2178 rule->match = match; in efx_tc_flower_replace() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 1120 if (match->key->dst) { in ice_tc_set_ipv4() 1247 if (match.key->dst) { in ice_tc_set_port() 1256 if (match.key->src) { in ice_tc_set_port() 1302 if (match.key->dst) { in ice_parse_gtp_type() 1501 match.key->dst); in ice_parse_cls_flower() 1503 match.mask->dst); in ice_parse_cls_flower() 1509 match.key->src); in ice_parse_cls_flower() 1511 match.mask->src); in ice_parse_cls_flower() 1523 match.key = &key; in ice_parse_cls_flower() 1526 match.mask = &mask; in ice_parse_cls_flower() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 206 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 …]
|
/openbmc/openbmc/poky/meta/recipes-core/musl/ |
H A D | libucontext_1.2.bb | 33 elif re.match('(i.86|athlon)$', a): return 'x86' 34 elif re.match('x86.64$', a): return 'x86_64' 35 elif re.match('armeb$', a): return 'arm' 36 elif re.match('aarch64$', a): return 'aarch64' 37 elif re.match('aarch64_be$', a): return 'aarch64' 38 elif re.match('aarch64_ilp32$', a): return 'aarch64' 39 elif re.match('aarch64_be_ilp32$', a): return 'aarch64' 40 elif re.match('mips(isa|)(32|)(r6|)(el|)$', a): return 'mips' 41 elif re.match('mips(isa|)64(r6|)(el|)$', a): return 'mips64' 42 elif re.match('p(pc64|owerpc64)(le)', a): return 'ppc64' [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | go.py | 10 if re.match('i.86', a): 14 elif re.match('arm.*', a): 16 elif re.match('aarch64.*', a): 18 elif re.match('mips64el.*', a): 20 elif re.match('mips64.*', a): 26 elif re.match('p(pc|owerpc)(64le)', a): 28 elif re.match('p(pc|owerpc)(64)', a):
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 479 if (!match.mask->vlan_id) { in otx2_tc_process_vlan() 487 ntohs(match.key->vlan_tpid), match.key->vlan_id); in otx2_tc_process_vlan() 493 if (match.mask->vlan_id || in otx2_tc_process_vlan() 494 match.mask->vlan_dei || in otx2_tc_process_vlan() 557 if (match.mask->ip_proto && in otx2_tc_prepare_flow() 567 match.key->ip_proto); in otx2_tc_prepare_flow() 570 if (match.mask->ip_proto) in otx2_tc_prepare_flow() 629 (u8 *)&match.mask->dst); in otx2_tc_prepare_flow() 638 if (!match.mask->spi) { in otx2_tc_prepare_flow() 659 match.mask->tos) { in otx2_tc_prepare_flow() [all …]
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | search.py | 47 match = False 49 match = True 51 if not match: 59 match = True 73 if match: 83 match = False 85 match = True 89 match = True 91 if not match: 94 match = True [all …]
|