Home
last modified time | relevance | path

Searched refs:match (Results 151 - 175 of 5097) sorted by relevance

12345678910>>...204

/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_spi.c53 const void *match; in inv_icm42600_probe() local
57 match = device_get_match_data(&spi->dev); in inv_icm42600_probe()
58 if (!match) in inv_icm42600_probe()
60 chip = (enum inv_icm42600_chip)match; in inv_icm42600_probe()
/kernel/linux/linux-5.10/drivers/power/reset/
H A Dst-poweroff.c76 const struct of_device_id *match; in st_reset_probe() local
79 match = of_match_device(st_reset_of_match, dev); in st_reset_probe()
80 if (!match) in st_reset_probe()
83 st_restart_syscfg = (struct reset_syscfg *)match->data; in st_reset_probe()
/kernel/linux/linux-6.6/drivers/power/reset/
H A Dst-poweroff.c76 const struct of_device_id *match; in st_reset_probe() local
79 match = of_match_device(st_reset_of_match, dev); in st_reset_probe()
80 if (!match) in st_reset_probe()
83 st_restart_syscfg = (struct reset_syscfg *)match->data; in st_reset_probe()
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A Dmatch.c9 * 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) in x86_match_cpu() argument
42 for (m = match; in x86_match_cpu()
63 x86_match_cpu_with_stepping(const struct x86_cpu_desc *match) in x86_match_cpu_with_stepping() argument
68 for (m = match; in x86_match_cpu_with_stepping()
[all...]
/kernel/linux/linux-6.6/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_i2c.c54 const void *match; in inv_icm42600_probe() local
61 match = device_get_match_data(&client->dev); in inv_icm42600_probe()
62 if (!match) in inv_icm42600_probe()
64 chip = (uintptr_t)match; in inv_icm42600_probe()
H A Dinv_icm42600_spi.c53 const void *match; in inv_icm42600_probe() local
57 match = device_get_match_data(&spi->dev); in inv_icm42600_probe()
58 if (!match) in inv_icm42600_probe()
60 chip = (uintptr_t)match; in inv_icm42600_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
H A Dmeson_drv.c200 const struct meson_drm_match_data *match; in meson_drv_bind_master() local
213 match = of_device_get_match_data(dev); in meson_drv_bind_master()
214 if (!match) in meson_drv_bind_master()
229 priv->compat = match->compat; in meson_drv_bind_master()
230 priv->afbcd.ops = match->afbcd_ops; in meson_drv_bind_master()
462 struct component_match **match, in meson_probe_remote()
469 /* If node is a connector, return and do not add to match table */ in meson_probe_remote()
473 component_match_add(&pdev->dev, match, compare_of, remote); in meson_probe_remote()
484 count += meson_probe_remote(pdev, match, remote, remote_node); in meson_probe_remote()
505 struct component_match *match in meson_drv_probe() local
461 meson_probe_remote(struct platform_device *pdev, struct component_match **match, struct device_node *parent, struct device_node *remote) meson_probe_remote() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c48 struct flow_match_control match; in lan966x_tc_flower_handler_control_usage() local
51 flow_rule_match_control(st->frule, &match); in lan966x_tc_flower_handler_control_usage()
52 if (match.mask->flags & FLOW_DIS_IS_FRAGMENT) { in lan966x_tc_flower_handler_control_usage()
53 if (match.key->flags & FLOW_DIS_IS_FRAGMENT) in lan966x_tc_flower_handler_control_usage()
65 if (match.mask->flags & FLOW_DIS_FIRST_FRAG) { in lan966x_tc_flower_handler_control_usage()
66 if (match.key->flags & FLOW_DIS_FIRST_FRAG) in lan966x_tc_flower_handler_control_usage()
90 struct flow_match_basic match; in lan966x_tc_flower_handler_basic_usage() local
93 flow_rule_match_basic(st->frule, &match); in lan966x_tc_flower_handler_basic_usage()
94 if (match.mask->n_proto) { in lan966x_tc_flower_handler_basic_usage()
95 st->l3_proto = be16_to_cpu(match in lan966x_tc_flower_handler_basic_usage()
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dbpf_doc.py66 capture = proto_re.match(self.proto)
74 capture = arg_re.match(a)
118 capture = p.match(self.line)
122 end = end_re.match(self.line)
137 capture = p.match(self.line)
145 capture = p.match(self.line)
158 capture = p.match(self.line)
171 capture = p.match(self.line)
184 capture = p.match(self.line)
230 capture = assign_p.match(sel
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/kprobes/
H A Dcore.c500 bool match; in kprobe_emulate_jcc() local
503 match = regs->flags & jcc_mask[p->ainsn.jcc.type >> 1]; in kprobe_emulate_jcc()
505 match = ((regs->flags & X86_EFLAGS_SF) >> X86_EFLAGS_SF_BIT) ^ in kprobe_emulate_jcc()
508 match = match || (regs->flags & X86_EFLAGS_ZF); in kprobe_emulate_jcc()
510 __kprobe_emulate_jmp(p, regs, (match && !invert) || (!match && invert)); in kprobe_emulate_jcc()
516 bool match; in kprobe_emulate_loop() local
520 match = ((*(u32 *)&regs->cx)--) != 0; in kprobe_emulate_loop()
523 match in kprobe_emulate_loop()
[all...]
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dtimer-probe.c19 const struct of_device_id *match; in timer_probe() local
24 for_each_matching_node_and_match(np, __timer_of_table, &match) { in timer_probe()
28 init_func_ret = match->data; in timer_probe()
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-probe.c19 const struct of_device_id *match; in timer_probe() local
24 for_each_matching_node_and_match(np, __timer_of_table, &match) { in timer_probe()
28 init_func_ret = match->data; in timer_probe()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtask_pt_regs.c17 bool match; in test_task_pt_regs() local
44 match = !memcmp(&skel->bss->current_regs, &skel->bss->ctx_regs, in test_task_pt_regs()
46 ASSERT_TRUE(match, "check_regs_match"); in test_task_pt_regs()
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
H A Dsja1105_main.c124 int match, rc; in sja1105_commit_pvid() local
146 match = sja1105_is_vlan_configured(priv, pvid); in sja1105_commit_pvid()
148 if (match < 0 || !(vlan[match].vmemb_port & BIT(port))) in sja1105_commit_pvid()
1466 int rc, match; in sja1105_static_fdb_change() local
1470 match = sja1105_find_static_fdb_entry(priv, port, requested); in sja1105_static_fdb_change()
1471 if (match < 0) { in sja1105_static_fdb_change()
1476 /* No match => new entry */ in sja1105_static_fdb_change()
1481 match = table->entry_count - 1; in sja1105_static_fdb_change()
1487 /* We have a match in sja1105_static_fdb_change()
1516 sja1105et_is_fdb_entry_in_bin(struct sja1105_private *priv, int bin, const u8 *addr, u16 vid, struct sja1105_l2_lookup_entry *match, int *last_unused) sja1105et_is_fdb_entry_in_bin() argument
2487 int match, rc; sja1105_vlan_add() local
2525 int match, rc; sja1105_vlan_del() local
2983 int match, rc; sja1105_port_mcast_flood() local
3255 const struct of_device_id *match; sja1105_check_device_id() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c2754 struct flow_dissector *dissector = rule->match.dissector; in iavf_parse_cls_flower()
2778 struct flow_match_enc_keyid match; in iavf_parse_cls_flower() local
2780 flow_rule_match_enc_keyid(rule, &match); in iavf_parse_cls_flower()
2781 if (match.mask->keyid != 0) in iavf_parse_cls_flower()
2786 struct flow_match_basic match; in iavf_parse_cls_flower() local
2788 flow_rule_match_basic(rule, &match); in iavf_parse_cls_flower()
2789 n_proto_key = ntohs(match.key->n_proto); in iavf_parse_cls_flower()
2790 n_proto_mask = ntohs(match.mask->n_proto); in iavf_parse_cls_flower()
2804 if (match.key->ip_proto != IPPROTO_TCP) { in iavf_parse_cls_flower()
2811 struct flow_match_eth_addrs match; in iavf_parse_cls_flower() local
2858 struct flow_match_vlan match; iavf_parse_cls_flower() local
2875 struct flow_match_control match; iavf_parse_cls_flower() local
2882 struct flow_match_ipv4_addrs match; iavf_parse_cls_flower() local
2920 struct flow_match_ipv6_addrs match; iavf_parse_cls_flower() local
2954 struct flow_match_ports match; iavf_parse_cls_flower() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c3707 struct flow_dissector *dissector = rule->match.dissector; in iavf_parse_cls_flower()
3731 struct flow_match_enc_keyid match; in iavf_parse_cls_flower() local
3733 flow_rule_match_enc_keyid(rule, &match); in iavf_parse_cls_flower()
3734 if (match.mask->keyid != 0) in iavf_parse_cls_flower()
3739 struct flow_match_basic match; in iavf_parse_cls_flower() local
3741 flow_rule_match_basic(rule, &match); in iavf_parse_cls_flower()
3742 n_proto_key = ntohs(match.key->n_proto); in iavf_parse_cls_flower()
3743 n_proto_mask = ntohs(match.mask->n_proto); in iavf_parse_cls_flower()
3757 if (match.key->ip_proto != IPPROTO_TCP) { in iavf_parse_cls_flower()
3764 struct flow_match_eth_addrs match; in iavf_parse_cls_flower() local
3811 struct flow_match_vlan match; iavf_parse_cls_flower() local
3828 struct flow_match_control match; iavf_parse_cls_flower() local
3835 struct flow_match_ipv4_addrs match; iavf_parse_cls_flower() local
3873 struct flow_match_ipv6_addrs match; iavf_parse_cls_flower() local
3907 struct flow_match_ports match; iavf_parse_cls_flower() local
[all...]
/kernel/linux/linux-5.10/include/linux/netfilter/
H A Dx_tables.h18 * @match: the match extension
20 * @matchinfo: per-match data
32 const struct xt_match *match; member
80 * struct xt_mtchk_param - parameters for match extensions'
87 * @match: struct xt_match through which this function was invoked
88 * @matchinfo: per-match data
96 const struct xt_match *match; member
104 * struct xt_mdtor_param - match destructor parameters
109 const struct xt_match *match; member
153 bool (*match)(const struct sk_buff *skb, global() member
463 compat_uptr_t match; global() member
[all...]
/kernel/linux/linux-5.10/fs/lockd/
H A Dsvcsubs.c164 nlm_host_match_fn_t match) in nlm_traverse_locks()
184 if (match(lockhost, host)) { in nlm_traverse_locks()
214 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file() argument
216 nlmsvc_traverse_blocks(host, file, match); in nlm_inspect_file()
217 nlmsvc_traverse_shares(host, file, match); in nlm_inspect_file()
218 return nlm_traverse_locks(host, file, match); in nlm_inspect_file()
253 nlm_traverse_files(void *data, nlm_host_match_fn_t match, in nlm_traverse_files() argument
270 if (nlm_inspect_file(data, file, match)) in nlm_traverse_files()
322 * returns 1 iff the two hosts match. Used to release
163 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) nlm_traverse_locks() argument
/kernel/linux/linux-6.6/include/linux/netfilter/
H A Dx_tables.h18 * @match: the match extension
20 * @matchinfo: per-match data
32 const struct xt_match *match; member
80 * struct xt_mtchk_param - parameters for match extensions'
87 * @match: struct xt_match through which this function was invoked
88 * @matchinfo: per-match data
96 const struct xt_match *match; member
104 * struct xt_mdtor_param - match destructor parameters
109 const struct xt_match *match; member
153 bool (*match)(const struct sk_buff *skb, global() member
467 compat_uptr_t match; global() member
[all...]
/kernel/linux/linux-6.6/drivers/regulator/
H A Dmt6357-regulator.c36 #define MT6357_BUCK(match, vreg, min, max, step, \
41 .of_match = of_match_ptr(match), \
59 #define MT6357_LDO(match, vreg, ldo_volt_table, \
64 .of_match = of_match_ptr(match), \
79 #define MT6357_LDO1(match, vreg, min, max, step, volt_ranges, \
84 .of_match = of_match_ptr(match), \
102 #define MT6357_REG_FIXED(match, vreg, volt) \
106 .of_match = of_match_ptr(match), \
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dqcom-cpufreq-nvmem.c229 const struct of_device_id *match; in qcom_cpufreq_probe() local
250 match = pdev->dev.platform_data; in qcom_cpufreq_probe()
251 drv->data = match->data; in qcom_cpufreq_probe()
379 const struct of_device_id *match; in qcom_cpufreq_init() local
385 match = of_match_node(qcom_cpufreq_match_list, np); in qcom_cpufreq_init()
387 if (!match) in qcom_cpufreq_init()
395 -1, match, sizeof(*match)); in qcom_cpufreq_init()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_tcpudp.c16 MODULE_DESCRIPTION("Xtables: TCP, UDP and UDP-Lite match");
261 .match = tcp_mt,
270 .match = tcp_mt,
279 .match = udp_mt,
288 .match = udp_mt,
297 .match = udp_mt,
306 .match = udp_mt,
313 .match = icmp_match,
322 .match = icmp6_match,
/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dutil.py182 if re.match(rex, version):
197 match = re.search(r'(\d+\.\d+\.\d+\.\d+)', version_str)
198 if match:
199 return match.group(1)
349 match = re.search(r'File "(.*?)", line \d+, in (.+)', stack_line)
350 if match:
351 file_name = match.group(1).split(os.sep)[-1]
352 method_name = match.group(2).strip()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c100 /* Only 1 match per entry */ in tc_fill_entry()
428 struct flow_dissector *dissector = rule->match.dissector; in tc_add_basic_flow()
429 struct flow_match_basic match; in tc_add_basic_flow() local
435 flow_rule_match_basic(rule, &match); in tc_add_basic_flow()
436 entry->ip_proto = match.key->ip_proto; in tc_add_basic_flow()
445 struct flow_dissector *dissector = rule->match.dissector; in tc_add_ip4_flow()
447 struct flow_match_ipv4_addrs match; in tc_add_ip4_flow() local
455 flow_rule_match_ipv4_addrs(rule, &match); in tc_add_ip4_flow()
456 hw_match = ntohl(match.key->src) & ntohl(match in tc_add_ip4_flow()
482 struct flow_match_ports match; tc_add_ports_flow() local
[all...]
/kernel/linux/linux-5.10/lib/
H A Dglob.c14 * @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 */ in glob_match()
71 bool match = false, inverted = (*pat == '!'); in glob_match() local
95 match |= (a <= c && c <= b); in glob_match()
98 if (match == inverted) in glob_match()

Completed in 24 milliseconds

12345678910>>...204