/linux-master/drivers/usb/typec/ |
H A D | port-mapper.c | 36 struct component_match *match; member in struct:each_port_arg 55 component_match_add(&arg->port->dev, &arg->match, typec_port_compare, 62 struct each_port_arg arg = { .port = con, .match = NULL }; 68 if (!arg.match) 82 return component_master_add_with_match(&con->dev, &typec_aggregate_ops, arg.match);
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_rtp.c | 39 bool match; local 44 match = xe->info.platform == r->platform; 47 match = xe->info.platform == r->platform && 51 match = xe->info.graphics_verx100 == r->ver_start && 55 match = xe->info.graphics_verx100 >= r->ver_start && 60 match = xe->info.step.graphics >= r->step_start && 65 match = xe->info.media_verx100 == r->ver_start && 69 match = xe->info.media_verx100 >= r->ver_start && 74 match = xe->info.step.media >= r->step_start && 79 match 231 bool match = false; local [all...] |
/linux-master/Documentation/sphinx/ |
H A D | automarkup.py | 110 # Include any text prior to match as a normal text node. 138 # own C role, but both match the same regex, so we try both. 140 def markup_func_ref_sphinx3(docname, app, match): 145 base_target = match.group(2) 146 target_text = nodes.Text(match.group(0)) 181 def markup_c_ref(docname, app, match): 205 base_target = match.group(2) 206 target_text = nodes.Text(match.group(0)) 216 if not (match.re == RE_function and target in Skipfuncs): 217 lit_text = nodes.literal(classes=['xref', 'c', class_str[match [all...] |
/linux-master/lib/ |
H A D | glob.c | 14 * @pat: Shell-style pattern to match, e.g. "*.[ch]". 15 * @str: String to match. The pattern must match the entire string. 17 * Perform shell-style glob matching, returning true (1) if the match 68 back_str = --str; /* Allow zero-length match */ 71 bool match = false, inverted = (*pat == '!'); local 95 match |= (a <= c && c <= b); 98 if (match == inverted)
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | task_pt_regs.c | 17 bool match; local 44 match = !memcmp(&skel->bss->current_regs, &skel->bss->ctx_regs, 46 ASSERT_TRUE(match, "check_regs_match");
|
/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-ioctl.c | 19 if (chip->match.addr > 1) 21 if (chip->match.addr == 1) { 55 if (reg->match.addr > 1) 57 if (reg->match.addr) 87 if (reg->match.addr > 1) 89 if (reg->match.addr)
|
/linux-master/tools/perf/scripts/perl/bin/ |
H A D | rwtop-report | 7 if expr match "$i" "-" > /dev/null ; then
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_mplsoudp.c | 62 struct flow_match_mpls match; local 76 flow_rule_match_mpls(rule, &match); 79 if (match.mask->used_lses != 1) 89 match.mask->ls[0].mpls_label); 92 match.key->ls[0].mpls_label); 96 match.mask->ls[0].mpls_tc); 98 outer_first_mpls_over_udp.mpls_exp, match.key->ls[0].mpls_tc); 102 match.mask->ls[0].mpls_bos); 105 match.key->ls[0].mpls_bos); 109 match [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 1115 * @match: Pointer to flow match structure 1121 ice_tc_set_pppoe(struct flow_match_pppoe *match, argument 1125 if (match->mask->session_id) { 1127 headers->pppoe_hdr.session_id = match->key->session_id; 1130 if (match->mask->ppp_proto) { 1132 headers->pppoe_hdr.ppp_proto = match->key->ppp_proto; 1135 return be16_to_cpu(match->key->type); 1140 * @match: Pointer to flow match structur 1146 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) argument 1177 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) argument 1239 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) argument 1273 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) argument 1327 ice_parse_gtp_type(struct flow_match_ports match, struct ice_tc_flower_fltr *fltr) argument 1376 struct flow_match_ipv4_addrs match; local 1383 struct flow_match_ipv6_addrs match; local 1391 struct flow_match_ip match; local 1399 struct flow_match_ports match; local 1413 struct flow_match_enc_opts match; local 1503 struct flow_match_basic match; local 1525 struct flow_match_eth_addrs match; local 1550 struct flow_match_vlan match; local 1589 struct flow_match_vlan match; local 1620 struct flow_match_pppoe match; local 1636 struct flow_match_control match; local 1644 struct flow_match_ipv4_addrs match; local 1652 struct flow_match_ipv6_addrs match; local 1660 struct flow_match_ip match; local 1667 struct flow_match_l2tpv3 match; local 1676 struct flow_match_ports match; local [all...] |
/linux-master/net/netfilter/ |
H A D | nf_tables_offload.c | 24 flow->rule->match.dissector = &flow->match.dissector; 25 flow->rule->match.mask = &flow->match.mask; 26 flow->rule->match.key = &flow->match.key; 34 struct nft_flow_match *match = &flow->match; local 35 struct nft_flow_key *mask = &match->mask; 36 struct nft_flow_key *key = &match 56 struct nft_flow_match *match = &flow->match; local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 169 struct flow_match_control match; local 171 flow_rule_match_control(rule, &match); 172 addr_type = match.key->addr_type; 180 struct flow_match_basic match; local 183 flow_rule_match_basic(rule, &match); 184 ethtype_key = ntohs(match.key->n_proto); 185 ethtype_mask = ntohs(match.mask->n_proto); 197 fs->val.proto = match.key->ip_proto; 198 fs->mask.proto = match.mask->ip_proto; 202 struct flow_match_ipv4_addrs match; local 217 struct flow_match_ipv6_addrs match; local 238 struct flow_match_ports match; local 252 struct flow_match_ip match; local 260 struct flow_match_enc_keyid match; local 272 struct flow_match_vlan match; local 330 struct flow_match_basic match; local 339 struct flow_match_ip match; local [all...] |
/linux-master/include/uapi/linux/netfilter/ |
H A D | xt_owner.h | 22 __u8 match, invert; member in struct:xt_owner_match_info
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | match.c | 9 * x86_match_cpu - match current CPU again an array of x86_cpu_ids 10 * @match: Pointer to array of x86_cpu_ids. Last entry terminated with 14 * passed x86_cpu_id match table. Otherwise NULL. The match table 18 * A typical table entry would be to match a specific CPU 31 * Arrays used to match for this should also be declared using 37 const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match) argument 42 for (m = match; 63 x86_match_cpu_with_stepping(const struct x86_cpu_desc *match) argument 68 for (m = match; [all...] |
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-trace-marker-snapshot.tc | 22 match=`echo $line | sed -e "s/>$x<//"` 23 if [ "$line" = "$match" ]; then
|
/linux-master/sound/soc/intel/common/ |
H A D | soc-acpi-intel-hda-match.c | 5 * soc-acpi-intel-hda-match.c - tables and support for HDA+ACPI enumeration. 10 #include <sound/soc-acpi-intel-match.h>
|
H A D | soc-acpi-intel-hsw-bdw-match.c | 3 * soc-acpi-intel-hsw-bdw-match.c - tables and support for ACPI enumeration. 10 #include <sound/soc-acpi-intel-match.h>
|
/linux-master/drivers/tty/serial/ |
H A D | earlycon.c | 138 static int __init register_earlycon(char *buf, const struct earlycon_id *match) argument 153 earlycon_init(&early_console_dev, match->name); 154 err = match->setup(&early_console_dev, buf); 166 * setup_earlycon - match and register earlycon console 185 const struct earlycon_id *match; local 195 for (match = __earlycon_table; match < __earlycon_table_end; match++) { 196 size_t len = strlen(match->name); 198 if (strncmp(buf, match 253 of_setup_earlycon(const struct earlycon_id *match, unsigned long node, const char *options) argument [all...] |
/linux-master/drivers/power/reset/ |
H A D | st-poweroff.c | 76 const struct of_device_id *match; local 79 match = of_match_device(st_reset_of_match, dev); 80 if (!match) 83 st_restart_syscfg = (struct reset_syscfg *)match->data;
|
/linux-master/arch/x86/tools/ |
H A D | objdump_reformat.awk | 30 if (match(prev_mnemonic, bad_expr)) 33 if (match(prev_hex, fwait_expr) && prev_mnemonic != "fwait") {
|
H A D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ex [all...] |
/linux-master/net/openvswitch/ |
H A D | flow_netlink.c | 94 static void update_range(struct sw_flow_match *match, argument 102 range = &match->range; 104 range = &match->mask->range; 119 #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ 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) \ 131 update_range(match, offse 155 match_validate(const struct sw_flow_match *match, u64 key_attrs, u64 mask_attrs, bool log) argument 534 genev_tun_opt_from_nlattr(const struct nlattr *a, struct sw_flow_match *match, bool is_mask, bool log) argument 585 vxlan_tun_opt_from_nlattr(const struct nlattr *attr, struct sw_flow_match *match, bool is_mask, bool log) argument 641 erspan_tun_opt_from_nlattr(const struct nlattr *a, struct sw_flow_match *match, bool is_mask, bool log) argument 668 ip_tun_from_nlattr(const struct nlattr *attr, struct sw_flow_match *match, bool is_mask, bool log) argument 975 encode_vlan_from_nlattrs(struct sw_flow_match *match, const struct nlattr *a[], bool is_mask, bool inner) argument 998 validate_vlan_from_nlattrs(const struct sw_flow_match *match, u64 key_attrs, bool inner, const struct nlattr **a, bool log) argument 1036 validate_vlan_mask_from_nlattrs(const struct sw_flow_match *match, u64 key_attrs, bool inner, const struct nlattr **a, bool log) argument 1078 __parse_vlan_from_nlattrs(struct sw_flow_match *match, u64 *key_attrs, bool inner, const struct nlattr **a, bool is_mask, bool log) argument 1113 parse_vlan_from_nlattrs(struct sw_flow_match *match, u64 *key_attrs, const struct nlattr **a, bool is_mask, bool log) argument 1136 parse_eth_type_from_nlattrs(struct sw_flow_match *match, u64 *attrs, const struct nlattr **a, bool is_mask, bool log) argument 1157 metadata_from_nlattrs(struct net *net, struct sw_flow_match *match, u64 *attrs, const struct nlattr **a, bool is_mask, bool log) argument 1389 nsh_key_put_from_nlattr(const struct nlattr *attr, struct sw_flow_match *match, bool is_mask, bool is_push_nsh, bool log) argument 1510 ovs_key_from_nlattrs(struct net *net, struct sw_flow_match *match, u64 attrs, const struct nlattr **a, bool is_mask, bool log) argument 1799 ovs_nla_get_match(struct net *net, struct sw_flow_match *match, const struct nlattr *nla_key, const struct nlattr *nla_mask, bool log) argument 1955 struct sw_flow_match match; local 2714 ovs_match_init(struct sw_flow_match *match, struct sw_flow_key *key, bool reset_key, struct sw_flow_mask *mask) argument 2763 struct sw_flow_match match; local 2844 struct sw_flow_match match; local [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 563 struct flow_match_vlan match; local 567 flow_rule_match_cvlan(rule, &match); 569 flow_rule_match_vlan(rule, &match); 571 if (!eth_type_vlan(match.key->vlan_tpid)) { 573 ntohs(match.key->vlan_tpid)); 577 if (!match.mask->vlan_id) { 585 ntohs(match.key->vlan_tpid), match.key->vlan_id); 591 if (match.mask->vlan_id || 592 match 649 struct flow_match_basic match; local 691 struct flow_match_control match; local 719 struct flow_match_eth_addrs match; local 736 struct flow_match_ipsec match; local 756 struct flow_match_ip match; local 790 struct flow_match_ipv4_addrs match; local 802 struct flow_match_ipv6_addrs match; local 835 struct flow_match_ports match; local 865 struct flow_match_tcp match; local 875 struct flow_match_mpls match; local 930 struct flow_match_icmp match; local [all...] |
/linux-master/tools/testing/selftests/user_events/ |
H A D | dyn_test.c | 145 static int check_match(int *check, const char *first, const char *second, bool *match) argument 159 *match = false; 166 *match = true; 181 bool match; \ 182 ASSERT_NE(-1, check_match(&self->check, x, y, &match)); \ 183 ASSERT_EQ(true, match); \ 188 bool match; \ 189 ASSERT_NE(-1, check_match(&self->check, x, y, &match)); \ 190 ASSERT_EQ(false, match); \ 258 /* Multiple names match */ [all...] |
/linux-master/arch/sh/drivers/ |
H A D | platform_early.c | 33 /* Then try to match against the id table */ 37 /* fall-back to driver name match */ 172 * @id: id to match against 208 * @id: id to match against 216 struct platform_device *match; local 251 match = NULL; 254 match = sh_early_platform_match(epdrv, match_id); 257 if (match) { 263 if (!match->dev.init_name && slab_is_available()) { 264 if (match [all...] |
/linux-master/tools/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ex [all...] |