Searched refs:match (Results 1 - 25 of 1154) sorted by last modified time

1234567891011>>

/linux-master/drivers/hid/
H A Dhid-nintendo.c2602 bool match = false; local
2613 match = true;
2621 match = true;
2627 if (match) {
/linux-master/drivers/tty/serial/
H A Dserial_core.c2378 struct uart_match *match = data; local
2379 struct tty_driver *tty_drv = match->driver->tty_driver;
2381 match->port->line;
2391 struct uart_match match = {uport, drv}; local
2395 tty_dev = device_find_child(&uport->port_dev->dev, &match, serial_match_port);
2471 struct uart_match match = {uport, drv}; local
2476 tty_dev = device_find_child(&uport->port_dev->dev, &match, serial_match_port);
H A Dpmac_zilog.c1458 * Called upon match with an escc node in the device-tree.
1460 static int pmz_attach(struct macio_dev *mdev, const struct of_device_id *match) argument
/linux-master/drivers/tty/serial/8250/
H A D8250_pci.c1514 const struct pci_device_id *match; local
1517 match = pci_match_id(quatech_cards, dev);
1518 if (match)
1519 amcc = match->driver_data;
2920 * Default "match everything" terminator entry
5038 * (in hex) match the model number.
6046 * These entries match devices with class COMMUNICATION_SERIAL,
/linux-master/drivers/clk/
H A Dclk.c2038 /* Didn't match, but we're expecting a clk_hw */
3273 /* true if clk->core pointers match. Avoid dereferencing garbage */
5531 const struct of_device_id *match; local
5542 for_each_matching_node_and_match(np, matches, &match) {
5560 parent->clk_init_cb = match->data;
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.c901 int mask = 0, match = 0; local
912 match = PFERR_PRESENT_MASK;
915 vmcs_write32(PAGE_FAULT_ERROR_CODE_MATCH, match);
/linux-master/arch/x86/kvm/
H A Dpmu.c362 u64 match = filter_event & KVM_PMU_MASKED_ENTRY_UMASK_MATCH; local
368 return (umask & mask) == match;
924 * Skip events that are impossible to match against a guest
/linux-master/tools/perf/util/
H A Dannotate.c1707 regmatch_t match[2]; local
1710 if (regexec(&file_lineno, parsed_line, 2, match, 0) == 0) {
1711 *line_nr = atoi(parsed_line + match[1].rm_so);
2281 const char *match; local
2288 match = strstr(line, symfs_filename);
2289 if (match && match[strlen(symfs_filename)] == ':')
/linux-master/tools/arch/x86/include/uapi/asm/
H A Dkvm.h829 * 15:8 umask match
837 #define KVM_PMU_ENCODE_MASKED_ENTRY(event_select, mask, match, exclude) \
840 (((match) & 0xFFULL) << 8) | \
/linux-master/net/netfilter/
H A Dnft_set_pipapo.c45 * to match the source port (16 bits) of a packet, we can divide those 16 bits
50 * first and second groups match, but the third doesn't. We conclude that the
51 * packet doesn't match the given entry.
57 * netmasks for the given field specifier, and a group match is indicated as a
69 * To match, we perform table lookups using the values of grouped packet bits,
85 * Example: match on destination IP address, with t = 4: 32 bits, 8 groups
360 * Return: -1 on no match, bit position on 'match_only', 0 otherwise.
408 * Return: true on match, false otherwise.
425 m = rcu_dereference(priv->match);
516 * Return: pointer to &struct nft_pipapo_elem on match, erro
[all...]
/linux-master/include/net/netfilter/
H A Dnf_flow_table.h48 struct nf_flow_match match; member in struct:nf_flow_rule
/linux-master/drivers/s390/cio/
H A Ddevice.c1694 * If a match is found, its reference count of the found device is increased
1784 .match = ccw_bus_match,
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwxgmac2_core.c1373 u32 match)
1419 ret = dwxgmac2_filter_write(hw, filter_no, XGMAC_L3_ADDR0, match);
1423 ret = dwxgmac2_filter_write(hw, filter_no, XGMAC_L3_ADDR1, match);
1436 u32 match)
1473 value = match & XGMAC_L4SP0;
1479 value = (match << XGMAC_L4DP0_SHIFT) & XGMAC_L4DP0;
1371 dwxgmac2_config_l3_filter(struct mac_device_info *hw, u32 filter_no, bool en, bool ipv6, bool sa, bool inv, u32 match) argument
1434 dwxgmac2_config_l4_filter(struct mac_device_info *hw, u32 filter_no, bool en, bool udp, bool sa, bool inv, u32 match) argument
H A Ddwmac4_core.c1064 u32 match)
1105 writel(match, ioaddr + GMAC_L3_ADDR0(filter_no));
1107 writel(match, ioaddr + GMAC_L3_ADDR1(filter_no));
1118 u32 match)
1149 value = match & GMAC_L4SP0;
1151 value = (match << GMAC_L4DP0_SHIFT) & GMAC_L4DP0;
1062 dwmac4_config_l3_filter(struct mac_device_info *hw, u32 filter_no, bool en, bool ipv6, bool sa, bool inv, u32 match) argument
1116 dwmac4_config_l4_filter(struct mac_device_info *hw, u32 filter_no, bool en, bool udp, bool sa, bool inv, u32 match) argument
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c270 if (st->frule->match.dissector->used_keys ^ st->used_keys) {
272 "Unsupported match item");
598 /* Add the VCAP key to match on for a rule target value */
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c563 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/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c1115 * @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/drivers/virtio/
H A Dvirtio.c84 * match, we return 1 and the kernel will call virtio_dev_probe(). */
358 .match = virtio_dev_match,
/linux-master/drivers/iommu/
H A Dmtk_iommu.c1127 static int mtk_iommu_mm_dts_parse(struct device *dev, struct component_match **match, argument
1215 component_match_add(dev, match, component_compare_dev, &plarbdev->dev);
1252 struct component_match *match = NULL; local
1356 ret = mtk_iommu_mm_dts_parse(dev, &match, data);
1393 ret = component_master_add_with_match(dev, &mtk_iommu_com_ops, match);
H A Dmtk_iommu_v1.c615 struct component_match *match = NULL; local
674 component_match_add_release(dev, &match, component_release_of,
693 ret = component_master_add_with_match(dev, &mtk_iommu_v1_com_ops, match);
/linux-master/drivers/cache/
H A Dsifive_ccache.c292 const struct of_device_id *match; local
296 np = of_find_matching_node_and_match(NULL, sifive_ccache_ids, &match);
300 quirks = (uintptr_t)match->data;
/linux-master/drivers/ata/
H A Dahci.c434 /* JMicron 360/1/3/5/6, match class to avoid IDE function */
1208 * So try to match on DMI_BOARD_VENDOR of "MICRO-STAR INTER".
1213 * match on DMI_BOARD_NAME of "MS-7376".
1229 * match on DMI_BOARD_VENDOR of "MICRO-STAR INTER" again.
1253 const struct dmi_system_id *match; local
1257 match = dmi_first_match(sysids);
1259 !match)
1262 if (!match->driver_data)
1268 if (strcmp(buf, match->driver_data) >= 0)
1273 match
[all...]
/linux-master/net/ipv6/netfilter/
H A Dip6_tables.c97 /* We need match for the '-p all', too! */
270 * normally, except that they will NEVER match rules that ask
273 * match it. */
314 acpar.match = ematch->u.kernel.match;
316 if (!acpar.match->match(skb, &acpar))
473 par.match = m->u.kernel.match;
476 if (par.match
495 struct xt_match *match; local
1277 struct xt_match *match; local
[all...]
/linux-master/net/ipv6/
H A Dip6_fib.c770 * Prefix match
777 "Can not replace route - no match found");
778 pr_warn("Can't replace route, no match found\n");
787 * Exact match ?
831 "Can not replace route - no match found");
832 pr_warn("Can't replace route, no match found\n");
898 * the branches would not match less specific routes
960 const struct fib6_info *match,
979 * is using 'match'. The cached pcpu_rt->from only changes
983 if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) {
959 __fib6_drop_pcpu_from(struct fib6_nh *fib6_nh, const struct fib6_info *match, const struct fib6_table *table) argument
[all...]
/linux-master/net/ipv4/netfilter/
H A Dip_tables.c248 * normally, except that they will NEVER match rules that ask
251 * match it. */
291 acpar.match = ematch->u.kernel.match;
293 if (!acpar.match->match(skb, &acpar))
455 par.match = m->u.kernel.match;
458 if (par.match->destroy != NULL)
459 par.match
478 struct xt_match *match; local
1261 struct xt_match *match; local
[all...]

Completed in 418 milliseconds

1234567891011>>