match 41 arch/arc/kernel/devtree.c static const void * __init arch_get_next_mach(const char *const **match) match 50 arch/arc/kernel/devtree.c *match = m->dt_compat; match 454 arch/arm/common/bL_switcher.c int match = -1; match 470 arch/arm/common/bL_switcher.c match = j; match 472 arch/arm/common/bL_switcher.c if (match != -1) { match 473 arch/arm/common/bL_switcher.c bL_switcher_cpu_pairing[i] = match; match 474 arch/arm/common/bL_switcher.c cpumask_clear_cpu(match, &available_cpus); match 475 arch/arm/common/bL_switcher.c pr_info("CPU%d paired with CPU%d\n", i, match); match 850 arch/arm/common/locomo.c .match = locomo_match, match 1377 arch/arm/common/sa1111.c .match = sa1111_match, match 191 arch/arm/kernel/devtree.c static const void * __init arch_get_next_mach(const char *const **match) match 200 arch/arm/kernel/devtree.c *match = m->dt_compat; match 130 arch/arm/mach-at91/pm.c const struct of_device_id *match; match 153 arch/arm/mach-at91/pm.c for_each_matching_node_and_match(np, soc_pm.ws_ids, &match) { match 159 arch/arm/mach-at91/pm.c wsi = match->data; match 660 arch/arm/mach-exynos/suspend.c const struct of_device_id *match; match 664 arch/arm/mach-exynos/suspend.c np = of_find_matching_node_and_match(NULL, exynos_pmu_of_device_ids, &match); match 677 arch/arm/mach-exynos/suspend.c pm_data = (const struct exynos_pm_data *) match->data; match 42 arch/arm/mach-integrator/lm.c .match = lm_match, match 205 arch/arm/mach-mvebu/coherency.c const struct of_device_id *match; match 232 arch/arm/mach-mvebu/coherency.c np = of_find_matching_node_and_match(NULL, of_coherency_table, &match); match 236 arch/arm/mach-mvebu/coherency.c type = (int) match->data; match 163 arch/arm/mach-mvebu/system-controller.c const struct of_device_id *match; match 167 arch/arm/mach-mvebu/system-controller.c &match); match 173 arch/arm/mach-mvebu/system-controller.c mvebu_sc = (struct mvebu_system_controller *)match->data; match 326 arch/arm/mach-omap2/cm_common.c const struct of_device_id *match; match 332 arch/arm/mach-omap2/cm_common.c for_each_matching_node_and_match(np, omap_cm_dt_match_table, &match) { match 333 arch/arm/mach-omap2/cm_common.c data = (struct omap_prcm_init_data *)match->data; match 372 arch/arm/mach-omap2/cm_common.c const struct of_device_id *match; match 376 arch/arm/mach-omap2/cm_common.c for_each_matching_node_and_match(np, omap_cm_dt_match_table, &match) { match 377 arch/arm/mach-omap2/cm_common.c data = match->data; match 769 arch/arm/mach-omap2/control.c const struct of_device_id *match; match 773 arch/arm/mach-omap2/control.c for_each_matching_node_and_match(np, omap_scrm_dt_match_table, &match) { match 774 arch/arm/mach-omap2/control.c data = (struct control_init_data *)match->data; match 800 arch/arm/mach-omap2/control.c const struct of_device_id *match; match 806 arch/arm/mach-omap2/control.c for_each_matching_node_and_match(np, omap_scrm_dt_match_table, &match) { match 807 arch/arm/mach-omap2/control.c data = match->data; match 216 arch/arm/mach-omap2/omap_hwmod.c const char *match; match 3530 arch/arm/mach-omap2/omap_hwmod.c { .match = "msdi", .len = 4, .reset = omap_msdi_reset, }, match 3534 arch/arm/mach-omap2/omap_hwmod.c { .match = "pcie", .len = 4, .reset = dra7xx_pciess_reset, }, match 3538 arch/arm/mach-omap2/omap_hwmod.c { .match = "dss", .len = 3, .reset = omap_dss_reset, }, match 3539 arch/arm/mach-omap2/omap_hwmod.c { .match = "hdq1w", .len = 5, .reset = omap_hdq1w_reset, }, match 3540 arch/arm/mach-omap2/omap_hwmod.c { .match = "i2c", .len = 3, .reset = omap_i2c_reset, }, match 3541 arch/arm/mach-omap2/omap_hwmod.c { .match = "wd_timer", .len = 8, .reset = omap2_wd_timer_reset, }, match 3555 arch/arm/mach-omap2/omap_hwmod.c if (!strncmp(data->name, quirk->match, quirk->len)) { match 746 arch/arm/mach-omap2/prm_common.c const struct of_device_id *match; match 751 arch/arm/mach-omap2/prm_common.c for_each_matching_node_and_match(np, omap_prcm_dt_match_table, &match) { match 752 arch/arm/mach-omap2/prm_common.c data = (struct omap_prcm_init_data *)match->data; match 794 arch/arm/mach-omap2/prm_common.c const struct of_device_id *match; match 798 arch/arm/mach-omap2/prm_common.c for_each_matching_node_and_match(np, omap_prcm_dt_match_table, &match) { match 799 arch/arm/mach-omap2/prm_common.c data = match->data; match 220 arch/arm/mach-omap2/timer.c static struct device_node * __init omap_get_timer_dt(const struct of_device_id *match, match 226 arch/arm/mach-omap2/timer.c for_each_matching_node(np, match) { match 306 arch/arm/mach-rockchip/pm.c const struct of_device_id *match; match 311 arch/arm/mach-rockchip/pm.c &match); match 312 arch/arm/mach-rockchip/pm.c if (!match) { match 316 arch/arm/mach-rockchip/pm.c pm_data = (struct rockchip_pm_data *) match->data; match 1132 arch/arm/mach-rpc/ecard.c .match = ecard_match, match 38 arch/arm/mach-shmobile/setup-rcar-gen2.c const struct of_device_id *match; match 43 arch/arm/mach-shmobile/setup-rcar-gen2.c cpg = of_find_matching_node_and_match(NULL, cpg_matches, &match); match 47 arch/arm/mach-shmobile/setup-rcar-gen2.c if (match->data) match 48 arch/arm/mach-shmobile/setup-rcar-gen2.c idx = of_property_match_string(cpg, "clock-names", match->data); match 1596 arch/arm64/kernel/cpufeature.c #define HWCAP_CAP_MATCH(match, cap_type, cap) \ match 1599 arch/arm64/kernel/cpufeature.c .matches = match, \ match 53 arch/hexagon/kernel/time.c u32 match; /* Match value */ match 82 arch/hexagon/kernel/time.c iowrite32(delta, &rtos_timer->match); match 36 arch/mips/generic/init.c const struct of_device_id *match; match 52 arch/mips/generic/init.c match = mips_machine_is_compatible(check_mach, fdt); match 53 arch/mips/generic/init.c if (match) { match 55 arch/mips/generic/init.c mach_match_data = match->data; match 46 arch/mips/include/asm/machine.h const struct of_device_id *match; match 51 arch/mips/include/asm/machine.h for (match = mach->matches; match->compatible[0]; match++) { match 52 arch/mips/include/asm/machine.h if (fdt_node_check_compatible(fdt, 0, match->compatible) == 0) match 53 arch/mips/include/asm/machine.h return match; match 52 arch/mips/kernel/mips-mt-fpaff.c bool match; match 56 arch/mips/kernel/mips-mt-fpaff.c match = (uid_eq(cred->euid, pcred->euid) || match 59 arch/mips/kernel/mips-mt-fpaff.c return match; match 164 arch/mips/mm/uasm-micromips.c (insn_table_MM[opc].match == 0 && insn_table_MM[opc].fields == 0)) match 169 arch/mips/mm/uasm-micromips.c op = ip->match; match 238 arch/mips/mm/uasm-mips.c (insn_table[opc].match == 0 && insn_table[opc].fields == 0)) match 243 arch/mips/mm/uasm-mips.c op = ip->match; match 73 arch/mips/mm/uasm.c u32 match; match 50 arch/mips/sgi-ip22/ip22-gio.c const struct gio_device_id *gio_match_device(const struct gio_device_id *match, match 55 arch/mips/sgi-ip22/ip22-gio.c for (ids = match; ids->id != 0xff; ids++) match 127 arch/mips/sgi-ip22/ip22-gio.c const struct gio_device_id *match; match 137 arch/mips/sgi-ip22/ip22-gio.c match = gio_match_device(drv->id_table, gio_dev); match 138 arch/mips/sgi-ip22/ip22-gio.c if (match) match 139 arch/mips/sgi-ip22/ip22-gio.c error = drv->probe(gio_dev, match); match 383 arch/mips/sgi-ip22/ip22-gio.c .match = gio_bus_match, match 623 arch/parisc/kernel/drivers.c .match = parisc_generic_match, match 127 arch/powerpc/include/asm/macio.h int (*probe)(struct macio_dev* dev, const struct of_device_id *match); match 588 arch/powerpc/kernel/vdso.c int match = (cur_cpu_spec->cpu_features & patch->ftr_mask) match 590 arch/powerpc/kernel/vdso.c if (!match) match 139 arch/powerpc/platforms/512x/mpc5121_ads_cpld.c .match = cpld_pic_host_match, match 325 arch/powerpc/platforms/83xx/suspend.c const struct of_device_id *match; match 331 arch/powerpc/platforms/83xx/suspend.c match = of_match_device(pmc_match, &ofdev->dev); match 332 arch/powerpc/platforms/83xx/suspend.c if (!match) match 335 arch/powerpc/platforms/83xx/suspend.c type = match->data; match 272 arch/powerpc/platforms/cell/interrupt.c .match = iic_host_match, match 1373 arch/powerpc/platforms/powermac/low_i2c.c int i, match; match 1383 arch/powerpc/platforms/powermac/low_i2c.c for (i = 0, match = 1; match && i < len; i ++) match 1385 arch/powerpc/platforms/powermac/low_i2c.c match = 0; match 1386 arch/powerpc/platforms/powermac/low_i2c.c *args->u[0].p = match; match 289 arch/powerpc/platforms/powermac/pic.c .match = pmac_pic_host_match, match 154 arch/powerpc/platforms/powernv/opal-irqchip.c .match = opal_event_match, match 678 arch/powerpc/platforms/ps3/interrupt.c .match = ps3_host_match, match 472 arch/powerpc/platforms/ps3/system-bus.c .match = ps3_system_bus_match, match 428 arch/powerpc/platforms/pseries/ibmebus.c .match = ibmebus_bus_bus_match, match 1611 arch/powerpc/platforms/pseries/vio.c .match = vio_bus_match, match 249 arch/powerpc/sysdev/ehv_pic.c .match = ehv_pic_host_match, match 398 arch/powerpc/sysdev/fsl_msi.c const struct of_device_id *match; match 408 arch/powerpc/sysdev/fsl_msi.c match = of_match_device(fsl_of_msi_ids, &dev->dev); match 409 arch/powerpc/sysdev/fsl_msi.c if (!match) match 411 arch/powerpc/sysdev/fsl_msi.c features = match->data; match 359 arch/powerpc/sysdev/fsl_rcpm.c const struct of_device_id *match; match 362 arch/powerpc/sysdev/fsl_rcpm.c np = of_find_matching_node_and_match(NULL, rcpm_matches, &match); match 379 arch/powerpc/sysdev/fsl_rcpm.c qoriq_pm_ops = match->data; match 206 arch/powerpc/sysdev/i8259.c .match = i8259_host_match, match 694 arch/powerpc/sysdev/ipic.c .match = ipic_host_match, match 1181 arch/powerpc/sysdev/mpic.c .match = mpic_host_match, match 416 arch/powerpc/sysdev/xics/xics-common.c .match = xics_host_match, match 1296 arch/powerpc/sysdev/xive/common.c return xive_ops->match(node); match 1300 arch/powerpc/sysdev/xive/common.c .match = xive_irq_domain_match, match 473 arch/powerpc/sysdev/xive/native.c .match = xive_native_match, match 654 arch/powerpc/sysdev/xive/spapr.c .match = xive_spapr_match, match 49 arch/powerpc/sysdev/xive/xive-internal.h bool (*match)(struct device_node *np); match 45 arch/s390/include/asm/ccwdev.h const struct ccw_device_id *match) match 51 arch/s390/include/asm/ccwdev.h && (id->cu_type != match->cu_type)) match 55 arch/s390/include/asm/ccwdev.h && (id->cu_model != match->cu_model)) match 59 arch/s390/include/asm/ccwdev.h && (id->dev_type != match->dev_type)) match 63 arch/s390/include/asm/ccwdev.h && (id->dev_model != match->dev_model)) match 33 arch/sh/mm/tlbflush_64.c unsigned long long match, pteh=0, lpage; match 40 arch/sh/mm/tlbflush_64.c match = (asid << PTEH_ASID_SHIFT) | PTEH_VALID; match 41 arch/sh/mm/tlbflush_64.c match |= lpage; match 48 arch/sh/mm/tlbflush_64.c if (pteh == match) { match 59 arch/sh/mm/tlbflush_64.c if (pteh == match) { match 83 arch/sh/mm/tlbflush_64.c unsigned long long match, pteh=0, pteh_epn, pteh_low; match 97 arch/sh/mm/tlbflush_64.c match = (cpu_asid(cpu, mm) << PTEH_ASID_SHIFT) | PTEH_VALID; match 108 arch/sh/mm/tlbflush_64.c if (pteh_low == match && pteh_epn >= start && pteh_epn <= end) match 121 arch/sh/mm/tlbflush_64.c if (pteh_low == match && pteh_epn >= start && pteh_epn <= end) match 38 arch/sparc/include/asm/prom.h int of_find_in_proplist(const char *list, const char *match, int len); match 143 arch/sparc/kernel/of_device_32.c .match = of_bus_pci_match, match 152 arch/sparc/kernel/of_device_32.c .match = of_bus_sbus_match, match 161 arch/sparc/kernel/of_device_32.c .match = of_bus_ambapp_match, match 170 arch/sparc/kernel/of_device_32.c .match = NULL, match 182 arch/sparc/kernel/of_device_32.c if (!of_busses[i].match || of_busses[i].match(np)) match 188 arch/sparc/kernel/of_device_64.c .match = of_bus_pci_match, match 197 arch/sparc/kernel/of_device_64.c .match = of_bus_simba_match, match 206 arch/sparc/kernel/of_device_64.c .match = of_bus_sbus_match, match 215 arch/sparc/kernel/of_device_64.c .match = of_bus_fhc_match, match 224 arch/sparc/kernel/of_device_64.c .match = NULL, match 236 arch/sparc/kernel/of_device_64.c if (!of_busses[i].match || of_busses[i].match(np)) match 29 arch/sparc/kernel/of_device_common.h int (*match)(struct device_node *parent); match 459 arch/sparc/kernel/pci_sabre.c const struct of_device_id *match; match 469 arch/sparc/kernel/pci_sabre.c match = of_match_device(sabre_match, &op->dev); match 470 arch/sparc/kernel/pci_sabre.c hummingbird_p = match && (match->data != NULL); match 1465 arch/sparc/kernel/pci_schizo.c const struct of_device_id *match; match 1467 arch/sparc/kernel/pci_schizo.c match = of_match_device(schizo_match, &op->dev); match 1468 arch/sparc/kernel/pci_schizo.c if (!match) match 1470 arch/sparc/kernel/pci_schizo.c return __schizo_init(op, (unsigned long)match->data); match 100 arch/sparc/kernel/prom_common.c int of_find_in_proplist(const char *list, const char *match, int len) match 105 arch/sparc/kernel/prom_common.c if (!strcmp(list, match)) match 34 arch/sparc/kernel/vio.c int match = 1; match 36 arch/sparc/kernel/vio.c match &= !strcmp(matches->type, type); match 39 arch/sparc/kernel/vio.c match &= len && match 42 arch/sparc/kernel/vio.c if (match) match 158 arch/sparc/kernel/vio.c .match = vio_bus_match, match 930 arch/sparc/mm/init_64.c unsigned long match; match 940 arch/sparc/mm/init_64.c u64 match; match 984 arch/sparc/mm/init_64.c if ((start & p->mask) == p->match) { match 1032 arch/sparc/mm/init_64.c if ((pa_start & m->mask) == m->match) { match 1033 arch/sparc/mm/init_64.c m_match = m->match; match 1049 arch/sparc/mm/init_64.c if ((pa_start & m->mask) == m->match) { match 1050 arch/sparc/mm/init_64.c m_match = m->match; match 1119 arch/sparc/mm/init_64.c node_masks[0].match = 0; match 1284 arch/sparc/mm/init_64.c m->match = *val; match 1290 arch/sparc/mm/init_64.c count - 1, m->node, m->latency, m->match, m->mask); match 1392 arch/sparc/mm/init_64.c if ((grp->mask == n->mask) && (grp->match == n->match)) match 1447 arch/sparc/mm/init_64.c n->match = candidate->match; match 1450 arch/sparc/mm/init_64.c index, n->mask, n->match, candidate->latency); match 1547 arch/sparc/mm/init_64.c node_masks[index].match = cpu << 36UL; match 39 arch/sparc/mm/tsb.c unsigned long match = idx << 13; match 41 arch/sparc/mm/tsb.c match |= (ent->tag << 22); match 42 arch/sparc/mm/tsb.c if (match >= start && match < end) match 591 arch/um/drivers/net_kern.c int match; match 600 arch/um/drivers/net_kern.c match = check_transport(new, eth->init, eth->index, &init, match 602 arch/um/drivers/net_kern.c if (!match) match 197 arch/x86/events/intel/uncore_nhmex.c DEFINE_UNCORE_FORMAT_ATTR(match, match, "config1:0-63"); match 68 arch/x86/include/asm/cpu_device_id.h extern const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match); match 32 arch/x86/kernel/cpu/match.c const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match) match 37 arch/x86/kernel/cpu/match.c for (m = match; match 58 arch/x86/kernel/cpu/match.c x86_match_cpu_with_stepping(const struct x86_cpu_desc *match) match 63 arch/x86/kernel/cpu/match.c for (m = match; m->x86_family | m->x86_model; m++) { match 96 arch/x86/mm/pat_rbtree.c struct memtype *match; match 98 arch/x86/mm/pat_rbtree.c match = memtype_rb_lowest_match(root, start, end); match 99 arch/x86/mm/pat_rbtree.c while (match != NULL && match->start < end) { match 103 arch/x86/mm/pat_rbtree.c (match->start == start) && (match->end == end)) match 104 arch/x86/mm/pat_rbtree.c return match; match 107 arch/x86/mm/pat_rbtree.c (match->start < start) && (match->end == end)) match 108 arch/x86/mm/pat_rbtree.c return match; match 110 arch/x86/mm/pat_rbtree.c node = rb_next(&match->rb); match 112 arch/x86/mm/pat_rbtree.c match = rb_entry(node, struct memtype, rb); match 114 arch/x86/mm/pat_rbtree.c match = NULL; match 126 arch/x86/mm/pat_rbtree.c struct memtype *match; match 129 arch/x86/mm/pat_rbtree.c match = memtype_rb_lowest_match(&memtype_rbroot, start, end); match 130 arch/x86/mm/pat_rbtree.c if (match == NULL) match 133 arch/x86/mm/pat_rbtree.c if (match->type != found_type && newtype == NULL) match 136 arch/x86/mm/pat_rbtree.c dprintk("Overlap at 0x%Lx-0x%Lx\n", match->start, match->end); match 137 arch/x86/mm/pat_rbtree.c found_type = match->type; match 139 arch/x86/mm/pat_rbtree.c node = rb_next(&match->rb); match 141 arch/x86/mm/pat_rbtree.c match = rb_entry(node, struct memtype, rb); match 143 arch/x86/mm/pat_rbtree.c if (match->start >= end) /* Checked all possible matches */ match 146 arch/x86/mm/pat_rbtree.c if (is_node_overlap(match, start, end) && match 147 arch/x86/mm/pat_rbtree.c match->type != found_type) { match 151 arch/x86/mm/pat_rbtree.c node = rb_next(&match->rb); match 162 arch/x86/mm/pat_rbtree.c cattr_name(found_type), cattr_name(match->type)); match 971 block/sed-opal.c static bool response_token_matches(const struct opal_resp_tok *token, u8 match) match 975 block/sed-opal.c token->pos[0] != match) match 194 crypto/asymmetric_keys/asymmetric_type.c bool (*match)(const struct asymmetric_key_id *kid1, match 202 crypto/asymmetric_keys/asymmetric_type.c if (match(kids->id[i], match_id)) match 43 crypto/crypto_user_base.c int match = 0; match 52 crypto/crypto_user_base.c match = !strcmp(q->cra_driver_name, match 55 crypto/crypto_user_base.c match = !strcmp(q->cra_name, p->cru_name); match 57 crypto/crypto_user_base.c if (!match) match 356 drivers/acpi/acpi_pnp.c .match = acpi_pnp_match, match 318 drivers/acpi/acpica/evrgnini.c u8 match; match 327 drivers/acpi/acpica/evrgnini.c match = acpi_ut_is_pci_root_bridge(hid->string); match 330 drivers/acpi/acpica/evrgnini.c if (match) { match 792 drivers/acpi/bus.c const struct of_device_id *match = NULL; match 794 drivers/acpi/bus.c if (!acpi_of_match_device(adev, dev->driver->of_match_table, &match)) match 797 drivers/acpi/bus.c return match->data; match 802 drivers/acpi/bus.c const struct acpi_device_id *match; match 807 drivers/acpi/bus.c match = acpi_match_device(dev->driver->acpi_match_table, dev); match 808 drivers/acpi/bus.c if (!match) match 811 drivers/acpi/bus.c return (const void *)match->driver_data; match 955 drivers/acpi/bus.c .match = acpi_bus_match, match 43 drivers/acpi/glue.c if (type && type->match && type->find_companion) { match 76 drivers/acpi/glue.c if (tmp->match(dev)) { match 72 drivers/acpi/ioapic.c bool match = false; match 84 drivers/acpi/ioapic.c match = true; match 87 drivers/acpi/ioapic.c match = true; match 93 drivers/acpi/ioapic.c return match; match 1750 drivers/acpi/scan.c if (handler->match) match 1751 drivers/acpi/scan.c return handler->match(idstr, matchid); match 736 drivers/acpi/utils.c const struct acpi_dev_match_info *match = data; match 740 drivers/acpi/utils.c if (acpi_match_device_ids(adev, match->hid)) match 743 drivers/acpi/utils.c if (match->uid && (!adev->pnp.unique_id || match 744 drivers/acpi/utils.c strcmp(adev->pnp.unique_id, match->uid))) match 747 drivers/acpi/utils.c if (match->hrv == -1) match 754 drivers/acpi/utils.c return hrv == match->hrv; match 779 drivers/acpi/utils.c struct acpi_dev_match_info match = {}; match 782 drivers/acpi/utils.c strlcpy(match.hid[0].id, hid, sizeof(match.hid[0].id)); match 783 drivers/acpi/utils.c match.uid = uid; match 784 drivers/acpi/utils.c match.hrv = hrv; match 786 drivers/acpi/utils.c dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); match 808 drivers/acpi/utils.c struct acpi_dev_match_info match = {}; match 811 drivers/acpi/utils.c strlcpy(match.hid[0].id, hid, sizeof(match.hid[0].id)); match 812 drivers/acpi/utils.c match.uid = uid; match 813 drivers/acpi/utils.c match.hrv = hrv; match 815 drivers/acpi/utils.c dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); match 218 drivers/amba/bus.c .match = amba_match, match 1094 drivers/ata/ahci.c const struct dmi_system_id *match; match 1098 drivers/ata/ahci.c match = dmi_first_match(sysids); match 1100 drivers/ata/ahci.c !match) match 1103 drivers/ata/ahci.c if (!match->driver_data) match 1109 drivers/ata/ahci.c if (strcmp(buf, match->driver_data) >= 0) match 1114 drivers/ata/ahci.c match->ident); match 1119 drivers/ata/ahci.c dev_warn(&pdev->dev, "%s: enabling 64bit DMA\n", match->ident); match 724 drivers/ata/libata-transport.c i->t.host_attrs.ac.match = ata_tport_match; match 729 drivers/ata/libata-transport.c i->link_attr_cont.ac.match = ata_tlink_match; match 734 drivers/ata/libata-transport.c i->dev_attr_cont.ac.match = ata_tdev_match; match 1116 drivers/ata/pata_macio.c const struct of_device_id *match) match 2553 drivers/atm/fore200e.c const struct of_device_id *match; match 2558 drivers/atm/fore200e.c match = of_match_device(fore200e_sba_match, &op->dev); match 2559 drivers/atm/fore200e.c if (!match) match 356 drivers/auxdisplay/img-ascii-lcd.c const struct of_device_id *match; match 362 drivers/auxdisplay/img-ascii-lcd.c match = of_match_device(img_ascii_lcd_matches, &pdev->dev); match 363 drivers/auxdisplay/img-ascii-lcd.c if (!match) match 366 drivers/auxdisplay/img-ascii-lcd.c cfg = match->data; match 155 drivers/base/attribute_container.c if (!cont->match(cont, dev)) match 221 drivers/base/attribute_container.c if (!cont->match(cont, dev)) match 262 drivers/base/attribute_container.c if (!cont->match(cont, dev)) match 299 drivers/base/attribute_container.c if (cont->match(cont, dev)) match 129 drivers/base/base.h return drv->bus->match ? drv->bus->match(dev, drv) : 1; match 327 drivers/base/bus.c int (*match)(struct device *dev, const void *data)) match 338 drivers/base/bus.c if (match(dev, data) && get_device(dev)) match 400 drivers/base/class.c int (*match)(struct device *, const void *)) match 415 drivers/base/class.c if (match(dev, data)) { match 68 drivers/base/component.c struct component_match *match; match 93 drivers/base/component.c struct component_match *match = m->match; match 104 drivers/base/component.c for (i = 0; i < match->num; i++) { match 105 drivers/base/component.c struct component *component = match->compare[i].component; match 184 drivers/base/component.c struct component_match *match = master->match; match 192 drivers/base/component.c for (i = 0; i < match->num; i++) { match 193 drivers/base/component.c struct component_match_array *mc = &match->compare[i]; match 198 drivers/base/component.c if (match->compare[i].component) match 210 drivers/base/component.c match->compare[i].duplicate = !!c->master; match 211 drivers/base/component.c match->compare[i].component = c; match 223 drivers/base/component.c for (i = 0; i < master->match->num; i++) match 224 drivers/base/component.c if (master->match->compare[i].component == c) match 225 drivers/base/component.c master->match->compare[i].component = NULL; match 295 drivers/base/component.c struct component_match *match) match 299 drivers/base/component.c for (i = 0; i < match->num; i++) { match 300 drivers/base/component.c struct component_match_array *mc = &match->compare[i]; match 306 drivers/base/component.c kfree(match->compare); match 315 drivers/base/component.c struct component_match *match, size_t num) match 319 drivers/base/component.c if (match->alloc == num) match 326 drivers/base/component.c if (match->compare) { match 327 drivers/base/component.c memcpy(new, match->compare, sizeof(*new) * match 328 drivers/base/component.c min(match->num, num)); match 329 drivers/base/component.c kfree(match->compare); match 331 drivers/base/component.c match->compare = new; match 332 drivers/base/component.c match->alloc = num; match 344 drivers/base/component.c struct component_match *match = *matchptr; match 346 drivers/base/component.c if (IS_ERR(match)) match 349 drivers/base/component.c if (!match) { match 350 drivers/base/component.c match = devres_alloc(devm_component_match_release, match 351 drivers/base/component.c sizeof(*match), GFP_KERNEL); match 352 drivers/base/component.c if (!match) { match 357 drivers/base/component.c devres_add(master, match); match 359 drivers/base/component.c *matchptr = match; match 362 drivers/base/component.c if (match->num == match->alloc) { match 363 drivers/base/component.c size_t new_size = match->alloc + 16; match 366 drivers/base/component.c ret = component_match_realloc(master, match, new_size); match 373 drivers/base/component.c match->compare[match->num].compare = compare; match 374 drivers/base/component.c match->compare[match->num].compare_typed = compare_typed; match 375 drivers/base/component.c match->compare[match->num].release = release; match 376 drivers/base/component.c match->compare[match->num].data = compare_data; match 377 drivers/base/component.c match->compare[match->num].component = NULL; match 378 drivers/base/component.c match->num++; match 439 drivers/base/component.c struct component_match *match = master->match; match 445 drivers/base/component.c if (match) { match 446 drivers/base/component.c for (i = 0; i < match->num; i++) { match 447 drivers/base/component.c struct component *c = match->compare[i].component; match 470 drivers/base/component.c struct component_match *match) match 476 drivers/base/component.c ret = component_match_realloc(dev, match, match->num); match 486 drivers/base/component.c master->match = match; match 562 drivers/base/component.c for (i = master->match->num; i--; ) match 563 drivers/base/component.c if (!master->match->compare[i].duplicate) { match 564 drivers/base/component.c c = master->match->compare[i].component; match 646 drivers/base/component.c for (i = 0; i < master->match->num; i++) match 647 drivers/base/component.c if (!master->match->compare[i].duplicate) { match 648 drivers/base/component.c c = master->match->compare[i].component; match 656 drivers/base/component.c if (!master->match->compare[i - 1].duplicate) { match 657 drivers/base/component.c c = master->match->compare[i - 1].component; match 2562 drivers/base/core.c int (*match)(struct device *dev, void *data)) match 2572 drivers/base/core.c if (match(child, data) && get_device(child)) match 131 drivers/base/cpu.c .match = cpu_subsys_match, match 17 drivers/base/devcon.c void *data, devcon_match_fn_t match) match 28 drivers/base/devcon.c ret = match(&con, -1, data); match 40 drivers/base/devcon.c void *data, devcon_match_fn_t match) match 51 drivers/base/devcon.c ret = match(&con, -1, data); match 73 drivers/base/devcon.c devcon_match_fn_t match) match 77 drivers/base/devcon.c if (!fwnode || !match) match 80 drivers/base/devcon.c ret = fwnode_graph_devcon_match(fwnode, con_id, data, match); match 84 drivers/base/devcon.c return fwnode_devcon_match(fwnode, con_id, data, match); match 100 drivers/base/devcon.c void *data, devcon_match_fn_t match) match 108 drivers/base/devcon.c if (!match) match 111 drivers/base/devcon.c ret = fwnode_connection_find_match(fwnode, con_id, data, match); match 125 drivers/base/devcon.c ret = match(con, !ep, data); match 177 drivers/base/devres.c dr_match_t match, void *match_data, match 195 drivers/base/devres.c if (match && !match(dev, dr->data, match_data)) match 241 drivers/base/devres.c dr_match_t match, void *match_data) match 250 drivers/base/devres.c if (match && !match(dev, dr->data, match_data)) match 273 drivers/base/devres.c dr_match_t match, void *match_data) match 279 drivers/base/devres.c dr = find_dr(dev, release, match, match_data); match 303 drivers/base/devres.c dr_match_t match, void *match_data) match 310 drivers/base/devres.c dr = find_dr(dev, new_dr->node.release, match, match_data); match 339 drivers/base/devres.c dr_match_t match, void *match_data) match 345 drivers/base/devres.c dr = find_dr(dev, release, match, match_data); match 377 drivers/base/devres.c dr_match_t match, void *match_data) match 381 drivers/base/devres.c res = devres_remove(dev, release, match, match_data); match 407 drivers/base/devres.c dr_match_t match, void *match_data) match 411 drivers/base/devres.c res = devres_remove(dev, release, match, match_data); match 77 drivers/base/driver.c int (*match)(struct device *dev, const void *data)) match 88 drivers/base/driver.c if (match(dev, data) && get_device(dev)) match 31 drivers/base/isa.c if (!isa_driver->match || match 32 drivers/base/isa.c isa_driver->match(dev, to_isa_dev(dev)->id)) match 89 drivers/base/isa.c .match = isa_bus_match, match 1263 drivers/base/platform.c .match = platform_match, match 1466 drivers/base/platform.c struct platform_device *match; match 1501 drivers/base/platform.c match = NULL; match 1504 drivers/base/platform.c match = early_platform_match(epdrv, match_id); match 1507 drivers/base/platform.c if (match) { match 1513 drivers/base/platform.c if (!match->dev.init_name && slab_is_available()) { match 1514 drivers/base/platform.c if (match->id != -1) match 1515 drivers/base/platform.c match->dev.init_name = match 1517 drivers/base/platform.c match->name, match 1518 drivers/base/platform.c match->id); match 1520 drivers/base/platform.c match->dev.init_name = match 1522 drivers/base/platform.c match->name); match 1524 drivers/base/platform.c if (!match->dev.init_name) match 1528 drivers/base/platform.c if (epdrv->pdrv->probe(match)) match 1530 drivers/base/platform.c class_str, match->name); match 177 drivers/base/power/trace.c int match; match 180 drivers/base/power/trace.c match = 0; match 189 drivers/base/power/trace.c match++; match 191 drivers/base/power/trace.c return match; match 196 drivers/base/power/trace.c int match = 0; match 206 drivers/base/power/trace.c match++; match 211 drivers/base/power/trace.c return match; match 195 drivers/base/soc.c const struct soc_device_attribute *match) match 197 drivers/base/soc.c if (match->machine && match 198 drivers/base/soc.c (!attr->machine || !glob_match(match->machine, attr->machine))) match 201 drivers/base/soc.c if (match->family && match 202 drivers/base/soc.c (!attr->family || !glob_match(match->family, attr->family))) match 205 drivers/base/soc.c if (match->revision && match 206 drivers/base/soc.c (!attr->revision || !glob_match(match->revision, attr->revision))) match 209 drivers/base/soc.c if (match->soc_id && match 210 drivers/base/soc.c (!attr->soc_id || !glob_match(match->soc_id, attr->soc_id))) match 72 drivers/bcma/main.c .match = bcma_bus_match, match 278 drivers/bcma/scan.c struct bcma_device_id *match, int core_num, match 341 drivers/bcma/scan.c if (match && ((match->manuf != BCMA_ANY_MANUF && match 342 drivers/bcma/scan.c match->manuf != core->id.manuf) || match 343 drivers/bcma/scan.c (match->id != BCMA_ANY_ID && match->id != core->id.id) || match 344 drivers/bcma/scan.c (match->rev != BCMA_ANY_REV && match->rev != core->id.rev) || match 345 drivers/bcma/scan.c (match->class != BCMA_ANY_CLASS && match->class != core->id.class) match 1173 drivers/block/swim3.c const struct of_device_id *match) match 508 drivers/bluetooth/ath3k.c const struct usb_device_id *match; match 510 drivers/bluetooth/ath3k.c match = usb_match_id(intf, ath3k_blist_tbl); match 511 drivers/bluetooth/ath3k.c if (match) match 512 drivers/bluetooth/ath3k.c id = match; match 3596 drivers/bluetooth/btusb.c const struct usb_device_id *match; match 3598 drivers/bluetooth/btusb.c match = usb_match_id(intf, blacklist_table); match 3599 drivers/bluetooth/btusb.c if (match) match 3600 drivers/bluetooth/btusb.c id = match; match 785 drivers/bluetooth/hci_h5.c const struct acpi_device_id *match; match 800 drivers/bluetooth/hci_h5.c match = acpi_match_device(dev->driver->acpi_match_table, dev); match 801 drivers/bluetooth/hci_h5.c if (!match) match 804 drivers/bluetooth/hci_h5.c h5->vnd = (const struct h5_vnd *)match->driver_data; match 805 drivers/bluetooth/hci_h5.c h5->id = (char *)match->id; match 159 drivers/bus/fsl-mc/fsl-mc-bus.c .match = fsl_mc_bus_match, match 122 drivers/bus/mips_cdmm.c .match = mips_cdmm_match, match 108 drivers/bus/moxtet.c .match = moxtet_match, match 178 drivers/bus/sunxi-rsb.c .match = sunxi_rsb_device_match, match 481 drivers/char/agp/hp-agp.c int match; match 493 drivers/char/agp/hp-agp.c match = (strcmp(info->hardware_id.string, "HWP0001") == 0); match 495 drivers/char/agp/hp-agp.c if (match) { match 698 drivers/char/hw_random/n2-drv.c const struct of_device_id *match; match 702 drivers/char/hw_random/n2-drv.c match = of_match_device(n2rng_match, &op->dev); match 703 drivers/char/hw_random/n2-drv.c if (!match) match 711 drivers/char/hw_random/n2-drv.c np->data = (struct n2rng_template *)match->data; match 381 drivers/char/hw_random/omap-rng.c const struct of_device_id *match; match 385 drivers/char/hw_random/omap-rng.c match = of_match_device(of_match_ptr(omap_rng_of_match), dev); match 386 drivers/char/hw_random/omap-rng.c if (!match) { match 390 drivers/char/hw_random/omap-rng.c priv->pdata = match->data; match 229 drivers/char/ipmi/ipmi_si_platform.c const struct of_device_id *match; match 242 drivers/char/ipmi/ipmi_si_platform.c match = of_match_device(of_ipmi_match, &pdev->dev); match 243 drivers/char/ipmi/ipmi_si_platform.c if (!match) match 274 drivers/char/ipmi/ipmi_si_platform.c io.si_type = (enum si_type) match->data; match 794 drivers/char/xilinx_hwicap/xilinx_hwicap.c const struct of_device_id *match; match 799 drivers/char/xilinx_hwicap/xilinx_hwicap.c match = of_match_device(hwicap_of_match, &pdev->dev); match 800 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (match) match 801 drivers/char/xilinx_hwicap/xilinx_hwicap.c return hwicap_of_probe(pdev, match->data); match 139 drivers/clk/clk-scpi.c scpi_clk_ops_init(struct device *dev, const struct of_device_id *match, match 149 drivers/clk/clk-scpi.c init.ops = match->data; match 192 drivers/clk/clk-scpi.c const struct of_device_id *match) match 236 drivers/clk/clk-scpi.c err = scpi_clk_ops_init(dev, match, sclk, name); match 269 drivers/clk/clk-scpi.c const struct of_device_id *match; match 275 drivers/clk/clk-scpi.c match = of_match_node(scpi_clk_match, child); match 276 drivers/clk/clk-scpi.c if (!match) match 278 drivers/clk/clk-scpi.c ret = scpi_clk_add(dev, child, match); match 285 drivers/clk/clk-scpi.c if (match->data != &scpi_dvfs_ops) match 1692 drivers/clk/clk-stm32f4.c const struct of_device_id *match; match 1709 drivers/clk/clk-stm32f4.c match = of_match_node(stm32f4_of_match, np); match 1710 drivers/clk/clk-stm32f4.c if (WARN_ON(!match)) match 1713 drivers/clk/clk-stm32f4.c data = match->data; match 2049 drivers/clk/clk-stm32mp1.c const struct of_device_id *match; match 2053 drivers/clk/clk-stm32mp1.c match = of_match_node(match_data, np); match 2054 drivers/clk/clk-stm32mp1.c if (!match) { match 2059 drivers/clk/clk-stm32mp1.c data = match->data; match 4849 drivers/clk/clk.c const struct of_device_id *match; match 4860 drivers/clk/clk.c for_each_matching_node_and_match(np, matches, &match) { match 4878 drivers/clk/clk.c parent->clk_init_cb = match->data; match 39 drivers/clk/clkdev.c int match, best_found = 0, best_possible = 0; match 49 drivers/clk/clkdev.c match = 0; match 53 drivers/clk/clkdev.c match += 2; match 58 drivers/clk/clkdev.c match += 1; match 61 drivers/clk/clkdev.c if (match > best_found) { match 63 drivers/clk/clkdev.c if (match != best_possible) match 64 drivers/clk/clkdev.c best_found = match; match 3619 drivers/clk/qcom/gcc-msm8960.c const struct of_device_id *match; match 3623 drivers/clk/qcom/gcc-msm8960.c match = of_match_device(gcc_msm8960_match_table, &pdev->dev); match 3624 drivers/clk/qcom/gcc-msm8960.c if (!match) match 3635 drivers/clk/qcom/gcc-msm8960.c ret = qcom_cc_probe(pdev, match->data); match 3639 drivers/clk/qcom/gcc-msm8960.c if (match->data == &gcc_apq8064_desc) { match 3024 drivers/clk/qcom/mmcc-msm8960.c const struct of_device_id *match; match 3029 drivers/clk/qcom/mmcc-msm8960.c match = of_match_device(mmcc_msm8960_match_table, dev); match 3030 drivers/clk/qcom/mmcc-msm8960.c if (!match) match 3041 drivers/clk/qcom/mmcc-msm8960.c regmap = qcom_cc_map(pdev, match->data); match 3047 drivers/clk/qcom/mmcc-msm8960.c return qcom_cc_really_probe(pdev, match->data, regmap); match 260 drivers/clk/samsung/clk.c const struct of_device_id *match; match 264 drivers/clk/samsung/clk.c for_each_matching_node_and_match(clk_np, clk_matches, &match) { match 267 drivers/clk/samsung/clk.c fixed_rate_clk[(unsigned long)match->data].fixed_rate = freq; match 2024 drivers/clk/sprd/sc9860-clk.c const struct of_device_id *match; match 2028 drivers/clk/sprd/sc9860-clk.c match = of_match_node(sprd_sc9860_clk_ids, pdev->dev.of_node); match 2029 drivers/clk/sprd/sc9860-clk.c if (!match) { match 2034 drivers/clk/sprd/sc9860-clk.c desc = match->data; match 318 drivers/clk/st/clk-flexgen.c const struct of_device_id *match; match 339 drivers/clk/st/clk-flexgen.c match = of_match_node(flexgen_of_match, np); match 340 drivers/clk/st/clk-flexgen.c if (match) { match 341 drivers/clk/st/clk-flexgen.c data = (struct clkgen_data *)match->data; match 879 drivers/clk/ti/adpll.c const struct of_device_id *match; match 885 drivers/clk/ti/adpll.c match = of_match_device(ti_adpll_match, dev); match 886 drivers/clk/ti/adpll.c if (match) match 887 drivers/clk/ti/adpll.c pdata = match->data; match 361 drivers/clocksource/timer-atmel-tcb.c const struct of_device_id *match; match 401 drivers/clocksource/timer-atmel-tcb.c match = of_match_node(atmel_tcb_of_match, node->parent); match 402 drivers/clocksource/timer-atmel-tcb.c bits = (uintptr_t)match->data; match 19 drivers/clocksource/timer-probe.c const struct of_device_id *match; match 24 drivers/clocksource/timer-probe.c for_each_matching_node_and_match(np, __timer_of_table, &match) { match 28 drivers/clocksource/timer-probe.c init_func_ret = match->data; match 589 drivers/clocksource/timer-ti-dm.c unsigned int match) match 602 drivers/clocksource/timer-ti-dm.c omap_dm_timer_write_reg(timer, OMAP_TIMER_MATCH_REG, match); match 607 drivers/clocksource/timer-ti-dm.c timer->context.tmar = match; match 159 drivers/cpufreq/cpufreq-dt-platdev.c const struct of_device_id *match; match 165 drivers/cpufreq/cpufreq-dt-platdev.c match = of_match_node(whitelist, np); match 166 drivers/cpufreq/cpufreq-dt-platdev.c if (match) { match 167 drivers/cpufreq/cpufreq-dt-platdev.c data = match->data; match 547 drivers/cpufreq/mediatek-cpufreq.c const struct of_device_id *match; match 555 drivers/cpufreq/mediatek-cpufreq.c match = of_match_node(mtk_cpufreq_machines, np); match 557 drivers/cpufreq/mediatek-cpufreq.c if (!match) { match 145 drivers/cpufreq/qcom-cpufreq-nvmem.c const struct of_device_id *match; match 166 drivers/cpufreq/qcom-cpufreq-nvmem.c match = pdev->dev.platform_data; match 167 drivers/cpufreq/qcom-cpufreq-nvmem.c drv->data = match->data; match 318 drivers/cpufreq/qcom-cpufreq-nvmem.c const struct of_device_id *match; match 324 drivers/cpufreq/qcom-cpufreq-nvmem.c match = of_match_node(qcom_cpufreq_match_list, np); match 326 drivers/cpufreq/qcom-cpufreq-nvmem.c if (!match) match 334 drivers/cpufreq/qcom-cpufreq-nvmem.c -1, match, sizeof(*match)); match 296 drivers/cpufreq/qoriq-cpufreq.c const struct of_device_id *match; match 303 drivers/cpufreq/qoriq-cpufreq.c match = of_match_node(node_matches, np); match 304 drivers/cpufreq/qoriq-cpufreq.c data = match->data; match 173 drivers/cpufreq/sun50i-cpufreq-nvmem.c const struct of_device_id *match; match 177 drivers/cpufreq/sun50i-cpufreq-nvmem.c match = of_match_node(sun50i_cpufreq_match_list, np); match 180 drivers/cpufreq/sun50i-cpufreq-nvmem.c return match; match 190 drivers/cpufreq/sun50i-cpufreq-nvmem.c const struct of_device_id *match; match 193 drivers/cpufreq/sun50i-cpufreq-nvmem.c match = sun50i_cpufreq_match_node(); match 194 drivers/cpufreq/sun50i-cpufreq-nvmem.c if (!match) match 200 drivers/cpufreq/ti-cpufreq.c const struct of_device_id *match; match 203 drivers/cpufreq/ti-cpufreq.c match = of_match_node(ti_cpufreq_of_match, np); match 206 drivers/cpufreq/ti-cpufreq.c return match; match 212 drivers/cpufreq/ti-cpufreq.c const struct of_device_id *match; match 218 drivers/cpufreq/ti-cpufreq.c match = dev_get_platdata(&pdev->dev); match 219 drivers/cpufreq/ti-cpufreq.c if (!match) match 226 drivers/cpufreq/ti-cpufreq.c opp_data->soc_data = match->data; match 295 drivers/cpufreq/ti-cpufreq.c const struct of_device_id *match; match 298 drivers/cpufreq/ti-cpufreq.c match = ti_cpufreq_match_node(); match 299 drivers/cpufreq/ti-cpufreq.c if (match) match 300 drivers/cpufreq/ti-cpufreq.c platform_device_register_data(NULL, "ti-cpufreq", -1, match, match 301 drivers/cpufreq/ti-cpufreq.c sizeof(*match)); match 2852 drivers/crypto/axis/artpec6_crypto.c const struct of_device_id *match; match 2863 drivers/crypto/axis/artpec6_crypto.c match = of_match_node(artpec6_crypto_of_match, dev->of_node); match 2864 drivers/crypto/axis/artpec6_crypto.c if (!match) match 2867 drivers/crypto/axis/artpec6_crypto.c variant = (enum artpec6_crypto_variant)match->data; match 62 drivers/crypto/ccp/sp-platform.c const struct of_device_id *match; match 64 drivers/crypto/ccp/sp-platform.c match = of_match_node(sp_of_match, pdev->dev.of_node); match 65 drivers/crypto/ccp/sp-platform.c if (match && match->data) match 66 drivers/crypto/ccp/sp-platform.c return (struct sp_dev_vdata *)match->data; match 74 drivers/crypto/ccp/sp-platform.c const struct acpi_device_id *match; match 76 drivers/crypto/ccp/sp-platform.c match = acpi_match_device(sp_acpi_match, &pdev->dev); match 77 drivers/crypto/ccp/sp-platform.c if (match && match->driver_data) match 78 drivers/crypto/ccp/sp-platform.c return (struct sp_dev_vdata *)match->driver_data; match 436 drivers/crypto/marvell/cesa.c const struct of_device_id *match; match 450 drivers/crypto/marvell/cesa.c match = of_match_node(mv_cesa_of_match_table, dev->of_node); match 451 drivers/crypto/marvell/cesa.c if (!match || !match->data) match 454 drivers/crypto/marvell/cesa.c caps = match->data; match 426 drivers/crypto/s5p-sss.c const struct of_device_id *match; match 428 drivers/crypto/s5p-sss.c match = of_match_node(s5p_sss_dt_match, match 430 drivers/crypto/s5p-sss.c return (const struct samsung_aes_variant *)match->data; match 51 drivers/dax/bus.c int match; match 54 drivers/dax/bus.c match = !!__dax_match_id(dax_drv, dev_name(dev)); match 57 drivers/dax/bus.c return match; match 136 drivers/dax/bus.c .match = dax_bus_match, match 128 drivers/dio/dio-driver.c .match = dio_bus_match, match 1764 drivers/dma/at_hdmac.c const struct of_device_id *match; match 1765 drivers/dma/at_hdmac.c match = of_match_node(atmel_dma_dt_ids, pdev->dev.of_node); match 1766 drivers/dma/at_hdmac.c if (match == NULL) match 1768 drivers/dma/at_hdmac.c return match->data; match 28 drivers/dma/dw/platform.c const struct dw_dma_chip_pdata *match; match 34 drivers/dma/dw/platform.c match = device_get_match_data(dev); match 35 drivers/dma/dw/platform.c if (!match) match 38 drivers/dma/dw/platform.c data = devm_kmemdup(&pdev->dev, match, sizeof(*match), GFP_KERNEL); match 1230 drivers/dma/qcom/bam_dma.c const struct of_device_id *match; match 1240 drivers/dma/qcom/bam_dma.c match = of_match_node(bam_of_match, pdev->dev.of_node); match 1241 drivers/dma/qcom/bam_dma.c if (!match) { match 1246 drivers/dma/qcom/bam_dma.c bdev->layout = match->data; match 175 drivers/dma/sh/shdma-base.c int ret, match; match 178 drivers/dma/sh/shdma-base.c match = schan->hw_req; match 179 drivers/dma/sh/shdma-base.c ret = ops->set_slave(schan, match, slave_addr, true); match 183 drivers/dma/sh/shdma-base.c match = schan->real_slave_id; match 192 drivers/dma/sh/shdma-base.c ret = ops->set_slave(schan, match, slave_addr, false); match 326 drivers/dma/sh/shdmac.c struct sh_dmae_chan *sh_chan, int match) match 334 drivers/dma/sh/shdmac.c if (match >= SH_DMA_SLAVE_NUMBER) match 338 drivers/dma/sh/shdmac.c if (cfg->slave_id == match) match 342 drivers/dma/sh/shdmac.c if (cfg->mid_rid == match) { match 741 drivers/dma/st_fdma.c const struct of_device_id *match; match 746 drivers/dma/st_fdma.c match = of_match_device((st_fdma_match), &pdev->dev); match 747 drivers/dma/st_fdma.c if (!match || !match->data) { match 752 drivers/dma/st_fdma.c drvdata = match->data; match 1276 drivers/dma/stm32-dma.c const struct of_device_id *match; match 1280 drivers/dma/stm32-dma.c match = of_match_device(stm32_dma_of_match, &pdev->dev); match 1281 drivers/dma/stm32-dma.c if (!match) { match 177 drivers/dma/stm32-dmamux.c const struct of_device_id *match; match 203 drivers/dma/stm32-dmamux.c match = of_match_node(stm32_stm32dma_master_match, dma_node); match 204 drivers/dma/stm32-dmamux.c if (!match) { match 133 drivers/dma/ti/dma-crossbar.c const struct of_device_id *match; match 153 drivers/dma/ti/dma-crossbar.c match = of_match_node(ti_am335x_master_match, dma_node); match 154 drivers/dma/ti/dma-crossbar.c if (!match) { match 322 drivers/dma/ti/dma-crossbar.c const struct of_device_id *match; match 345 drivers/dma/ti/dma-crossbar.c match = of_match_node(ti_dra7_master_match, dma_node); match 346 drivers/dma/ti/dma-crossbar.c if (!match) { match 415 drivers/dma/ti/dma-crossbar.c xbar->dma_offset = *(u32 *)match->data; match 441 drivers/dma/ti/dma-crossbar.c const struct of_device_id *match; match 444 drivers/dma/ti/dma-crossbar.c match = of_match_node(ti_dma_xbar_match, pdev->dev.of_node); match 445 drivers/dma/ti/dma-crossbar.c if (unlikely(!match)) match 448 drivers/dma/ti/dma-crossbar.c switch (*(u32 *)match->data) { match 2265 drivers/dma/ti/edma.c const struct of_device_id *match; match 2267 drivers/dma/ti/edma.c match = of_match_node(edma_of_ids, node); match 2268 drivers/dma/ti/edma.c if (match && (*(u32 *)match->data) == EDMA_BINDING_TPCC) match 2592 drivers/dma/ti/edma.c bool match = false; match 2600 drivers/dma/ti/edma.c match = true; match 2603 drivers/dma/ti/edma.c return match; match 2627 drivers/dma/xilinx/xilinx_dma.c const struct of_device_id *match; match 2629 drivers/dma/xilinx/xilinx_dma.c match = of_match_node(xilinx_dma_of_ids, np); match 2630 drivers/dma/xilinx/xilinx_dma.c if (match && match->data) { match 2631 drivers/dma/xilinx/xilinx_dma.c xdev->dma_config = match->data; match 140 drivers/eisa/eisa-bus.c .match = eisa_bus_match, match 144 drivers/firewire/core-device.c int match = 0; match 147 drivers/firewire/core-device.c match |= IEEE1394_MATCH_VENDOR_ID; match 149 drivers/firewire/core-device.c match |= IEEE1394_MATCH_MODEL_ID; match 151 drivers/firewire/core-device.c match |= IEEE1394_MATCH_SPECIFIER_ID; match 153 drivers/firewire/core-device.c match |= IEEE1394_MATCH_VERSION; match 155 drivers/firewire/core-device.c return (match & id_table->match_flags) == id_table->match_flags; match 224 drivers/firewire/core-device.c .match = fw_unit_match, match 882 drivers/firewire/core-device.c int match = 0; match 915 drivers/firewire/core-device.c match = 1; match 921 drivers/firewire/core-device.c return match; match 3035 drivers/firewire/ohci.c u32 control = IR_CONTEXT_ISOCH_HEADER, match; match 3045 drivers/firewire/ohci.c match = 0; match 3047 drivers/firewire/ohci.c match = IT_CONTEXT_CYCLE_MATCH_ENABLE | match 3052 drivers/firewire/ohci.c context_run(&ctx->context, match); match 3060 drivers/firewire/ohci.c match = (tags << 28) | (sync << 8) | ctx->base.channel; match 3062 drivers/firewire/ohci.c match |= (cycle & 0x07fff) << 12; match 3068 drivers/firewire/ohci.c reg_write(ohci, CONTEXT_MATCH(ctx->context.regs), match); match 93 drivers/firmware/arm_scmi/bus.c .match = scmi_dev_match, match 356 drivers/firmware/arm_scpi.c struct scpi_xfer *t, *match = NULL; match 369 drivers/firmware/arm_scpi.c match = list_first_entry(&ch->rx_pending, struct scpi_xfer, match 371 drivers/firmware/arm_scpi.c list_del(&match->node); match 376 drivers/firmware/arm_scpi.c match = t; match 381 drivers/firmware/arm_scpi.c if (match && !completion_done(&match->done)) { match 389 drivers/firmware/arm_scpi.c len = match->rx_len; match 391 drivers/firmware/arm_scpi.c match->status = ioread32(&mem->status); match 392 drivers/firmware/arm_scpi.c memcpy_fromio(match->rx_buf, mem->payload, len); match 396 drivers/firmware/arm_scpi.c len = min_t(unsigned int, match->rx_len, CMD_SIZE(cmd)); match 398 drivers/firmware/arm_scpi.c match->status = ioread32(&mem->status); match 399 drivers/firmware/arm_scpi.c memcpy_fromio(match->rx_buf, mem->payload, len); match 402 drivers/firmware/arm_scpi.c if (match->rx_len > len) match 403 drivers/firmware/arm_scpi.c memset(match->rx_buf + len, 0, match->rx_len - len); match 404 drivers/firmware/arm_scpi.c complete(&match->done); match 40 drivers/firmware/efi/vars.c validate_device_path(efi_char16_t *var_name, int match, u8 *buffer, match 73 drivers/firmware/efi/vars.c validate_boot_order(efi_char16_t *var_name, int match, u8 *buffer, match 84 drivers/firmware/efi/vars.c validate_load_option(efi_char16_t *var_name, int match, u8 *buffer, match 93 drivers/firmware/efi/vars.c for (i = match; i < match+4; i++) { match 100 drivers/firmware/efi/vars.c if (namelen > match + 4) match 130 drivers/firmware/efi/vars.c return validate_device_path(var_name, match, buffer + desclength + 6, match 135 drivers/firmware/efi/vars.c validate_uint16(efi_char16_t *var_name, int match, u8 *buffer, match 146 drivers/firmware/efi/vars.c validate_ascii_string(efi_char16_t *var_name, int match, u8 *buffer, match 165 drivers/firmware/efi/vars.c bool (*validate)(efi_char16_t *var_name, int match, u8 *data, match 213 drivers/firmware/efi/vars.c int *match) match 215 drivers/firmware/efi/vars.c for (*match = 0; ; (*match)++) { match 216 drivers/firmware/efi/vars.c char c = match_name[*match]; match 225 drivers/firmware/efi/vars.c return (*match == len); match 233 drivers/firmware/efi/vars.c if (*match < len && c == var_name[*match]) match 258 drivers/firmware/efi/vars.c int match = 0; match 263 drivers/firmware/efi/vars.c if (variable_matches(utf8_name, utf8_size+1, name, &match)) { match 267 drivers/firmware/efi/vars.c return variable_validate[i].validate(var_name, match, match 282 drivers/firmware/efi/vars.c int match = 0; match 292 drivers/firmware/efi/vars.c variable_validate[i].name, &match)) { match 61 drivers/firmware/google/coreboot_table.c .match = coreboot_bus_match, match 1040 drivers/fpga/dfl.c int (*match)(struct platform_device *, void *)) match 1048 drivers/fpga/dfl.c if (match(port_dev, data) && get_device(&port_dev->dev)) match 431 drivers/fpga/dfl.h int (*match)(struct platform_device *, void *)); match 435 drivers/fpga/dfl.h int (*match)(struct platform_device *, void *)) match 440 drivers/fpga/dfl.h pdev = __dfl_fpga_cdev_find_port(cdev, data, match); match 23 drivers/fpga/fpga-region.c int (*match)(struct device *, const void *)) match 27 drivers/fpga/fpga-region.c dev = class_find_device(fpga_region_class, start, data, match); match 1362 drivers/fsi/fsi-core.c .match = fsi_bus_match, match 570 drivers/gpio/gpio-bcm-kona.c const struct of_device_id *match; match 577 drivers/gpio/gpio-bcm-kona.c match = of_match_device(bcm_kona_gpio_of_match, dev); match 578 drivers/gpio/gpio-bcm-kona.c if (!match) { match 137 drivers/gpio/gpio-creg-snps.c const struct of_device_id *match; match 151 drivers/gpio/gpio-creg-snps.c match = of_match_node(creg_gpio_ids, pdev->dev.of_node); match 152 drivers/gpio/gpio-creg-snps.c hcg->layout = match->data; match 501 drivers/gpio/gpio-davinci.c const struct of_device_id *match; match 510 drivers/gpio/gpio-davinci.c match = of_match_device(of_match_ptr(davinci_gpio_ids), match 512 drivers/gpio/gpio-davinci.c if (match) match 513 drivers/gpio/gpio-davinci.c gpio_get_irq_chip = (gpio_get_irq_chip_cb_t)match->data; match 200 drivers/gpio/gpio-grgpio.c int match = 0; match 214 drivers/gpio/gpio-grgpio.c match = 1; match 220 drivers/gpio/gpio-grgpio.c if (!match) match 1090 drivers/gpio/gpio-mvebu.c const struct of_device_id *match; match 1100 drivers/gpio/gpio-mvebu.c match = of_match_device(mvebu_gpio_of_match, &pdev->dev); match 1101 drivers/gpio/gpio-mvebu.c if (match) match 1102 drivers/gpio/gpio-mvebu.c soc_variant = (unsigned long) match->data; match 1347 drivers/gpio/gpio-omap.c const struct of_device_id *match; match 1353 drivers/gpio/gpio-omap.c match = of_match_device(of_match_ptr(omap_gpio_match), dev); match 1355 drivers/gpio/gpio-omap.c pdata = match ? match->data : dev_get_platdata(dev); match 950 drivers/gpio/gpio-pca953x.c const void *match; match 952 drivers/gpio/gpio-pca953x.c match = device_get_match_data(&client->dev); match 953 drivers/gpio/gpio-pca953x.c if (!match) { match 958 drivers/gpio/gpio-pca953x.c chip->driver_data = (uintptr_t)match; match 688 drivers/gpio/gpio-winbond.c .match = winbond_gpio_imatch, match 836 drivers/gpio/gpio-zynq.c const struct of_device_id *match; match 842 drivers/gpio/gpio-zynq.c match = of_match_node(zynq_gpio_of_match, pdev->dev.of_node); match 843 drivers/gpio/gpio-zynq.c if (!match) { match 847 drivers/gpio/gpio-zynq.c gpio->p_data = match->data; match 1601 drivers/gpio/gpiolib.c int (*match)(struct gpio_chip *chip, match 1610 drivers/gpio/gpiolib.c if (gdev->chip && match(gdev->chip, data)) { match 85 drivers/gpu/drm/arm/display/komeda/komeda_drv.c struct component_match **match, match 93 drivers/gpu/drm/arm/display/komeda/komeda_drv.c drm_of_component_match_add(master, match, compare_of, remote); match 101 drivers/gpu/drm/arm/display/komeda/komeda_drv.c struct component_match *match = NULL; match 112 drivers/gpu/drm/arm/display/komeda/komeda_drv.c komeda_add_slave(dev, &match, child, KOMEDA_OF_PORT_OUTPUT, 0); match 113 drivers/gpu/drm/arm/display/komeda/komeda_drv.c komeda_add_slave(dev, &match, child, KOMEDA_OF_PORT_OUTPUT, 1); match 116 drivers/gpu/drm/arm/display/komeda/komeda_drv.c return component_master_add_with_match(dev, &komeda_master_ops, match); match 375 drivers/gpu/drm/arm/hdlcd_drv.c struct component_match *match = NULL; match 382 drivers/gpu/drm/arm/hdlcd_drv.c drm_of_component_match_add(&pdev->dev, &match, compare_dev, port); match 386 drivers/gpu/drm/arm/hdlcd_drv.c match); match 963 drivers/gpu/drm/arm/malidp_drv.c struct component_match *match = NULL; match 973 drivers/gpu/drm/arm/malidp_drv.c drm_of_component_match_add(&pdev->dev, &match, malidp_compare_dev, match 977 drivers/gpu/drm/arm/malidp_drv.c match); match 1020 drivers/gpu/drm/armada/armada_crtc.c const struct of_device_id *match; match 1023 drivers/gpu/drm/armada/armada_crtc.c match = of_match_device(dev->driver->of_match_table, dev); match 1024 drivers/gpu/drm/armada/armada_crtc.c if (!match) match 1037 drivers/gpu/drm/armada/armada_crtc.c variant = match->data; match 211 drivers/gpu/drm/armada/armada_drv.c struct component_match **match, struct device_node *dev_node) match 218 drivers/gpu/drm/armada/armada_drv.c drm_of_component_match_add(dev, match, compare_of, match 231 drivers/gpu/drm/armada/armada_drv.c struct component_match *match = NULL; match 245 drivers/gpu/drm/armada/armada_drv.c component_match_add(dev, &match, compare_dev_name, match 257 drivers/gpu/drm/armada/armada_drv.c armada_add_endpoints(dev, &match, d->of_node); match 263 drivers/gpu/drm/armada/armada_drv.c match); match 702 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c const struct of_device_id *match; match 706 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c match = of_match_node(atmel_hlcdc_of_match, dev->dev->parent->of_node); match 707 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c if (!match) { match 712 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c if (!match->data) { match 726 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c dc->desc = match->data; match 91 drivers/gpu/drm/drm_mipi_dsi.c .match = mipi_dsi_device_match, match 120 drivers/gpu/drm/drm_of.c struct component_match *match = NULL; match 136 drivers/gpu/drm/drm_of.c drm_of_component_match_add(dev, &match, compare_of, match 147 drivers/gpu/drm/drm_of.c if (!match) { match 177 drivers/gpu/drm/drm_of.c drm_of_component_match_add(dev, &match, compare_of, match 184 drivers/gpu/drm/drm_of.c return component_master_add_with_match(dev, m_ops, match); match 239 drivers/gpu/drm/drm_panel_orientation_quirks.c const struct dmi_system_id *match; match 244 drivers/gpu/drm/drm_panel_orientation_quirks.c for (match = dmi_first_match(orientation_data); match 245 drivers/gpu/drm/drm_panel_orientation_quirks.c match; match 246 drivers/gpu/drm/drm_panel_orientation_quirks.c match = dmi_first_match(match + 1)) { match 247 drivers/gpu/drm/drm_panel_orientation_quirks.c data = match->driver_data; match 631 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct component_match *match = NULL; match 640 drivers/gpu/drm/etnaviv/etnaviv_drv.c drm_of_component_match_add(&pdev->dev, &match, match 648 drivers/gpu/drm/etnaviv/etnaviv_drv.c component_match_add(dev, &match, compare_str, names[i]); match 651 drivers/gpu/drm/etnaviv/etnaviv_drv.c return component_master_add_with_match(dev, &etnaviv_master_ops, match); match 242 drivers/gpu/drm/exynos/exynos_drm_drv.c struct component_match *match = NULL; match 257 drivers/gpu/drm/exynos/exynos_drm_drv.c component_match_add(dev, &match, match 264 drivers/gpu/drm/exynos/exynos_drm_drv.c return match ?: ERR_PTR(-ENODEV); match 382 drivers/gpu/drm/exynos/exynos_drm_drv.c struct component_match *match; match 386 drivers/gpu/drm/exynos/exynos_drm_drv.c match = exynos_drm_match_add(&pdev->dev); match 387 drivers/gpu/drm/exynos/exynos_drm_drv.c if (IS_ERR(match)) match 388 drivers/gpu/drm/exynos/exynos_drm_drv.c return PTR_ERR(match); match 391 drivers/gpu/drm/exynos/exynos_drm_drv.c match); match 319 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c struct component_match *match = NULL; match 326 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c drm_of_component_match_add(dev, &match, compare_of, remote); match 329 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c return component_master_add_with_match(dev, &kirin_drm_ops, match); match 519 drivers/gpu/drm/i915/i915_active.c goto match; match 529 drivers/gpu/drm/i915/i915_active.c goto match; match 556 drivers/gpu/drm/i915/i915_active.c goto match; match 569 drivers/gpu/drm/i915/i915_active.c goto match; match 576 drivers/gpu/drm/i915/i915_active.c match: match 206 drivers/gpu/drm/imx/dw_hdmi-imx.c const struct of_device_id *match; match 219 drivers/gpu/drm/imx/dw_hdmi-imx.c match = of_match_node(dw_hdmi_imx_dt_ids, pdev->dev.of_node); match 220 drivers/gpu/drm/imx/dw_hdmi-imx.c plat_data = match->data; match 320 drivers/gpu/drm/mcde/mcde_drv.c struct component_match *match = NULL; match 480 drivers/gpu/drm/mcde/mcde_drv.c component_match_add(dev, &match, mcde_compare_dev, d); match 485 drivers/gpu/drm/mcde/mcde_drv.c if (!match) { match 490 drivers/gpu/drm/mcde/mcde_drv.c if (IS_ERR(match)) { match 492 drivers/gpu/drm/mcde/mcde_drv.c ret = PTR_ERR(match); match 496 drivers/gpu/drm/mcde/mcde_drv.c match); match 490 drivers/gpu/drm/mediatek/mtk_drm_drv.c struct component_match *match = NULL; match 555 drivers/gpu/drm/mediatek/mtk_drm_drv.c drm_of_component_match_add(dev, &match, compare_of, match 587 drivers/gpu/drm/mediatek/mtk_drm_drv.c ret = component_master_add_with_match(dev, &mtk_drm_ops, match); match 393 drivers/gpu/drm/meson/meson_drv.c struct component_match **match, match 404 drivers/gpu/drm/meson/meson_drv.c component_match_add(&pdev->dev, match, compare_of, remote); match 415 drivers/gpu/drm/meson/meson_drv.c count += meson_probe_remote(pdev, match, remote, remote_node); match 425 drivers/gpu/drm/meson/meson_drv.c struct component_match *match = NULL; match 437 drivers/gpu/drm/meson/meson_drv.c count += meson_probe_remote(pdev, &match, np, remote); match 441 drivers/gpu/drm/meson/meson_drv.c if (count && !match) match 450 drivers/gpu/drm/meson/meson_drv.c match); match 809 drivers/gpu/drm/meson/meson_dw_hdmi.c const struct meson_dw_hdmi_data *match; match 826 drivers/gpu/drm/meson/meson_dw_hdmi.c match = of_device_get_match_data(&pdev->dev); match 827 drivers/gpu/drm/meson/meson_dw_hdmi.c if (!match) { match 839 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->data = match; match 628 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c u32 match = ((intf_num == 1) || (intf_num == 2)) ? CTL_STAT_BOOKED : 0; match 636 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if ((ctl_mgr->ctls[c].status & checkm) == match) match 642 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c match ^= CTL_STAT_BOOKED; match 644 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if ((ctl_mgr->ctls[c].status & checkm) == match) match 558 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c const struct of_device_id *match; match 565 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c match = of_match_node(dsi_phy_dt_match, dev->of_node); match 566 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c if (!match) match 569 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c phy->cfg = match->data; match 1285 drivers/gpu/drm/msm/msm_drv.c struct component_match *match = NULL; match 1289 drivers/gpu/drm/msm/msm_drv.c ret = add_display_components(&pdev->dev, &match); match 1294 drivers/gpu/drm/msm/msm_drv.c ret = add_gpu_components(&pdev->dev, &match); match 1305 drivers/gpu/drm/msm/msm_drv.c ret = component_master_add_with_match(&pdev->dev, &msm_drm_ops, match); match 27 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c gf119_gpio_reset(struct nvkm_gpio *gpio, u8 match) match 44 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c (match != DCB_GPIO_UNUSED && match != func)) match 27 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c nv50_gpio_reset(struct nvkm_gpio *gpio, u8 match) match 48 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c (match != DCB_GPIO_UNUSED && match != func)) match 159 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c bool (*match)(struct nvkm_i2c_bus *, match 177 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c (!match || match(bus, &info[i].dev, data))) { match 1344 drivers/gpu/drm/omapdrm/dss/dss.c struct component_match **match = data; match 1355 drivers/gpu/drm/omapdrm/dss/dss.c component_match_add(dev->parent, match, dss_component_compare, dev); match 1398 drivers/gpu/drm/omapdrm/dss/dss.c struct component_match *match = NULL; match 1475 drivers/gpu/drm/omapdrm/dss/dss.c device_for_each_child(&pdev->dev, &match, dss_add_child_component); match 1477 drivers/gpu/drm/omapdrm/dss/dss.c r = component_master_add_with_match(&pdev->dev, &dss_component_ops, match); match 797 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c const struct of_device_id *match; match 799 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c match = of_match_node(dmm_of_match, dev->dev.of_node); match 800 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c if (!match) { match 806 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c omap_dmm->plat_data = match->data; match 193 drivers/gpu/drm/radeon/mkregtable.c regmatch_t match[4]; match 239 drivers/gpu/drm/radeon/mkregtable.c r = regexec(&mask_rex, buf, 4, match, 0); match 248 drivers/gpu/drm/radeon/mkregtable.c buf[match[0].rm_eo] = 0; match 249 drivers/gpu/drm/radeon/mkregtable.c buf[match[1].rm_eo] = 0; match 250 drivers/gpu/drm/radeon/mkregtable.c buf[match[2].rm_eo] = 0; match 251 drivers/gpu/drm/radeon/mkregtable.c o = strtol(&buf[match[1].rm_so], NULL, 16); match 198 drivers/gpu/drm/rcar-du/rcar_du_of.c const struct of_device_id *match; match 209 drivers/gpu/drm/rcar-du/rcar_du_of.c du_node = of_find_matching_node_and_match(NULL, of_ids, &match); match 215 drivers/gpu/drm/rcar-du/rcar_du_of.c info = match->data; match 230 drivers/gpu/drm/rcar-du/rcar_du_of.c soc_name = strchr(match->compatible, '-') + 1; match 279 drivers/gpu/drm/rcar-du/rcar_du_of.c match->compatible); match 670 drivers/gpu/drm/rcar-du/rcar_lvds.c const struct of_device_id *match; match 684 drivers/gpu/drm/rcar-du/rcar_lvds.c match = of_match_device(dev->driver->of_match_table, dev); match 685 drivers/gpu/drm/rcar-du/rcar_lvds.c if (!of_device_is_compatible(companion, match->compatible)) { match 1142 drivers/gpu/drm/rockchip/cdn-dp-core.c const struct of_device_id *match; match 1155 drivers/gpu/drm/rockchip/cdn-dp-core.c match = of_match_node(cdn_dp_dt_ids, pdev->dev.of_node); match 1156 drivers/gpu/drm/rockchip/cdn-dp-core.c dp_data = (struct cdn_dp_data *)match->data; match 693 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c const struct of_device_id *match; match 696 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c match = of_match_device(dsi->dev->driver->of_match_table, dsi->dev); match 703 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c match->compatible))) { match 491 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c const struct of_device_id *match; match 504 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c match = of_match_node(dw_hdmi_rockchip_dt_ids, pdev->dev.of_node); match 505 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c plat_data = devm_kmemdup(&pdev->dev, match->data, match 324 drivers/gpu/drm/rockchip/rockchip_drm_drv.c struct component_match *match = NULL; match 340 drivers/gpu/drm/rockchip/rockchip_drm_drv.c component_match_add(dev, &match, compare_dev, d); match 344 drivers/gpu/drm/rockchip/rockchip_drm_drv.c if (IS_ERR(match)) match 347 drivers/gpu/drm/rockchip/rockchip_drm_drv.c return match ?: ERR_PTR(-ENODEV); match 412 drivers/gpu/drm/rockchip/rockchip_drm_drv.c struct component_match *match = NULL; match 419 drivers/gpu/drm/rockchip/rockchip_drm_drv.c match = rockchip_drm_match_add(dev); match 420 drivers/gpu/drm/rockchip/rockchip_drm_drv.c if (IS_ERR(match)) match 421 drivers/gpu/drm/rockchip/rockchip_drm_drv.c return PTR_ERR(match); match 423 drivers/gpu/drm/rockchip/rockchip_drm_drv.c ret = component_master_add_with_match(dev, &rockchip_drm_ops, match); match 491 drivers/gpu/drm/rockchip/rockchip_lvds.c const struct of_device_id *match; match 503 drivers/gpu/drm/rockchip/rockchip_lvds.c match = of_match_node(rockchip_lvds_dt_ids, dev->of_node); match 504 drivers/gpu/drm/rockchip/rockchip_lvds.c if (!match) match 506 drivers/gpu/drm/rockchip/rockchip_lvds.c lvds->soc_data = match->data; match 260 drivers/gpu/drm/sti/sti_drv.c struct component_match *match = NULL; match 269 drivers/gpu/drm/sti/sti_drv.c drm_of_component_match_add(dev, &match, compare_of, match 274 drivers/gpu/drm/sti/sti_drv.c return component_master_add_with_match(dev, &sti_ops, match); match 184 drivers/gpu/drm/sun4i/sun4i_drv.c const struct of_device_id *match; match 186 drivers/gpu/drm/sun4i/sun4i_drv.c match = of_match_node(sun4i_tcon_of_table, node); match 187 drivers/gpu/drm/sun4i/sun4i_drv.c if (match) { match 190 drivers/gpu/drm/sun4i/sun4i_drv.c quirks = (struct sun4i_tcon_quirks *)match->data; match 298 drivers/gpu/drm/sun4i/sun4i_drv.c struct component_match **match, match 332 drivers/gpu/drm/sun4i/sun4i_drv.c drm_of_component_match_add(dev, match, compare_of, node); match 350 drivers/gpu/drm/sun4i/sun4i_drv.c struct component_match *match = NULL; match 369 drivers/gpu/drm/sun4i/sun4i_drv.c ret = sun4i_drv_add_endpoints(&pdev->dev, &list, &match, match 382 drivers/gpu/drm/sun4i/sun4i_drv.c match); match 609 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c const struct of_device_id *match; match 616 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c match = of_match_node(sun8i_hdmi_phy_of_table, node); match 617 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c if (!match) { match 626 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c phy->variant = (struct sun8i_hdmi_phy_variant *)match->data; match 597 drivers/gpu/drm/tilcdc/tilcdc_drv.c struct component_match *match = NULL; match 606 drivers/gpu/drm/tilcdc/tilcdc_drv.c ret = tilcdc_get_external_components(&pdev->dev, &match); match 614 drivers/gpu/drm/tilcdc/tilcdc_drv.c match); match 167 drivers/gpu/drm/tilcdc/tilcdc_external.c struct component_match **match) match 178 drivers/gpu/drm/tilcdc/tilcdc_external.c if (match) match 179 drivers/gpu/drm/tilcdc/tilcdc_external.c drm_of_component_match_add(dev, match, dev_match_of, node); match 12 drivers/gpu/drm/tilcdc/tilcdc_external.h struct component_match **match); match 998 drivers/gpu/drm/tiny/repaper.c const struct of_device_id *match; match 1007 drivers/gpu/drm/tiny/repaper.c match = of_match_device(repaper_of_match, dev); match 1008 drivers/gpu/drm/tiny/repaper.c if (match) { match 1009 drivers/gpu/drm/tiny/repaper.c model = (enum repaper_model)match->data; match 1131 drivers/gpu/drm/vc4/vc4_crtc.c const struct of_device_id *match; match 1139 drivers/gpu/drm/vc4/vc4_crtc.c match = of_match_device(vc4_crtc_dt_match, dev); match 1140 drivers/gpu/drm/vc4/vc4_crtc.c if (!match) match 1142 drivers/gpu/drm/vc4/vc4_crtc.c vc4_crtc->data = match->data; match 233 drivers/gpu/drm/vc4/vc4_drv.c struct component_match **match, match 245 drivers/gpu/drm/vc4/vc4_drv.c component_match_add(dev, match, compare_dev, d); match 353 drivers/gpu/drm/vc4/vc4_drv.c struct component_match *match = NULL; match 356 drivers/gpu/drm/vc4/vc4_drv.c vc4_match_add_drivers(dev, &match, match 359 drivers/gpu/drm/vc4/vc4_drv.c return component_master_add_with_match(dev, &vc4_drm_ops, match); match 1448 drivers/gpu/drm/vc4/vc4_dsi.c const struct of_device_id *match; match 1452 drivers/gpu/drm/vc4/vc4_dsi.c match = of_match_device(vc4_dsi_dt_match, dev); match 1453 drivers/gpu/drm/vc4/vc4_dsi.c if (!match) match 1456 drivers/gpu/drm/vc4/vc4_dsi.c dsi->port = (uintptr_t)match->data; match 143 drivers/gpu/drm/zte/zx_drm_drv.c struct component_match *match = NULL; match 151 drivers/gpu/drm/zte/zx_drm_drv.c component_match_add(dev, &match, compare_of, child); match 153 drivers/gpu/drm/zte/zx_drm_drv.c return component_master_add_with_match(dev, &zx_drm_master_ops, match); match 354 drivers/gpu/host1x/bus.c .match = host1x_device_match, match 499 drivers/gpu/host1x/mipi.c const struct of_device_id *match; match 504 drivers/gpu/host1x/mipi.c match = of_match_node(tegra_mipi_of_match, pdev->dev.of_node); match 505 drivers/gpu/host1x/mipi.c if (!match) match 512 drivers/gpu/host1x/mipi.c mipi->soc = match->data; match 245 drivers/gpu/vga/vgaarb.c unsigned int wants, legacy_wants, match; match 313 drivers/gpu/vga/vgaarb.c match = lwants & conflict->owns; match 314 drivers/gpu/vga/vgaarb.c if (!match) match 328 drivers/gpu/vga/vgaarb.c if ((match & conflict->decodes) & VGA_RSRC_LEGACY_MEM) match 330 drivers/gpu/vga/vgaarb.c if ((match & conflict->decodes) & VGA_RSRC_LEGACY_IO) match 343 drivers/gpu/vga/vgaarb.c conflict->owns &= ~match; match 160 drivers/greybus/core.c .match = greybus_match_device, match 2242 drivers/hid/hid-core.c if (hdrv->match) { match 2243 drivers/hid/hid-core.c if (!hdrv->match(hdev, hid_ignore_special_drivers)) { match 2361 drivers/hid/hid-core.c .match = hid_bus_match, match 2498 drivers/hid/hid-core.c !hdrv->match(hdev, hid_ignore_special_drivers) && match 2509 drivers/hid/hid-core.c if (hdrv->match) { match 79 drivers/hid/hid-generic.c .match = hid_generic_match, match 86 drivers/hid/hid-input.c hid_usage_cmp_t match, match 100 drivers/hid/hid-input.c if (match(usage, cur_idx, value)) { match 328 drivers/hid/hid-input.c const struct hid_device_id *match; match 330 drivers/hid/hid-input.c match = hid_match_id(hdev, hid_battery_quirks); match 331 drivers/hid/hid-input.c if (match != NULL) match 332 drivers/hid/hid-input.c quirks = match->driver_data; match 400 drivers/hid/intel-ish-hid/ishtp/bus.c .match = ishtp_cl_bus_match, match 54 drivers/hsi/hsi_core.c .match = hsi_bus_match, match 1022 drivers/hv/vmbus_drv.c .match = vmbus_match, match 153 drivers/hwmon/lm70.c const struct of_device_id *match; match 158 drivers/hwmon/lm70.c match = of_match_device(lm70_of_ids, &spi->dev); match 159 drivers/hwmon/lm70.c if (match) match 160 drivers/hwmon/lm70.c chip = (int)(uintptr_t)match->data; match 210 drivers/hwmon/vexpress-hwmon.c const struct of_device_id *match; match 219 drivers/hwmon/vexpress-hwmon.c match = of_match_device(vexpress_hwmon_of_match, &pdev->dev); match 220 drivers/hwmon/vexpress-hwmon.c if (!match) match 222 drivers/hwmon/vexpress-hwmon.c type = match->data; match 171 drivers/hwtracing/intel_th/core.c .match = intel_th_match, match 964 drivers/i2c/busses/i2c-aspeed.c const struct of_device_id *match; match 1002 drivers/i2c/busses/i2c-aspeed.c match = of_match_node(aspeed_i2c_bus_of_table, pdev->dev.of_node); match 1003 drivers/i2c/busses/i2c-aspeed.c if (!match) match 1007 drivers/i2c/busses/i2c-aspeed.c match->data; match 187 drivers/i2c/busses/i2c-at91-core.c const struct of_device_id *match; match 188 drivers/i2c/busses/i2c-at91-core.c match = of_match_node(atmel_twi_dt_ids, pdev->dev.of_node); match 189 drivers/i2c/busses/i2c-at91-core.c if (!match) match 191 drivers/i2c/busses/i2c-at91-core.c return (struct at91_twi_pdata *)match->data; match 889 drivers/i2c/busses/i2c-cadence.c const struct of_device_id *match; match 898 drivers/i2c/busses/i2c-cadence.c match = of_match_node(cdns_i2c_of_match, pdev->dev.of_node); match 899 drivers/i2c/busses/i2c-cadence.c if (match && match->data) { match 900 drivers/i2c/busses/i2c-cadence.c const struct cdns_platform_data *data = match->data; match 306 drivers/i2c/busses/i2c-elektor.c .match = elektor_match, match 1064 drivers/i2c/busses/i2c-imx.c const struct imx_i2c_hwdata *match; match 1084 drivers/i2c/busses/i2c-imx.c match = device_get_match_data(&pdev->dev); match 1085 drivers/i2c/busses/i2c-imx.c if (match) match 1086 drivers/i2c/busses/i2c-imx.c i2c_imx->hwdata = match; match 654 drivers/i2c/busses/i2c-mpc.c const struct of_device_id *match; match 664 drivers/i2c/busses/i2c-mpc.c match = of_match_device(mpc_i2c_of_match, &op->dev); match 665 drivers/i2c/busses/i2c-mpc.c if (!match) match 717 drivers/i2c/busses/i2c-mpc.c if (match->data) { match 718 drivers/i2c/busses/i2c-mpc.c const struct mpc_i2c_data *data = match->data; match 532 drivers/i2c/busses/i2c-ocores.c const struct of_device_id *match; match 592 drivers/i2c/busses/i2c-ocores.c match = of_match_node(ocores_i2c_match, pdev->dev.of_node); match 593 drivers/i2c/busses/i2c-ocores.c if (match && (long)match->data == TYPE_GRLIB) { match 609 drivers/i2c/busses/i2c-ocores.c const struct of_device_id *match; match 697 drivers/i2c/busses/i2c-ocores.c match = of_match_node(ocores_i2c_match, pdev->dev.of_node); match 698 drivers/i2c/busses/i2c-ocores.c if (match && (long)match->data == TYPE_SIFIVE_REV0) match 1362 drivers/i2c/busses/i2c-omap.c const struct of_device_id *match; match 1383 drivers/i2c/busses/i2c-omap.c match = of_match_device(of_match_ptr(omap_i2c_of_match), &pdev->dev); match 1384 drivers/i2c/busses/i2c-omap.c if (match) { match 1387 drivers/i2c/busses/i2c-omap.c pdata = match->data; match 111 drivers/i2c/busses/i2c-pca-isa.c int match = base != 0; match 113 drivers/i2c/busses/i2c-pca-isa.c if (match) { match 119 drivers/i2c/busses/i2c-pca-isa.c return match; match 178 drivers/i2c/busses/i2c-pca-isa.c .match = pca_isa_match, match 1194 drivers/i2c/busses/i2c-rk3x.c const struct of_device_id *match; match 1207 drivers/i2c/busses/i2c-rk3x.c match = of_match_node(rk3x_i2c_match, np); match 1208 drivers/i2c/busses/i2c-rk3x.c i2c->soc_data = match->data; match 160 drivers/i2c/busses/i2c-s3c2410.c const struct of_device_id *match; match 162 drivers/i2c/busses/i2c-s3c2410.c match = of_match_node(s3c24xx_i2c_match, pdev->dev.of_node); match 163 drivers/i2c/busses/i2c-s3c2410.c return (kernel_ulong_t)match->data; match 363 drivers/i2c/busses/i2c-xlr.c const struct of_device_id *match; match 377 drivers/i2c/busses/i2c-xlr.c match = of_match_device(xlr_i2c_dt_ids, &pdev->dev); match 378 drivers/i2c/busses/i2c-xlr.c if (match) match 379 drivers/i2c/busses/i2c-xlr.c priv->cfg = match->data; match 504 drivers/i2c/i2c-core-base.c .match = i2c_device_match, match 215 drivers/i2c/i2c-core-of.c const struct of_device_id *match; match 220 drivers/i2c/i2c-core-of.c match = of_match_device(matches, &client->dev); match 221 drivers/i2c/i2c-core-of.c if (match) match 222 drivers/i2c/i2c-core-of.c return match; match 320 drivers/i3c/master.c .match = i3c_device_match, match 156 drivers/ide/ide.c .match = ide_bus_match, match 1131 drivers/ide/pmac.c const struct of_device_id *match) match 1523 drivers/iio/accel/mma8452.c const struct of_device_id *match; match 1525 drivers/iio/accel/mma8452.c match = of_match_device(mma8452_dt_ids, &client->dev); match 1526 drivers/iio/accel/mma8452.c if (!match) { match 1538 drivers/iio/accel/mma8452.c data->chip_info = match->data; match 1590 drivers/iio/accel/mma8452.c match->compatible, data->chip_info->chip_id); match 156 drivers/iio/accel/st_accel_i2c.c const char *match; match 159 drivers/iio/accel/st_accel_i2c.c match = device_get_match_data(&client->dev); match 160 drivers/iio/accel/st_accel_i2c.c if (match) match 161 drivers/iio/accel/st_accel_i2c.c strlcpy(client->name, match, sizeof(client->name)); match 958 drivers/iio/adc/cpcap-adc.c const struct of_device_id *match; match 963 drivers/iio/adc/cpcap-adc.c match = of_match_device(of_match_ptr(cpcap_adc_id_table), match 965 drivers/iio/adc/cpcap-adc.c if (!match) match 968 drivers/iio/adc/cpcap-adc.c if (!match->data) { match 981 drivers/iio/adc/cpcap-adc.c ddata->ato = match->data; match 518 drivers/iio/adc/exynos_adc.c const struct of_device_id *match; match 520 drivers/iio/adc/exynos_adc.c match = of_match_node(exynos_adc_match, pdev->dev.of_node); match 521 drivers/iio/adc/exynos_adc.c return (struct exynos_adc_data *)match->data; match 202 drivers/iio/adc/rockchip_saradc.c const struct of_device_id *match; match 216 drivers/iio/adc/rockchip_saradc.c match = of_match_device(rockchip_saradc_match, &pdev->dev); match 217 drivers/iio/adc/rockchip_saradc.c if (!match) { match 222 drivers/iio/adc/rockchip_saradc.c info->data = match->data; match 870 drivers/iio/adc/twl6030-gpadc.c const struct of_device_id *match; match 875 drivers/iio/adc/twl6030-gpadc.c match = of_match_device(of_twl6030_match_tbl, dev); match 876 drivers/iio/adc/twl6030-gpadc.c if (!match) match 879 drivers/iio/adc/twl6030-gpadc.c pdata = match->data; match 447 drivers/iio/common/ssp_sensors/ssp_dev.c const struct of_device_id *match; match 475 drivers/iio/common/ssp_sensors/ssp_dev.c match = of_match_node(ssp_of_match, node); match 476 drivers/iio/common/ssp_sensors/ssp_dev.c if (!match) match 479 drivers/iio/common/ssp_sensors/ssp_dev.c data->sensorhub_info = match->data; match 359 drivers/iio/common/st_sensors/st_sensors_core.c const struct of_device_id *match, match 364 drivers/iio/common/st_sensors/st_sensors_core.c of_id = of_match_device(match, dev); match 150 drivers/infiniband/core/counters.c bool match = true; match 160 drivers/infiniband/core/counters.c match &= (param->qp_type == qp->qp_type); match 162 drivers/infiniband/core/counters.c return match; match 268 drivers/infiniband/core/roce_gid_mgmt.c bool match = false; match 276 drivers/infiniband/core/roce_gid_mgmt.c match = true; match 278 drivers/infiniband/core/roce_gid_mgmt.c return match; match 981 drivers/infiniband/hw/qib/qib_file_ops.c int ret, match = 1; match 1066 drivers/infiniband/hw/qib/qib_file_ops.c match = 0; match 1067 drivers/infiniband/hw/qib/qib_file_ops.c if (!match) match 791 drivers/input/gameport/gameport.c .match = gameport_bus_match, match 1014 drivers/input/input.c (!handler->match || handler->match(handler, dev))) { match 1066 drivers/input/joydev.c .match = joydev_match, match 607 drivers/input/keyboard/tegra-kbc.c const struct of_device_id *match; match 609 drivers/input/keyboard/tegra-kbc.c match = of_match_device(tegra_kbc_of_match, &pdev->dev); match 618 drivers/input/keyboard/tegra-kbc.c kbc->hw_support = match->data; match 327 drivers/input/misc/axp20x-pek.c const struct platform_device_id *match = platform_get_device_id(pdev); match 330 drivers/input/misc/axp20x-pek.c if (!match) { match 348 drivers/input/misc/axp20x-pek.c axp20x_pek->info = (struct axp20x_info *)match->driver_data; match 195 drivers/input/misc/da9063_onkey.c const struct of_device_id *match; match 199 drivers/input/misc/da9063_onkey.c match = of_match_node(da9063_compatible_reg_id_table, match 201 drivers/input/misc/da9063_onkey.c if (!match) match 211 drivers/input/misc/da9063_onkey.c onkey->config = match->data; match 94 drivers/input/misc/tps65218-pwrbutton.c const struct of_device_id *match; match 98 drivers/input/misc/tps65218-pwrbutton.c match = of_match_node(of_tps6521x_pb_match, dev->of_node); match 99 drivers/input/misc/tps65218-pwrbutton.c if (!match) match 106 drivers/input/misc/tps65218-pwrbutton.c pwr->data = match->data; match 347 drivers/input/rmi4/rmi_bus.c .match = rmi_bus_match, match 1017 drivers/input/serio/serio.c .match = serio_bus_match, match 1186 drivers/input/touchscreen/ads7846.c const struct of_device_id *match; match 1194 drivers/input/touchscreen/ads7846.c match = of_match_device(ads7846_dt_ids, dev); match 1195 drivers/input/touchscreen/ads7846.c if (!match) { match 1204 drivers/input/touchscreen/ads7846.c pdata->model = (unsigned long)match->data; match 178 drivers/input/touchscreen/st1232.c const struct st_chip_info *match; match 184 drivers/input/touchscreen/st1232.c match = device_get_match_data(&client->dev); match 185 drivers/input/touchscreen/st1232.c if (!match && id) match 186 drivers/input/touchscreen/st1232.c match = (const void *)id->driver_data; match 187 drivers/input/touchscreen/st1232.c if (!match) { match 206 drivers/input/touchscreen/st1232.c ts->chip_info = match; match 667 drivers/iommu/mtk_iommu.c struct component_match *match = NULL; match 734 drivers/iommu/mtk_iommu.c component_match_add_release(dev, &match, release_of, match 762 drivers/iommu/mtk_iommu.c return component_master_add_with_match(dev, &mtk_iommu_com_ops, match); match 557 drivers/iommu/mtk_iommu_v1.c struct component_match *match = NULL; match 615 drivers/iommu/mtk_iommu_v1.c component_match_add_release(dev, &match, release_of, match 640 drivers/iommu/mtk_iommu_v1.c return component_master_add_with_match(dev, &mtk_iommu_com_ops, match); match 199 drivers/ipack/ipack.c .match = ipack_bus_match, match 193 drivers/irqchip/irq-atmel-aic-common.c const struct of_device_id *match; match 198 drivers/irqchip/irq-atmel-aic-common.c match = of_match_node(matches, root); match 200 drivers/irqchip/irq-atmel-aic-common.c if (match) { match 201 drivers/irqchip/irq-atmel-aic-common.c void (*fixup)(void) = match->data; match 339 drivers/irqchip/irq-ls-scfg-msi.c const struct of_device_id *match; match 344 drivers/irqchip/irq-ls-scfg-msi.c match = of_match_device(ls_scfg_msi_id, &pdev->dev); match 345 drivers/irqchip/irq-ls-scfg-msi.c if (!match) match 352 drivers/irqchip/irq-ls-scfg-msi.c msi_data->cfg = (struct ls_scfg_msi_cfg *) match->data; match 355 drivers/irqchip/irq-meson-gpio.c const struct of_device_id *match; match 358 drivers/irqchip/irq-meson-gpio.c match = of_match_node(meson_irq_gpio_matches, node); match 359 drivers/irqchip/irq-meson-gpio.c if (!match) match 362 drivers/irqchip/irq-meson-gpio.c ctl->params = match->data; match 224 drivers/irqchip/irq-mips-cpu.c .match = mips_cpu_ipi_match, match 653 drivers/irqchip/irq-mips-gic.c .match = gic_ipi_domain_match, match 156 drivers/irqchip/irq-st.c const struct of_device_id *match; match 163 drivers/irqchip/irq-st.c match = of_match_device(st_irq_syscfg_match, &pdev->dev); match 164 drivers/irqchip/irq-st.c if (!match) match 167 drivers/irqchip/irq-st.c ddata->syscfg = (unsigned int)match->data; match 279 drivers/irqchip/irq-tegra.c const struct of_device_id *match; match 295 drivers/irqchip/irq-tegra.c match = of_match_node(ictlr_matches, node); match 296 drivers/irqchip/irq-tegra.c if (!match) /* Should never happen... */ match 299 drivers/irqchip/irq-tegra.c soc = match->data; match 161 drivers/leds/leds-cpcap.c const struct of_device_id *match; match 165 drivers/leds/leds-cpcap.c match = of_match_device(of_match_ptr(cpcap_led_of_match), &pdev->dev); match 166 drivers/leds/leds-cpcap.c if (!match || !match->data) match 173 drivers/leds/leds-cpcap.c led->info = match->data; match 470 drivers/leds/leds-pca9532.c const struct of_device_id *match; match 475 drivers/leds/leds-pca9532.c match = of_match_device(of_pca9532_leds_match, dev); match 476 drivers/leds/leds-pca9532.c if (!match) match 479 drivers/leds/leds-pca9532.c devid = (int)(uintptr_t)match->data; match 198 drivers/leds/leds-tlc591xx.c const struct of_device_id *match; match 203 drivers/leds/leds-tlc591xx.c match = of_match_device(of_tlc591xx_leds_match, dev); match 204 drivers/leds/leds-tlc591xx.c if (!match) match 207 drivers/leds/leds-tlc591xx.c tlc591xx = match->data; match 72 drivers/macintosh/macio_asic.c const struct of_device_id *match; match 82 drivers/macintosh/macio_asic.c match = of_match_device(drv->driver.of_match_table, dev); match 83 drivers/macintosh/macio_asic.c if (match) match 84 drivers/macintosh/macio_asic.c error = drv->probe(macio_dev, match); match 136 drivers/macintosh/macio_asic.c .match = macio_bus_match, match 556 drivers/macintosh/mediabay.c const struct of_device_id *match) match 586 drivers/macintosh/mediabay.c bay->ops = match->data; match 367 drivers/macintosh/rack-meter.c const struct of_device_id *match) match 868 drivers/macintosh/windfarm_pm121.c const char *match, match 871 drivers/macintosh/windfarm_pm121.c if (controls[id] == NULL && !strcmp(ct->name, match)) { match 898 drivers/macintosh/windfarm_pm121.c const char *match, match 901 drivers/macintosh/windfarm_pm121.c if (*var == NULL && !strcmp(sensor->name, match)) { match 1497 drivers/mailbox/bcm-pdc-mailbox.c const struct of_device_id *match; match 1512 drivers/mailbox/bcm-pdc-mailbox.c match = of_match_device(of_match_ptr(pdc_mbox_of_match), dev); match 1513 drivers/mailbox/bcm-pdc-mailbox.c if (match != NULL) { match 1514 drivers/mailbox/bcm-pdc-mailbox.c hw_type = match->data; match 406 drivers/mailbox/mailbox-sti.c const struct of_device_id *match; match 415 drivers/mailbox/mailbox-sti.c match = of_match_device(sti_mailbox_match, &pdev->dev); match 416 drivers/mailbox/mailbox-sti.c if (!match) { match 420 drivers/mailbox/mailbox-sti.c pdev->dev.platform_data = (struct sti_mbox_pdata *) match->data; match 167 drivers/mailbox/rockchip-mailbox.c const struct of_device_id *match; match 175 drivers/mailbox/rockchip-mailbox.c match = of_match_node(rockchip_mbox_of_match, pdev->dev.of_node); match 176 drivers/mailbox/rockchip-mailbox.c drv_data = (const struct rockchip_mbox_data *)match->data; match 161 drivers/mcb/mcb-core.c .match = mcb_match, match 512 drivers/media/i2c/m5mols/m5mols_core.c const struct m5mols_resolution *match = NULL; match 525 drivers/media/i2c/m5mols/m5mols_core.c match = fsize; match 530 drivers/media/i2c/m5mols/m5mols_core.c if (match) { match 531 drivers/media/i2c/m5mols/m5mols_core.c mf->width = match->width; match 532 drivers/media/i2c/m5mols/m5mols_core.c mf->height = match->height; match 533 drivers/media/i2c/m5mols/m5mols_core.c *resolution = match->reg; match 364 drivers/media/i2c/noon010pc30.c *match = NULL; match 372 drivers/media/i2c/noon010pc30.c match = fsize; match 376 drivers/media/i2c/noon010pc30.c if (match) { match 377 drivers/media/i2c/noon010pc30.c mf->width = match->width; match 378 drivers/media/i2c/noon010pc30.c mf->height = match->height; match 380 drivers/media/i2c/noon010pc30.c *size = match; match 1081 drivers/media/i2c/ov2659.c const struct ov2659_framesize *match = NULL; match 1090 drivers/media/i2c/ov2659.c match = fsize; match 1095 drivers/media/i2c/ov2659.c if (!match) match 1096 drivers/media/i2c/ov2659.c match = &ov2659_framesizes[2]; match 1098 drivers/media/i2c/ov2659.c mf->width = match->width; match 1099 drivers/media/i2c/ov2659.c mf->height = match->height; match 1102 drivers/media/i2c/ov2659.c *size = match; match 1193 drivers/media/i2c/ov9650.c *match = NULL; match 1202 drivers/media/i2c/ov9650.c match = fsize; match 1206 drivers/media/i2c/ov9650.c if (!match) match 1207 drivers/media/i2c/ov9650.c match = &ov965x_framesizes[0]; match 1208 drivers/media/i2c/ov9650.c mf->width = match->width; match 1209 drivers/media/i2c/ov9650.c mf->height = match->height; match 1211 drivers/media/i2c/ov9650.c *size = match; match 505 drivers/media/i2c/s5k4ecgx.c *match = NULL; match 512 drivers/media/i2c/s5k4ecgx.c match = fsize; match 516 drivers/media/i2c/s5k4ecgx.c if (match) { match 517 drivers/media/i2c/s5k4ecgx.c mf->width = match->size.width; match 518 drivers/media/i2c/s5k4ecgx.c mf->height = match->size.height; match 520 drivers/media/i2c/s5k4ecgx.c *size = match; match 399 drivers/media/i2c/sr030pc30.c *match = NULL; match 405 drivers/media/i2c/sr030pc30.c match = fsize; match 409 drivers/media/i2c/sr030pc30.c if (match) { match 410 drivers/media/i2c/sr030pc30.c mf->width = match->width; match 411 drivers/media/i2c/sr030pc30.c mf->height = match->height; match 878 drivers/media/i2c/st-mipid02.c bridge->asd.match.fwnode = match 888 drivers/media/i2c/st-mipid02.c fwnode_handle_put(bridge->asd.match.fwnode); match 61 drivers/media/pci/bt8xx/bttv-gpio.c .match = &bttv_sub_bus_match, match 19 drivers/media/pci/cx23885/cx23885-ioctl.c if (chip->match.addr > 1) match 21 drivers/media/pci/cx23885/cx23885-ioctl.c if (chip->match.addr == 1) { match 55 drivers/media/pci/cx23885/cx23885-ioctl.c if (reg->match.addr > 1) match 57 drivers/media/pci/cx23885/cx23885-ioctl.c if (reg->match.addr) match 87 drivers/media/pci/cx23885/cx23885-ioctl.c if (reg->match.addr > 1) match 89 drivers/media/pci/cx23885/cx23885-ioctl.c if (reg->match.addr) match 1026 drivers/media/pci/ttpci/av7110_av.c int match = 0; match 1043 drivers/media/pci/ttpci/av7110_av.c if (match == 5) { match 1045 drivers/media/pci/ttpci/av7110_av.c match = 0; match 1048 drivers/media/pci/ttpci/av7110_av.c match = (match == 1 || match == 2) ? 2 : 1; match 1051 drivers/media/pci/ttpci/av7110_av.c switch (match++) { match 1062 drivers/media/pci/ttpci/av7110_av.c match = 0; match 2292 drivers/media/platform/am437x/am437x-vpfe.c if (vpfe->cfg->asd[i]->match.fwnode == match 2293 drivers/media/platform/am437x/am437x-vpfe.c asd[i].match.fwnode) { match 1118 drivers/media/platform/atmel/atmel-isi.c isi->entity.asd.match.fwnode = of_fwnode_handle(remote); match 125 drivers/media/platform/atmel/atmel-sama5d2-isc.c subdev_entity->asd->match.fwnode = of_fwnode_handle(rem); match 236 drivers/media/platform/atmel/atmel-sama5d2-isc.c fwnode_handle_put(subdev_entity->asd->match.fwnode); match 398 drivers/media/platform/cadence/cdns-csi2rx.c csi2rx->asd.match.fwnode = fwnode_graph_get_remote_port_parent(fwh); match 406 drivers/media/platform/cadence/cdns-csi2rx.c fwnode_handle_put(csi2rx->asd.match.fwnode); match 1385 drivers/media/platform/davinci/vpif_capture.c const struct fwnode_handle *fwnode = _asd->match.fwnode; match 456 drivers/media/platform/exynos4-is/media-dev.c fmd->sensor[index].asd.match.fwnode = of_fwnode_handle(rem); match 1378 drivers/media/platform/exynos4-is/media-dev.c if (fmd->sensor[i].asd.match.fwnode == match 549 drivers/media/platform/marvell-ccic/cafe-driver.c mcam->asd.match.i2c.adapter_id = i2c_adapter_id(cam->i2c_adapter); match 550 drivers/media/platform/marvell-ccic/cafe-driver.c mcam->asd.match.i2c.address = ov7670_info.addr; match 283 drivers/media/platform/marvell-ccic/mmp-driver.c mcam->asd.match.fwnode = fwnode_graph_get_remote_port_parent(ep); match 322 drivers/media/platform/marvell-ccic/mmp-driver.c fwnode_handle_put(mcam->asd.match.fwnode); match 2348 drivers/media/platform/pxa_camera.c asd->match.fwnode = of_fwnode_handle(remote); match 2394 drivers/media/platform/pxa_camera.c pcdev->asd.match.i2c.adapter_id = match 2396 drivers/media/platform/pxa_camera.c pcdev->asd.match.i2c.address = pcdev->pdata->sensor_i2c_address; match 2494 drivers/media/platform/pxa_camera.c fwnode_handle_put(pcdev->asd.match.fwnode); match 2509 drivers/media/platform/pxa_camera.c pcdev->asd.match.i2c.adapter_id, match 2510 drivers/media/platform/pxa_camera.c pcdev->asd.match.i2c.address); match 254 drivers/media/platform/rcar-vin/rcar-core.c const struct of_device_id *match; match 271 drivers/media/platform/rcar-vin/rcar-core.c match = of_match_node(vin->dev->driver->of_match_table, match 275 drivers/media/platform/rcar-vin/rcar-core.c strscpy(mdev->model, match->compatible, sizeof(mdev->model)); match 661 drivers/media/platform/rcar-vin/rcar-core.c to_of_node(vin->parallel->asd.match.fwnode)); match 757 drivers/media/platform/rcar-vin/rcar-core.c if (vin->group->csi[i].fwnode != asd->match.fwnode) match 777 drivers/media/platform/rcar-vin/rcar-core.c if (vin->group->csi[i].fwnode != asd->match.fwnode) match 805 drivers/media/platform/rcar-vin/rcar-core.c if (!of_device_is_available(to_of_node(asd->match.fwnode))) { match 807 drivers/media/platform/rcar-vin/rcar-core.c to_of_node(asd->match.fwnode)); match 815 drivers/media/platform/rcar-vin/rcar-core.c to_of_node(asd->match.fwnode)); match 820 drivers/media/platform/rcar-vin/rcar-core.c vin->group->csi[vep->base.id].fwnode = asd->match.fwnode; match 823 drivers/media/platform/rcar-vin/rcar-core.c to_of_node(asd->match.fwnode), vep->base.id); match 743 drivers/media/platform/rcar-vin/rcar-csi2.c pad = media_entity_get_fwnode_pad(&subdev->entity, asd->match.fwnode, match 836 drivers/media/platform/rcar-vin/rcar-csi2.c priv->asd.match.fwnode = match 846 drivers/media/platform/rcar-vin/rcar-csi2.c fwnode_handle_put(priv->asd.match.fwnode); match 853 drivers/media/platform/rcar-vin/rcar-csi2.c to_of_node(priv->asd.match.fwnode)); match 1108 drivers/media/platform/rcar_drif.c if (sdr->ep.asd.match.fwnode != match 1233 drivers/media/platform/rcar_drif.c sdr->ep.asd.match.fwnode = fwnode; match 1519 drivers/media/platform/renesas-ceu.c ceu_sd->asd.match.i2c.adapter_id = async_sd->i2c_adapter_id; match 1520 drivers/media/platform/renesas-ceu.c ceu_sd->asd.match.i2c.address = async_sd->i2c_address; match 1587 drivers/media/platform/renesas-ceu.c ceu_sd->asd.match.fwnode = of_fwnode_handle(remote); match 3171 drivers/media/platform/s5p-jpeg/jpeg-core.c const struct of_device_id *match; match 3176 drivers/media/platform/s5p-jpeg/jpeg-core.c match = of_match_node(samsung_jpeg_match, dev->of_node); match 3178 drivers/media/platform/s5p-jpeg/jpeg-core.c if (match) match 3179 drivers/media/platform/s5p-jpeg/jpeg-core.c driver_data = (struct s5p_jpeg_variant *)match->data; match 942 drivers/media/platform/stm32/stm32-dcmi.c struct dcmi_framesize *match = NULL; match 954 drivers/media/platform/stm32/stm32-dcmi.c match = fsize; match 957 drivers/media/platform/stm32/stm32-dcmi.c if (!match) match 958 drivers/media/platform/stm32/stm32-dcmi.c match = &dcmi->sd_framesizes[0]; match 960 drivers/media/platform/stm32/stm32-dcmi.c *framesize = *match; match 1795 drivers/media/platform/stm32/stm32-dcmi.c dcmi->entity.asd.match.fwnode = of_fwnode_handle(remote); match 1835 drivers/media/platform/stm32/stm32-dcmi.c const struct of_device_id *match = NULL; match 1844 drivers/media/platform/stm32/stm32-dcmi.c match = of_match_device(of_match_ptr(stm32_dcmi_of_match), &pdev->dev); match 1845 drivers/media/platform/stm32/stm32-dcmi.c if (!match) { match 1729 drivers/media/platform/ti-vpe/cal.c asd->match.fwnode = of_fwnode_handle(sensor_node); match 342 drivers/media/platform/video-mux.c return fwnode_device_is_available(asd->match.fwnode) ? 0 : -ENOTCONN; match 242 drivers/media/platform/vimc/vimc-core.c struct component_match *match = NULL; match 259 drivers/media/platform/vimc/vimc-core.c match = ERR_CAST(vimc->subdevs[i]); match 263 drivers/media/platform/vimc/vimc-core.c return match; match 266 drivers/media/platform/vimc/vimc-core.c component_match_add(&vimc->pdev.dev, &match, vimc_comp_compare, match 270 drivers/media/platform/vimc/vimc-core.c return match; match 289 drivers/media/platform/vimc/vimc-core.c struct component_match *match = NULL; match 302 drivers/media/platform/vimc/vimc-core.c match = vimc_add_subdevs(vimc); match 303 drivers/media/platform/vimc/vimc-core.c if (IS_ERR(match)) match 304 drivers/media/platform/vimc/vimc-core.c return PTR_ERR(match); match 319 drivers/media/platform/vimc/vimc-core.c match); match 61 drivers/media/platform/xilinx/xilinx-vipp.c if (entity->asd.match.fwnode == fwnode) match 85 drivers/media/platform/xilinx/xilinx-vipp.c ep = fwnode_graph_get_next_endpoint(entity->asd.match.fwnode, match 328 drivers/media/platform/xilinx/xilinx-vipp.c if (entity->asd.match.fwnode != subdev->fwnode) match 333 drivers/media/platform/xilinx/xilinx-vipp.c entity->asd.match.fwnode); match 421 drivers/media/platform/xilinx/xilinx-vipp.c ret = xvip_graph_parse_one(xdev, entity->asd.match.fwnode); match 166 drivers/media/radio/radio-aimslab.c .match = radio_isa_match, match 132 drivers/media/radio/radio-aztech.c .match = radio_isa_match, match 296 drivers/media/radio/radio-gemtek.c .match = radio_isa_match, match 114 drivers/media/radio/radio-rtrack2.c .match = radio_isa_match, match 310 drivers/media/radio/radio-sf16fmr2.c .match = fmr2_isa_match, match 141 drivers/media/radio/radio-terratec.c .match = radio_isa_match, match 214 drivers/media/radio/radio-trust.c .match = radio_isa_match, match 143 drivers/media/radio/radio-typhoon.c .match = radio_isa_match, match 219 drivers/media/radio/radio-zoltrix.c .match = radio_isa_match, match 674 drivers/media/rc/winbond-cir.c u8 match[11]; match 682 drivers/media/rc/winbond-cir.c memset(match, 0, sizeof(match)); match 697 drivers/media/rc/winbond-cir.c match[1] |= 0x10; match 699 drivers/media/rc/winbond-cir.c match[0] = (wake_sc & 0x003F); /* 6 command bits */ match 700 drivers/media/rc/winbond-cir.c match[0] |= (wake_sc & 0x0300) >> 2; /* 2 address bits */ match 701 drivers/media/rc/winbond-cir.c match[1] = (wake_sc & 0x1c00) >> 10; /* 3 address bits */ match 703 drivers/media/rc/winbond-cir.c match[1] |= 0x10; match 714 drivers/media/rc/winbond-cir.c match[1] = bitrev8(wake_sc); match 715 drivers/media/rc/winbond-cir.c match[0] = ~match[1]; match 716 drivers/media/rc/winbond-cir.c match[3] = bitrev8(wake_sc >> 8); match 717 drivers/media/rc/winbond-cir.c match[2] = ~match[3]; match 728 drivers/media/rc/winbond-cir.c match[1] = bitrev8(wake_sc); match 729 drivers/media/rc/winbond-cir.c match[0] = ~match[1]; match 730 drivers/media/rc/winbond-cir.c match[2] = bitrev8(wake_sc >> 8); match 731 drivers/media/rc/winbond-cir.c match[3] = bitrev8(wake_sc >> 16); match 742 drivers/media/rc/winbond-cir.c match[0] = bitrev8(wake_sc); match 743 drivers/media/rc/winbond-cir.c match[1] = bitrev8(wake_sc >> 8); match 744 drivers/media/rc/winbond-cir.c match[2] = bitrev8(wake_sc >> 16); match 745 drivers/media/rc/winbond-cir.c match[3] = bitrev8(wake_sc >> 24); match 752 drivers/media/rc/winbond-cir.c match[0] = wbcir_to_rc6cells(wake_sc >> 0); match 754 drivers/media/rc/winbond-cir.c match[1] = wbcir_to_rc6cells(wake_sc >> 4); match 758 drivers/media/rc/winbond-cir.c match[2] = wbcir_to_rc6cells(wake_sc >> 8); match 760 drivers/media/rc/winbond-cir.c match[3] = wbcir_to_rc6cells(wake_sc >> 12); match 764 drivers/media/rc/winbond-cir.c match[4] = 0x50; /* mode1 = mode0 = 0, ignore toggle */ match 766 drivers/media/rc/winbond-cir.c match[5] = 0x09; /* start bit = 1, mode2 = 0 */ match 779 drivers/media/rc/winbond-cir.c match[i] = wbcir_to_rc6cells(wake_sc >> 0); match 781 drivers/media/rc/winbond-cir.c match[i] = wbcir_to_rc6cells(wake_sc >> 4); match 785 drivers/media/rc/winbond-cir.c match[i] = wbcir_to_rc6cells(wake_sc >> 8); match 787 drivers/media/rc/winbond-cir.c match[i] = wbcir_to_rc6cells(wake_sc >> 12); match 791 drivers/media/rc/winbond-cir.c match[i] = wbcir_to_rc6cells(wake_sc >> 16); match 797 drivers/media/rc/winbond-cir.c match[i] = wbcir_to_rc6cells(wake_sc >> 20); match 804 drivers/media/rc/winbond-cir.c match[i] = wbcir_to_rc6cells(wake_sc >> 24); match 806 drivers/media/rc/winbond-cir.c match[i] = wbcir_to_rc6cells(wake_sc >> 28); match 813 drivers/media/rc/winbond-cir.c match[i] = 0x93; /* mode1 = mode0 = 1, submode = 0 */ match 815 drivers/media/rc/winbond-cir.c match[i] = 0x0A; /* start bit = 1, mode2 = 1 */ match 830 drivers/media/rc/winbond-cir.c outsb(data->wbase + WBCIR_REG_WCEIR_DATA, match, 11); match 1340 drivers/media/usb/cx231xx/cx231xx-video.c switch (chip->match.addr) { match 1374 drivers/media/usb/cx231xx/cx231xx-video.c switch (reg->match.addr) { match 1432 drivers/media/usb/cx231xx/cx231xx-video.c switch (reg->match.addr) { match 1894 drivers/media/usb/em28xx/em28xx-video.c if (chip->match.addr > 1) match 1896 drivers/media/usb/em28xx/em28xx-video.c if (chip->match.addr == 1) match 1922 drivers/media/usb/em28xx/em28xx-video.c if (reg->match.addr > 1) match 1924 drivers/media/usb/em28xx/em28xx-video.c if (reg->match.addr) { match 1963 drivers/media/usb/em28xx/em28xx-video.c if (reg->match.addr > 1) match 1965 drivers/media/usb/em28xx/em28xx-video.c if (reg->match.addr) match 976 drivers/media/usb/gspca/gspca.c return chip->match.addr ? -EINVAL : 0; match 837 drivers/media/usb/gspca/pac7302.c if (reg->match.addr == 0 && match 1558 drivers/media/usb/gspca/sn9c20x.c switch (reg->match.addr) { match 1583 drivers/media/usb/gspca/sn9c20x.c switch (reg->match.addr) { match 1604 drivers/media/usb/gspca/sn9c20x.c if (chip->match.addr > 1) match 1606 drivers/media/usb/gspca/sn9c20x.c if (chip->match.addr == 1) match 59 drivers/media/v4l2-core/v4l2-async.c asd->match.i2c.adapter_id == client->adapter->nr && match 60 drivers/media/v4l2-core/v4l2-async.c asd->match.i2c.address == client->addr; match 69 drivers/media/v4l2-core/v4l2-async.c return !strcmp(asd->match.device_name, dev_name(sd->dev)); match 74 drivers/media/v4l2-core/v4l2-async.c return sd->fwnode == asd->match.fwnode; match 79 drivers/media/v4l2-core/v4l2-async.c if (!asd->match.custom.match) match 83 drivers/media/v4l2-core/v4l2-async.c return asd->match.custom.match(sd->dev, asd); match 94 drivers/media/v4l2-core/v4l2-async.c bool (*match)(struct v4l2_subdev *sd, struct v4l2_async_subdev *asd); match 101 drivers/media/v4l2-core/v4l2-async.c match = match_custom; match 104 drivers/media/v4l2-core/v4l2-async.c match = match_devname; match 107 drivers/media/v4l2-core/v4l2-async.c match = match_i2c; match 110 drivers/media/v4l2-core/v4l2-async.c match = match_fwnode; match 119 drivers/media/v4l2-core/v4l2-async.c if (match(sd, asd)) match 135 drivers/media/v4l2-core/v4l2-async.c return strcmp(asd_x->match.device_name, match 136 drivers/media/v4l2-core/v4l2-async.c asd_y->match.device_name) == 0; match 138 drivers/media/v4l2-core/v4l2-async.c return asd_x->match.i2c.adapter_id == match 139 drivers/media/v4l2-core/v4l2-async.c asd_y->match.i2c.adapter_id && match 140 drivers/media/v4l2-core/v4l2-async.c asd_x->match.i2c.address == match 141 drivers/media/v4l2-core/v4l2-async.c asd_y->match.i2c.address; match 143 drivers/media/v4l2-core/v4l2-async.c return asd_x->match.fwnode == asd_y->match.fwnode; match 543 drivers/media/v4l2-core/v4l2-async.c fwnode_handle_put(asd->match.fwnode); match 596 drivers/media/v4l2-core/v4l2-async.c asd->match.fwnode = fwnode_handle_get(fwnode); match 622 drivers/media/v4l2-core/v4l2-async.c asd->match.fwnode = remote; match 645 drivers/media/v4l2-core/v4l2-async.c asd->match.i2c.adapter_id = adapter_id; match 646 drivers/media/v4l2-core/v4l2-async.c asd->match.i2c.address = address; match 671 drivers/media/v4l2-core/v4l2-async.c asd->match.device_name = device_name; match 2953 drivers/media/v4l2-core/v4l2-ctrls.c bool match = false; match 2957 drivers/media/v4l2-core/v4l2-ctrls.c match = true; match 2975 drivers/media/v4l2-core/v4l2-ctrls.c (is_compound & mask) == match) match 2989 drivers/media/v4l2-core/v4l2-ctrls.c (is_compound & mask) == match) match 614 drivers/media/v4l2-core/v4l2-fwnode.c asd->match.fwnode = match 616 drivers/media/v4l2-core/v4l2-fwnode.c if (!asd->match.fwnode) { match 652 drivers/media/v4l2-core/v4l2-fwnode.c fwnode_handle_put(asd->match.fwnode); match 681 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("type=%u, ", p->match.type); match 682 drivers/media/v4l2-core/v4l2-ioctl.c if (p->match.type == V4L2_CHIP_MATCH_I2C_DRIVER) match 684 drivers/media/v4l2-core/v4l2-ioctl.c (int)sizeof(p->match.name), p->match.name); match 686 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("addr=%u, ", p->match.addr); match 694 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("type=%u, ", p->match.type); match 695 drivers/media/v4l2-core/v4l2-ioctl.c if (p->match.type == V4L2_CHIP_MATCH_I2C_DRIVER) match 697 drivers/media/v4l2-core/v4l2-ioctl.c (int)sizeof(p->match.name), p->match.name); match 699 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("addr=%u, ", p->match.addr); match 2439 drivers/media/v4l2-core/v4l2-ioctl.c if (p->match.type == V4L2_CHIP_MATCH_SUBDEV) { match 2443 drivers/media/v4l2-core/v4l2-ioctl.c if (p->match.addr == idx++) match 2447 drivers/media/v4l2-core/v4l2-ioctl.c if (ops->vidioc_g_register && p->match.type == V4L2_CHIP_MATCH_BRIDGE && match 2448 drivers/media/v4l2-core/v4l2-ioctl.c (ops->vidioc_g_chip_info || p->match.addr == 0)) match 2467 drivers/media/v4l2-core/v4l2-ioctl.c if (p->match.type == V4L2_CHIP_MATCH_SUBDEV) { match 2471 drivers/media/v4l2-core/v4l2-ioctl.c if (p->match.addr == idx++) match 2475 drivers/media/v4l2-core/v4l2-ioctl.c if (ops->vidioc_s_register && p->match.type == V4L2_CHIP_MATCH_BRIDGE && match 2476 drivers/media/v4l2-core/v4l2-ioctl.c (ops->vidioc_g_chip_info || p->match.addr == 0)) match 2493 drivers/media/v4l2-core/v4l2-ioctl.c switch (p->match.type) { match 2502 drivers/media/v4l2-core/v4l2-ioctl.c if (p->match.addr) match 2510 drivers/media/v4l2-core/v4l2-ioctl.c if (p->match.addr != idx++) match 2773 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_DBG_G_CHIP_INFO, v4l_dbg_g_chip_info, v4l_print_dbg_chip_info, INFO_FL_CLEAR(v4l2_dbg_chip_info, match)), match 422 drivers/media/v4l2-core/v4l2-subdev.c if (p->match.type != V4L2_CHIP_MATCH_SUBDEV || p->match.addr) match 519 drivers/memory/atmel-ebi.c const struct of_device_id *match; match 525 drivers/memory/atmel-ebi.c match = of_match_device(atmel_ebi_id_table, dev); match 526 drivers/memory/atmel-ebi.c if (!match || !match->data) match 536 drivers/memory/atmel-ebi.c ebi->caps = match->data; match 176 drivers/memory/fsl-corenet-cf.c const struct of_device_id *match; match 180 drivers/memory/fsl-corenet-cf.c match = of_match_device(ccf_matches, &pdev->dev); match 181 drivers/memory/fsl-corenet-cf.c if (WARN_ON(!match)) match 201 drivers/memory/fsl-corenet-cf.c ccf->info = match->data; match 358 drivers/memory/pl353-smc.c const struct of_device_id *match = NULL; match 402 drivers/memory/pl353-smc.c match = of_match_node(pl353_smc_supported_children, child); match 403 drivers/memory/pl353-smc.c if (!match) { match 409 drivers/memory/pl353-smc.c if (!match) { match 414 drivers/memory/pl353-smc.c init = match->data; match 280 drivers/memory/ti-emif-pm.c const struct of_device_id *match; match 287 drivers/memory/ti-emif-pm.c match = of_match_device(ti_emif_of_match, &pdev->dev); match 288 drivers/memory/ti-emif-pm.c if (!match) match 291 drivers/memory/ti-emif-pm.c emif_data->pm_data.ti_emif_sram_config = (unsigned long)match->data; match 171 drivers/memstick/core/memstick.c .match = memstick_bus_match, match 345 drivers/mfd/atmel-smc.c const struct of_device_id *match; match 347 drivers/mfd/atmel-smc.c match = of_match_node(atmel_smc_ids, np); match 349 drivers/mfd/atmel-smc.c return match ? match->data : ERR_PTR(-EINVAL); match 579 drivers/mfd/da9062-core.c const struct of_device_id *match; match 592 drivers/mfd/da9062-core.c match = of_match_node(da9062_dt_ids, i2c->dev.of_node); match 593 drivers/mfd/da9062-core.c if (!match) match 596 drivers/mfd/da9062-core.c chip->chip_type = (uintptr_t)match->data; match 149 drivers/mfd/max8997.c const struct of_device_id *match; match 150 drivers/mfd/max8997.c match = of_match_node(max8997_pmic_dt_match, i2c->dev.of_node); match 151 drivers/mfd/max8997.c return (unsigned long)match->data; match 159 drivers/mfd/max8998.c const struct of_device_id *match; match 160 drivers/mfd/max8998.c match = of_match_node(max8998_dt_match, i2c->dev.of_node); match 161 drivers/mfd/max8998.c return (unsigned long)match->data; match 47 drivers/mfd/mcp-core.c .match = mcp_bus_match, match 82 drivers/mfd/mfd-core.c const struct mfd_cell_acpi_match *match = cell->acpi_match; match 100 drivers/mfd/mfd-core.c if (match) { match 101 drivers/mfd/mfd-core.c if (match->pnpid) { match 104 drivers/mfd/mfd-core.c strlcpy(ids[0].id, match->pnpid, sizeof(ids[0].id)); match 119 drivers/mfd/mfd-core.c if (ACPI_SUCCESS(status) && match->adr == adr) { match 266 drivers/mfd/motorola-cpcap.c const struct of_device_id *match; match 270 drivers/mfd/motorola-cpcap.c match = of_match_device(of_match_ptr(cpcap_of_match), &spi->dev); match 271 drivers/mfd/motorola-cpcap.c if (!match) match 515 drivers/mfd/palmas.c const struct of_device_id *match; match 539 drivers/mfd/palmas.c match = of_match_device(of_palmas_match_tbl, &i2c->dev); match 541 drivers/mfd/palmas.c if (!match) match 544 drivers/mfd/palmas.c driver_data = (struct palmas_driver_data *)match->data; match 531 drivers/mfd/qcom_rpm.c const struct of_device_id *match; match 575 drivers/mfd/qcom_rpm.c match = of_match_device(qcom_rpm_of_match, &pdev->dev); match 576 drivers/mfd/qcom_rpm.c if (!match) match 578 drivers/mfd/qcom_rpm.c rpm->data = match->data; match 328 drivers/mfd/sec-core.c const struct of_device_id *match; match 330 drivers/mfd/sec-core.c match = of_match_node(sec_dt_match, i2c->dev.of_node); match 331 drivers/mfd/sec-core.c return (unsigned long)match->data; match 150 drivers/mfd/sun6i-prcm.c const struct of_device_id *match; match 155 drivers/mfd/sun6i-prcm.c match = of_match_node(sun6i_prcm_dt_ids, pdev->dev.of_node); match 156 drivers/mfd/sun6i-prcm.c if (!match) match 159 drivers/mfd/sun6i-prcm.c data = match->data; match 377 drivers/mfd/tps65910.c const struct of_device_id *match; match 380 drivers/mfd/tps65910.c match = of_match_device(tps65910_of_match, &client->dev); match 381 drivers/mfd/tps65910.c if (!match) { match 386 drivers/mfd/tps65910.c *chip_id = (unsigned long)match->data; match 886 drivers/mfd/twl4030-power.c const struct of_device_id *match; match 907 drivers/mfd/twl4030-power.c match = of_match_device(of_match_ptr(twl4030_power_of_match), match 909 drivers/mfd/twl4030-power.c if (match && match->data) match 910 drivers/mfd/twl4030-power.c pdata = match->data; match 136 drivers/misc/atmel-ssc.c const struct of_device_id *match; match 137 drivers/misc/atmel-ssc.c match = of_match_node(atmel_ssc_dt_ids, pdev->dev.of_node); match 138 drivers/misc/atmel-ssc.c if (match == NULL) match 140 drivers/misc/atmel-ssc.c return match->data; match 143 drivers/misc/atmel_tclib.c const struct of_device_id *match; match 144 drivers/misc/atmel_tclib.c match = of_match_node(atmel_tcb_dt_ids, pdev->dev.of_node); match 145 drivers/misc/atmel_tclib.c if (match) match 146 drivers/misc/atmel_tclib.c tc->tcb_config = match->data; match 624 drivers/misc/mei/bus.c bool match; match 632 drivers/misc/mei/bus.c match = true; match 637 drivers/misc/mei/bus.c match = false; match 641 drivers/misc/mei/bus.c match = false; match 642 drivers/misc/mei/bus.c if (match) match 836 drivers/misc/mei/bus.c .match = mei_cl_device_match, match 108 drivers/misc/mic/bus/mic_bus.c .match = mbus_dev_match, match 105 drivers/misc/mic/bus/scif_bus.c .match = scif_dev_match, match 105 drivers/misc/mic/bus/vop_bus.c .match = vop_dev_match, match 155 drivers/misc/tifm_core.c .match = tifm_bus_match, match 205 drivers/mmc/core/bus.c .match = mmc_bus_match, match 225 drivers/mmc/core/sdio_bus.c .match = sdio_bus_match, match 231 drivers/mmc/host/cavium.c u64 match = 0x3001070fffffffffull; match 233 drivers/mmc/host/cavium.c return (slot->cached_switch & match) != (new_val & match); match 1192 drivers/mmc/host/davinci_mmc.c const struct of_device_id *match; match 1238 drivers/mmc/host/davinci_mmc.c match = of_match_device(davinci_mmc_dt_ids, &pdev->dev); match 1239 drivers/mmc/host/davinci_mmc.c if (match) { match 1240 drivers/mmc/host/davinci_mmc.c pdev->id_entry = match->data; match 549 drivers/mmc/host/dw_mmc-exynos.c const struct of_device_id *match; match 552 drivers/mmc/host/dw_mmc-exynos.c match = of_match_node(dw_mci_exynos_match, pdev->dev.of_node); match 553 drivers/mmc/host/dw_mmc-exynos.c drv_data = match->data; match 455 drivers/mmc/host/dw_mmc-k3.c const struct of_device_id *match; match 457 drivers/mmc/host/dw_mmc-k3.c match = of_match_node(dw_mci_k3_match, pdev->dev.of_node); match 458 drivers/mmc/host/dw_mmc-k3.c drv_data = match->data; match 77 drivers/mmc/host/dw_mmc-pltfm.c const struct of_device_id *match; match 80 drivers/mmc/host/dw_mmc-pltfm.c match = of_match_node(dw_mci_pltfm_match, pdev->dev.of_node); match 81 drivers/mmc/host/dw_mmc-pltfm.c drv_data = match->data; match 336 drivers/mmc/host/dw_mmc-rockchip.c const struct of_device_id *match; match 342 drivers/mmc/host/dw_mmc-rockchip.c match = of_match_node(dw_mci_rockchip_match, pdev->dev.of_node); match 343 drivers/mmc/host/dw_mmc-rockchip.c drv_data = match->data; match 209 drivers/mmc/host/dw_mmc-zx.c const struct of_device_id *match; match 211 drivers/mmc/host/dw_mmc-zx.c match = of_match_node(dw_mci_zx_match, pdev->dev.of_node); match 212 drivers/mmc/host/dw_mmc-zx.c drv_data = match->data; match 937 drivers/mmc/host/jz4740_mmc.c const struct of_device_id *match; match 947 drivers/mmc/host/jz4740_mmc.c match = of_match_device(jz4740_mmc_of_match, &pdev->dev); match 948 drivers/mmc/host/jz4740_mmc.c if (match) { match 949 drivers/mmc/host/jz4740_mmc.c host->version = (enum jz4740_mmc_version)match->data; match 1822 drivers/mmc/host/omap_hsmmc.c const struct of_device_id *match; match 1826 drivers/mmc/host/omap_hsmmc.c match = of_match_device(of_match_ptr(omap_mmc_of_match), &pdev->dev); match 1827 drivers/mmc/host/omap_hsmmc.c if (match) { match 1833 drivers/mmc/host/omap_hsmmc.c if (match->data) { match 1834 drivers/mmc/host/omap_hsmmc.c data = match->data; match 735 drivers/mmc/host/sdhci-of-arasan.c const struct of_device_id *match; match 744 drivers/mmc/host/sdhci-of-arasan.c match = of_match_node(sdhci_arasan_of_match, pdev->dev.of_node); match 745 drivers/mmc/host/sdhci-of-arasan.c data = match->data; match 306 drivers/mmc/host/sdhci-of-at91.c const struct of_device_id *match; match 313 drivers/mmc/host/sdhci-of-at91.c match = of_match_device(sdhci_at91_dt_match, &pdev->dev); match 314 drivers/mmc/host/sdhci-of-at91.c if (!match) match 316 drivers/mmc/host/sdhci-of-at91.c soc_data = match->data; match 1207 drivers/mmc/host/sdhci-of-esdhc.c const struct of_device_id *match; match 1237 drivers/mmc/host/sdhci-of-esdhc.c match = of_match_node(sdhci_esdhc_of_match, pdev->dev.of_node); match 1238 drivers/mmc/host/sdhci-of-esdhc.c if (match) match 1239 drivers/mmc/host/sdhci-of-esdhc.c esdhc->clk_fixup = match->data; match 1037 drivers/mmc/host/sdhci-omap.c const struct of_device_id *match; match 1041 drivers/mmc/host/sdhci-omap.c match = of_match_device(omap_sdhci_match, dev); match 1042 drivers/mmc/host/sdhci-omap.c if (!match) match 1045 drivers/mmc/host/sdhci-omap.c data = (struct sdhci_omap_data *)match->data; match 160 drivers/mmc/host/sdhci-pxav2.c const struct of_device_id *match; match 188 drivers/mmc/host/sdhci-pxav2.c match = of_match_device(of_match_ptr(sdhci_pxav2_of_match), &pdev->dev); match 189 drivers/mmc/host/sdhci-pxav2.c if (match) { match 379 drivers/mmc/host/sdhci-pxav3.c const struct of_device_id *match; match 416 drivers/mmc/host/sdhci-pxav3.c match = of_match_device(of_match_ptr(sdhci_pxav3_of_match), &pdev->dev); match 417 drivers/mmc/host/sdhci-pxav3.c if (match) { match 468 drivers/mmc/host/sdhci-s3c.c const struct of_device_id *match; match 469 drivers/mmc/host/sdhci-s3c.c match = of_match_node(sdhci_s3c_dt_match, pdev->dev.of_node); match 470 drivers/mmc/host/sdhci-s3c.c return (struct sdhci_s3c_drv_data *)match->data; match 1506 drivers/mmc/host/sdhci-tegra.c const struct of_device_id *match; match 1514 drivers/mmc/host/sdhci-tegra.c match = of_match_device(sdhci_tegra_dt_match, &pdev->dev); match 1515 drivers/mmc/host/sdhci-tegra.c if (!match) match 1517 drivers/mmc/host/sdhci-tegra.c soc_data = match->data; match 436 drivers/mmc/host/sdhci_am654.c const struct of_device_id *match; match 444 drivers/mmc/host/sdhci_am654.c match = of_match_node(sdhci_am654_of_match, pdev->dev.of_node); match 445 drivers/mmc/host/sdhci_am654.c drvdata = match->data; match 298 drivers/mtd/maps/physmap-core.c const struct of_device_id *match; match 301 drivers/mtd/maps/physmap-core.c match = of_match_device(of_flash_match, &dev->dev); match 302 drivers/mtd/maps/physmap-core.c probe_type = match->data; match 2029 drivers/mtd/nand/raw/atmel/nand-controller.c const struct of_device_id *match; match 2042 drivers/mtd/nand/raw/atmel/nand-controller.c match = of_match_node(atmel_ebi_csa_regmap_of_ids, np); match 2043 drivers/mtd/nand/raw/atmel/nand-controller.c if (!match) { match 2056 drivers/mtd/nand/raw/atmel/nand-controller.c nc->ebi_csa = (struct atmel_smc_nand_ebi_csa_cfg *)match->data; match 955 drivers/mtd/nand/raw/atmel/pmecc.c const struct of_device_id *match; match 965 drivers/mtd/nand/raw/atmel/pmecc.c match = of_match_node(atmel_pmecc_legacy_match, match 967 drivers/mtd/nand/raw/atmel/pmecc.c if (match && match->data) match 968 drivers/mtd/nand/raw/atmel/pmecc.c caps = match->data; match 852 drivers/mtd/spi-nor/aspeed-smc.c const struct of_device_id *match; match 857 drivers/mtd/spi-nor/aspeed-smc.c match = of_match_device(aspeed_smc_matches, &pdev->dev); match 858 drivers/mtd/spi-nor/aspeed-smc.c if (!match || !match->data) match 860 drivers/mtd/spi-nor/aspeed-smc.c info = match->data; match 1254 drivers/net/can/at91_can.c const struct of_device_id *match; match 1256 drivers/net/can/at91_can.c match = of_match_node(at91_can_dt_ids, pdev->dev.of_node); match 1257 drivers/net/can/at91_can.c if (!match) { match 1261 drivers/net/can/at91_can.c return (const struct at91_devtype_data *)match->data; match 256 drivers/net/can/c_can/c_can_platform.c const struct of_device_id *match; match 263 drivers/net/can/c_can/c_can_platform.c match = of_match_device(c_can_of_table, &pdev->dev); match 264 drivers/net/can/c_can/c_can_platform.c if (match) { match 265 drivers/net/can/c_can/c_can_platform.c drvdata = match->data; match 282 drivers/net/can/mscan/mpc5xxx_can.c const struct of_device_id *match; match 292 drivers/net/can/mscan/mpc5xxx_can.c match = of_match_device(mpc5xxx_can_table, &ofdev->dev); match 293 drivers/net/can/mscan/mpc5xxx_can.c if (!match) match 295 drivers/net/can/mscan/mpc5xxx_can.c data = match->data; match 355 drivers/net/can/mscan/mpc5xxx_can.c const struct of_device_id *match; match 360 drivers/net/can/mscan/mpc5xxx_can.c match = of_match_device(mpc5xxx_can_table, &ofdev->dev); match 361 drivers/net/can/mscan/mpc5xxx_can.c data = match ? match->data : NULL; match 988 drivers/net/can/spi/mcp251x.c const void *match = device_get_match_data(&spi->dev); match 1025 drivers/net/can/spi/mcp251x.c if (match) match 1026 drivers/net/can/spi/mcp251x.c priv->model = (enum mcp251x_model)match; match 1766 drivers/net/dsa/lantiq_gswip.c const struct of_device_id *match; match 1788 drivers/net/dsa/lantiq_gswip.c match = of_match_node(xway_gphy_match, gphy_fw_list_np); match 1789 drivers/net/dsa/lantiq_gswip.c if (match && match->data) match 1790 drivers/net/dsa/lantiq_gswip.c priv->gphy_fw_name_cfg = match->data; match 2901 drivers/net/dsa/mv88e6xxx/chip.c const struct of_device_id *match; match 2919 drivers/net/dsa/mv88e6xxx/chip.c match = of_match_node(mv88e6xxx_mdio_external_match, child); match 2920 drivers/net/dsa/mv88e6xxx/chip.c if (match) { match 909 drivers/net/dsa/sja1105/sja1105_main.c int rc, match; match 913 drivers/net/dsa/sja1105/sja1105_main.c match = sja1105_find_static_fdb_entry(priv, port, requested); match 914 drivers/net/dsa/sja1105/sja1105_main.c if (match < 0) { match 924 drivers/net/dsa/sja1105/sja1105_main.c match = table->entry_count - 1; match 937 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup[match] = *requested; match 944 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup[match] = l2_lookup[table->entry_count - 1]; match 961 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry *match, match 982 drivers/net/dsa/sja1105/sja1105_main.c if (match) match 983 drivers/net/dsa/sja1105/sja1105_main.c *match = l2_lookup; match 1464 drivers/net/dsa/sja1105/sja1105_main.c int match, rc; match 1468 drivers/net/dsa/sja1105/sja1105_main.c match = sja1105_is_vlan_configured(priv, vid); match 1469 drivers/net/dsa/sja1105/sja1105_main.c if (match < 0) { match 1476 drivers/net/dsa/sja1105/sja1105_main.c match = table->entry_count - 1; match 1480 drivers/net/dsa/sja1105/sja1105_main.c vlan[match].vlanid = vid; match 1482 drivers/net/dsa/sja1105/sja1105_main.c vlan[match].vlan_bc |= BIT(port); match 1483 drivers/net/dsa/sja1105/sja1105_main.c vlan[match].vmemb_port |= BIT(port); match 1485 drivers/net/dsa/sja1105/sja1105_main.c vlan[match].vlan_bc &= ~BIT(port); match 1486 drivers/net/dsa/sja1105/sja1105_main.c vlan[match].vmemb_port &= ~BIT(port); match 1492 drivers/net/dsa/sja1105/sja1105_main.c vlan[match].tag_port &= ~BIT(port); match 1494 drivers/net/dsa/sja1105/sja1105_main.c vlan[match].tag_port |= BIT(port); match 1498 drivers/net/dsa/sja1105/sja1105_main.c if (!vlan[match].vmemb_port) match 1504 drivers/net/dsa/sja1105/sja1105_main.c __func__, port, vlan[match].vlanid, vlan[match].vlan_bc, match 1505 drivers/net/dsa/sja1105/sja1105_main.c vlan[match].vmemb_port, vlan[match].tag_port, keep); match 1508 drivers/net/dsa/sja1105/sja1105_main.c &vlan[match], keep); match 1513 drivers/net/dsa/sja1105/sja1105_main.c return sja1105_table_delete_entry(table, match); match 382 drivers/net/ethernet/3com/3c509.c .match = el3_isa_match, match 1237 drivers/net/ethernet/apple/bmac.c static int bmac_probe(struct macio_dev *mdev, const struct of_device_id *match) match 1244 drivers/net/ethernet/apple/bmac.c int is_bmac_plus = ((int)match->data) != 0; match 109 drivers/net/ethernet/apple/mace.c static int mace_probe(struct macio_dev *mdev, const struct of_device_id *match) match 99 drivers/net/ethernet/arc/emac_rockchip.c const struct of_device_id *match; match 135 drivers/net/ethernet/arc/emac_rockchip.c match = of_match_node(emac_rockchip_dt_ids, dev->of_node); match 136 drivers/net/ethernet/arc/emac_rockchip.c priv->soc_data = match->data; match 1338 drivers/net/ethernet/aurora/nb8800.c const struct of_device_id *match; match 1349 drivers/net/ethernet/aurora/nb8800.c match = of_match_device(nb8800_dt_ids, &pdev->dev); match 1350 drivers/net/ethernet/aurora/nb8800.c if (match) match 1351 drivers/net/ethernet/aurora/nb8800.c ops = match->data; match 177 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_dissector *dissector = rule->match.dissector; match 188 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_basic match; match 190 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_basic(rule, &match); match 191 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l2_key.ether_type = match.key->n_proto; match 192 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l2_mask.ether_type = match.mask->n_proto; match 194 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c if (match.key->n_proto == htons(ETH_P_IP) || match 195 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c match.key->n_proto == htons(ETH_P_IPV6)) { match 196 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_key.ip_proto = match.key->ip_proto; match 197 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ip_proto = match.mask->ip_proto; match 202 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_eth_addrs match; match 204 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_eth_addrs(rule, &match); match 206 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c ether_addr_copy(flow->l2_key.dmac, match.key->dst); match 207 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c ether_addr_copy(flow->l2_mask.dmac, match.mask->dst); match 208 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c ether_addr_copy(flow->l2_key.smac, match.key->src); match 209 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c ether_addr_copy(flow->l2_mask.smac, match.mask->src); match 213 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_vlan match; match 215 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_vlan(rule, &match); match 217 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c cpu_to_be16(VLAN_TCI(match.key->vlan_id, match 218 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c match.key->vlan_priority)); match 220 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c cpu_to_be16((VLAN_TCI(match.mask->vlan_id, match 221 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c match.mask->vlan_priority))); match 228 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_ipv4_addrs match; match 230 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_ipv4_addrs(rule, &match); match 232 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_key.ipv4.daddr.s_addr = match.key->dst; match 233 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_mask.ipv4.daddr.s_addr = match.mask->dst; match 234 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_key.ipv4.saddr.s_addr = match.key->src; match 235 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_mask.ipv4.saddr.s_addr = match.mask->src; match 237 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_ipv6_addrs match; match 239 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_ipv6_addrs(rule, &match); match 241 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_key.ipv6.daddr = match.key->dst; match 242 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_mask.ipv6.daddr = match.mask->dst; match 243 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_key.ipv6.saddr = match.key->src; match 244 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_mask.ipv6.saddr = match.mask->src; match 248 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_ports match; match 250 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_ports(rule, &match); match 252 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_key.ports.dport = match.key->dst; match 253 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ports.dport = match.mask->dst; match 254 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_key.ports.sport = match.key->src; match 255 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ports.sport = match.mask->src; match 259 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_icmp match; match 261 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_icmp(rule, &match); match 263 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_key.icmp.type = match.key->type; match 264 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_key.icmp.code = match.key->code; match 265 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.icmp.type = match.mask->type; match 266 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.icmp.code = match.mask->code; match 270 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_ipv4_addrs match; match 272 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_enc_ipv4_addrs(rule, &match); match 274 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.u.ipv4.dst = match.key->dst; match 275 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.u.ipv4.dst = match.mask->dst; match 276 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.u.ipv4.src = match.key->src; match 277 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.u.ipv4.src = match.mask->src; match 284 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_enc_keyid match; match 286 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_enc_keyid(rule, &match); match 288 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.tun_id = key32_to_tunnel_id(match.key->keyid); match 289 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.tun_id = key32_to_tunnel_id(match.mask->keyid); match 293 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_match_ports match; match 295 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_rule_match_enc_ports(rule, &match); match 297 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.tp_dst = match.key->dst; match 298 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.tp_dst = match.mask->dst; match 299 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.tp_src = match.key->src; match 300 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.tp_src = match.mask->src; match 4204 drivers/net/ethernet/cadence/macb_main.c const struct of_device_id *match; match 4206 drivers/net/ethernet/cadence/macb_main.c match = of_match_node(macb_dt_ids, np); match 4207 drivers/net/ethernet/cadence/macb_main.c if (match && match->data) { match 4208 drivers/net/ethernet/cadence/macb_main.c macb_config = match->data; match 1109 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int i, delta, match = 0, min_delta = INT_MAX; match 1117 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c match = i; match 1120 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return match; match 1125 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int i, delta, match = 0, min_delta = INT_MAX; match 1133 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c match = i; match 1136 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return match; match 91 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_control match; match 93 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_control(rule, &match); match 94 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c addr_type = match.key->addr_type; match 98 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_basic match; match 101 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_basic(rule, &match); match 102 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c ethtype_key = ntohs(match.key->n_proto); match 103 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c ethtype_mask = ntohs(match.mask->n_proto); match 115 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->val.proto = match.key->ip_proto; match 116 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->mask.proto = match.mask->ip_proto; match 120 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_ipv4_addrs match; match 122 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_ipv4_addrs(rule, &match); match 124 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->val.lip[0], &match.key->dst, sizeof(match.key->dst)); match 125 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->val.fip[0], &match.key->src, sizeof(match.key->src)); match 126 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->mask.lip[0], &match.mask->dst, sizeof(match.mask->dst)); match 127 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->mask.fip[0], &match.mask->src, sizeof(match.mask->src)); match 130 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->nat_lip[0], &match.key->dst, sizeof(match.key->dst)); match 131 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->nat_fip[0], &match.key->src, sizeof(match.key->src)); match 135 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_ipv6_addrs match; match 137 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_ipv6_addrs(rule, &match); match 139 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->val.lip[0], match.key->dst.s6_addr, match 140 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c sizeof(match.key->dst)); match 141 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->val.fip[0], match.key->src.s6_addr, match 142 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c sizeof(match.key->src)); match 143 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->mask.lip[0], match.mask->dst.s6_addr, match 144 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c sizeof(match.mask->dst)); match 145 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->mask.fip[0], match.mask->src.s6_addr, match 146 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c sizeof(match.mask->src)); match 149 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->nat_lip[0], match.key->dst.s6_addr, match 150 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c sizeof(match.key->dst)); match 151 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->nat_fip[0], match.key->src.s6_addr, match 152 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c sizeof(match.key->src)); match 156 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_ports match; match 158 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_ports(rule, &match); match 159 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->val.lport = cpu_to_be16(match.key->dst); match 160 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->mask.lport = cpu_to_be16(match.mask->dst); match 161 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->val.fport = cpu_to_be16(match.key->src); match 162 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->mask.fport = cpu_to_be16(match.mask->src); match 165 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->nat_lport = cpu_to_be16(match.key->dst); match 166 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->nat_fport = cpu_to_be16(match.key->src); match 170 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_ip match; match 172 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_ip(rule, &match); match 173 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->val.tos = match.key->tos; match 174 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->mask.tos = match.mask->tos; match 178 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_enc_keyid match; match 180 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_enc_keyid(rule, &match); match 181 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->val.vni = be32_to_cpu(match.key->keyid); match 182 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fs->mask.vni = be32_to_cpu(match.mask->keyid); match 190 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_vlan match; match 193 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_vlan(rule, &match); match 194 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c vlan_tci = match.key->vlan_id | (match.key->vlan_priority << match 196 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c vlan_tci_mask = match.mask->vlan_id | (match.mask->vlan_priority << match 230 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_dissector *dissector = rule->match.dissector; match 249 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_basic match; match 251 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_basic(rule, &match); match 252 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c ethtype_key = ntohs(match.key->n_proto); match 253 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c ethtype_mask = ntohs(match.mask->n_proto); match 258 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c struct flow_match_ip match; match 265 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c flow_rule_match_ip(rule, &match); match 266 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c if (match.mask->ttl) { match 899 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c #define IS_FEC(match) ((match)->data == &fs_fec_ops) match 901 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c #define IS_FEC(match) 0 match 921 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c const struct of_device_id *match; match 932 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c match = of_match_device(fs_enet_match, &ofdev->dev); match 933 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c if (!match) match 940 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c if (!IS_FEC(match)) { match 1002 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c fep->ops = match->data; match 101 drivers/net/ethernet/freescale/fs_enet/mii-fec.c const struct of_device_id *match; match 108 drivers/net/ethernet/freescale/fs_enet/mii-fec.c match = of_match_device(fs_enet_mdio_fec_match, &ofdev->dev); match 109 drivers/net/ethernet/freescale/fs_enet/mii-fec.c if (!match) match 111 drivers/net/ethernet/freescale/fs_enet/mii-fec.c get_bus_freq = match->data; match 3145 drivers/net/ethernet/intel/e1000/e1000_hw.c bool match = false; match 3167 drivers/net/ethernet/intel/e1000/e1000_hw.c match = true; match 3171 drivers/net/ethernet/intel/e1000/e1000_hw.c match = true; match 3179 drivers/net/ethernet/intel/e1000/e1000_hw.c match = true; match 3185 drivers/net/ethernet/intel/e1000/e1000_hw.c match = true; match 3192 drivers/net/ethernet/intel/e1000/e1000_hw.c match = true; match 3200 drivers/net/ethernet/intel/e1000/e1000_hw.c if ((match) && (phy_init_status == E1000_SUCCESS)) { match 7747 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_dissector *dissector = rule->match.dissector; match 7767 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_match_enc_keyid match; match 7769 drivers/net/ethernet/intel/i40e/i40e_main.c flow_rule_match_enc_keyid(rule, &match); match 7770 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->keyid != 0) match 7773 drivers/net/ethernet/intel/i40e/i40e_main.c filter->tenant_id = be32_to_cpu(match.key->keyid); match 7777 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_match_basic match; match 7779 drivers/net/ethernet/intel/i40e/i40e_main.c flow_rule_match_basic(rule, &match); match 7780 drivers/net/ethernet/intel/i40e/i40e_main.c n_proto_key = ntohs(match.key->n_proto); match 7781 drivers/net/ethernet/intel/i40e/i40e_main.c n_proto_mask = ntohs(match.mask->n_proto); match 7788 drivers/net/ethernet/intel/i40e/i40e_main.c filter->ip_proto = match.key->ip_proto; match 7792 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_match_eth_addrs match; match 7794 drivers/net/ethernet/intel/i40e/i40e_main.c flow_rule_match_eth_addrs(rule, &match); match 7797 drivers/net/ethernet/intel/i40e/i40e_main.c if (!is_zero_ether_addr(match.mask->dst)) { match 7798 drivers/net/ethernet/intel/i40e/i40e_main.c if (is_broadcast_ether_addr(match.mask->dst)) { match 7802 drivers/net/ethernet/intel/i40e/i40e_main.c match.mask->dst); match 7807 drivers/net/ethernet/intel/i40e/i40e_main.c if (!is_zero_ether_addr(match.mask->src)) { match 7808 drivers/net/ethernet/intel/i40e/i40e_main.c if (is_broadcast_ether_addr(match.mask->src)) { match 7812 drivers/net/ethernet/intel/i40e/i40e_main.c match.mask->src); match 7816 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(filter->dst_mac, match.key->dst); match 7817 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(filter->src_mac, match.key->src); match 7821 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_match_vlan match; match 7823 drivers/net/ethernet/intel/i40e/i40e_main.c flow_rule_match_vlan(rule, &match); match 7824 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->vlan_id) { match 7825 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->vlan_id == VLAN_VID_MASK) { match 7830 drivers/net/ethernet/intel/i40e/i40e_main.c match.mask->vlan_id); match 7835 drivers/net/ethernet/intel/i40e/i40e_main.c filter->vlan_id = cpu_to_be16(match.key->vlan_id); match 7839 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_match_control match; match 7841 drivers/net/ethernet/intel/i40e/i40e_main.c flow_rule_match_control(rule, &match); match 7842 drivers/net/ethernet/intel/i40e/i40e_main.c addr_type = match.key->addr_type; match 7846 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_match_ipv4_addrs match; match 7848 drivers/net/ethernet/intel/i40e/i40e_main.c flow_rule_match_ipv4_addrs(rule, &match); match 7849 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->dst) { match 7850 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->dst == cpu_to_be32(0xffffffff)) { match 7854 drivers/net/ethernet/intel/i40e/i40e_main.c &match.mask->dst); match 7859 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->src) { match 7860 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->src == cpu_to_be32(0xffffffff)) { match 7864 drivers/net/ethernet/intel/i40e/i40e_main.c &match.mask->src); match 7873 drivers/net/ethernet/intel/i40e/i40e_main.c filter->dst_ipv4 = match.key->dst; match 7874 drivers/net/ethernet/intel/i40e/i40e_main.c filter->src_ipv4 = match.key->src; match 7878 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_match_ipv6_addrs match; match 7880 drivers/net/ethernet/intel/i40e/i40e_main.c flow_rule_match_ipv6_addrs(rule, &match); match 7885 drivers/net/ethernet/intel/i40e/i40e_main.c if (ipv6_addr_loopback(&match.key->dst) || match 7886 drivers/net/ethernet/intel/i40e/i40e_main.c ipv6_addr_loopback(&match.key->src)) { match 7891 drivers/net/ethernet/intel/i40e/i40e_main.c if (!ipv6_addr_any(&match.mask->dst) || match 7892 drivers/net/ethernet/intel/i40e/i40e_main.c !ipv6_addr_any(&match.mask->src)) match 7895 drivers/net/ethernet/intel/i40e/i40e_main.c memcpy(&filter->src_ipv6, &match.key->src.s6_addr32, match 7897 drivers/net/ethernet/intel/i40e/i40e_main.c memcpy(&filter->dst_ipv6, &match.key->dst.s6_addr32, match 7902 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_match_ports match; match 7904 drivers/net/ethernet/intel/i40e/i40e_main.c flow_rule_match_ports(rule, &match); match 7905 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->src) { match 7906 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->src == cpu_to_be16(0xffff)) { match 7910 drivers/net/ethernet/intel/i40e/i40e_main.c be16_to_cpu(match.mask->src)); match 7915 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->dst) { match 7916 drivers/net/ethernet/intel/i40e/i40e_main.c if (match.mask->dst == cpu_to_be16(0xffff)) { match 7920 drivers/net/ethernet/intel/i40e/i40e_main.c be16_to_cpu(match.mask->dst)); match 7925 drivers/net/ethernet/intel/i40e/i40e_main.c filter->dst_port = match.key->dst; match 7926 drivers/net/ethernet/intel/i40e/i40e_main.c filter->src_port = match.key->src; match 2692 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_dissector *dissector = rule->match.dissector; match 2716 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_match_enc_keyid match; match 2718 drivers/net/ethernet/intel/iavf/iavf_main.c flow_rule_match_enc_keyid(rule, &match); match 2719 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->keyid != 0) match 2724 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_match_basic match; match 2726 drivers/net/ethernet/intel/iavf/iavf_main.c flow_rule_match_basic(rule, &match); match 2727 drivers/net/ethernet/intel/iavf/iavf_main.c n_proto_key = ntohs(match.key->n_proto); match 2728 drivers/net/ethernet/intel/iavf/iavf_main.c n_proto_mask = ntohs(match.mask->n_proto); match 2742 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.key->ip_proto != IPPROTO_TCP) { match 2749 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_match_eth_addrs match; match 2751 drivers/net/ethernet/intel/iavf/iavf_main.c flow_rule_match_eth_addrs(rule, &match); match 2754 drivers/net/ethernet/intel/iavf/iavf_main.c if (!is_zero_ether_addr(match.mask->dst)) { match 2755 drivers/net/ethernet/intel/iavf/iavf_main.c if (is_broadcast_ether_addr(match.mask->dst)) { match 2759 drivers/net/ethernet/intel/iavf/iavf_main.c match.mask->dst); match 2764 drivers/net/ethernet/intel/iavf/iavf_main.c if (!is_zero_ether_addr(match.mask->src)) { match 2765 drivers/net/ethernet/intel/iavf/iavf_main.c if (is_broadcast_ether_addr(match.mask->src)) { match 2769 drivers/net/ethernet/intel/iavf/iavf_main.c match.mask->src); match 2774 drivers/net/ethernet/intel/iavf/iavf_main.c if (!is_zero_ether_addr(match.key->dst)) match 2775 drivers/net/ethernet/intel/iavf/iavf_main.c if (is_valid_ether_addr(match.key->dst) || match 2776 drivers/net/ethernet/intel/iavf/iavf_main.c is_multicast_ether_addr(match.key->dst)) { match 2781 drivers/net/ethernet/intel/iavf/iavf_main.c match.key->dst); match 2784 drivers/net/ethernet/intel/iavf/iavf_main.c if (!is_zero_ether_addr(match.key->src)) match 2785 drivers/net/ethernet/intel/iavf/iavf_main.c if (is_valid_ether_addr(match.key->src) || match 2786 drivers/net/ethernet/intel/iavf/iavf_main.c is_multicast_ether_addr(match.key->src)) { match 2791 drivers/net/ethernet/intel/iavf/iavf_main.c match.key->src); match 2796 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_match_vlan match; match 2798 drivers/net/ethernet/intel/iavf/iavf_main.c flow_rule_match_vlan(rule, &match); match 2799 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->vlan_id) { match 2800 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->vlan_id == VLAN_VID_MASK) { match 2804 drivers/net/ethernet/intel/iavf/iavf_main.c match.mask->vlan_id); match 2809 drivers/net/ethernet/intel/iavf/iavf_main.c vf->data.tcp_spec.vlan_id = cpu_to_be16(match.key->vlan_id); match 2813 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_match_control match; match 2815 drivers/net/ethernet/intel/iavf/iavf_main.c flow_rule_match_control(rule, &match); match 2816 drivers/net/ethernet/intel/iavf/iavf_main.c addr_type = match.key->addr_type; match 2820 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_match_ipv4_addrs match; match 2822 drivers/net/ethernet/intel/iavf/iavf_main.c flow_rule_match_ipv4_addrs(rule, &match); match 2823 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->dst) { match 2824 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->dst == cpu_to_be32(0xffffffff)) { match 2828 drivers/net/ethernet/intel/iavf/iavf_main.c be32_to_cpu(match.mask->dst)); match 2833 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->src) { match 2834 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->src == cpu_to_be32(0xffffffff)) { match 2838 drivers/net/ethernet/intel/iavf/iavf_main.c be32_to_cpu(match.mask->dst)); match 2847 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.key->dst) { match 2849 drivers/net/ethernet/intel/iavf/iavf_main.c vf->data.tcp_spec.dst_ip[0] = match.key->dst; match 2851 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.key->src) { match 2853 drivers/net/ethernet/intel/iavf/iavf_main.c vf->data.tcp_spec.src_ip[0] = match.key->src; match 2858 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_match_ipv6_addrs match; match 2860 drivers/net/ethernet/intel/iavf/iavf_main.c flow_rule_match_ipv6_addrs(rule, &match); match 2863 drivers/net/ethernet/intel/iavf/iavf_main.c if (ipv6_addr_any(&match.mask->dst)) { match 2872 drivers/net/ethernet/intel/iavf/iavf_main.c if (ipv6_addr_loopback(&match.key->dst) || match 2873 drivers/net/ethernet/intel/iavf/iavf_main.c ipv6_addr_loopback(&match.key->src)) { match 2878 drivers/net/ethernet/intel/iavf/iavf_main.c if (!ipv6_addr_any(&match.mask->dst) || match 2879 drivers/net/ethernet/intel/iavf/iavf_main.c !ipv6_addr_any(&match.mask->src)) match 2884 drivers/net/ethernet/intel/iavf/iavf_main.c memcpy(&vf->data.tcp_spec.dst_ip, &match.key->dst.s6_addr32, match 2888 drivers/net/ethernet/intel/iavf/iavf_main.c memcpy(&vf->data.tcp_spec.src_ip, &match.key->src.s6_addr32, match 2892 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_match_ports match; match 2894 drivers/net/ethernet/intel/iavf/iavf_main.c flow_rule_match_ports(rule, &match); match 2895 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->src) { match 2896 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->src == cpu_to_be16(0xffff)) { match 2900 drivers/net/ethernet/intel/iavf/iavf_main.c be16_to_cpu(match.mask->src)); match 2905 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->dst) { match 2906 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.mask->dst == cpu_to_be16(0xffff)) { match 2910 drivers/net/ethernet/intel/iavf/iavf_main.c be16_to_cpu(match.mask->dst)); match 2914 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.key->dst) { match 2916 drivers/net/ethernet/intel/iavf/iavf_main.c vf->data.tcp_spec.dst_port = match.key->dst; match 2919 drivers/net/ethernet/intel/iavf/iavf_main.c if (match.key->src) { match 2921 drivers/net/ethernet/intel/iavf/iavf_main.c vf->data.tcp_spec.src_port = match.key->src; match 1785 drivers/net/ethernet/intel/igb/igb_ethtool.c bool match = true; match 1794 drivers/net/ethernet/intel/igb/igb_ethtool.c match = false; match 1798 drivers/net/ethernet/intel/igb/igb_ethtool.c return match; match 2588 drivers/net/ethernet/intel/igb/igb_main.c struct flow_dissector *dissector = rule->match.dissector; match 2602 drivers/net/ethernet/intel/igb/igb_main.c struct flow_match_eth_addrs match; match 2604 drivers/net/ethernet/intel/igb/igb_main.c flow_rule_match_eth_addrs(rule, &match); match 2605 drivers/net/ethernet/intel/igb/igb_main.c if (!is_zero_ether_addr(match.mask->dst)) { match 2606 drivers/net/ethernet/intel/igb/igb_main.c if (!is_broadcast_ether_addr(match.mask->dst)) { match 2613 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(input->filter.dst_addr, match.key->dst); match 2616 drivers/net/ethernet/intel/igb/igb_main.c if (!is_zero_ether_addr(match.mask->src)) { match 2617 drivers/net/ethernet/intel/igb/igb_main.c if (!is_broadcast_ether_addr(match.mask->src)) { match 2624 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(input->filter.src_addr, match.key->src); match 2629 drivers/net/ethernet/intel/igb/igb_main.c struct flow_match_basic match; match 2631 drivers/net/ethernet/intel/igb/igb_main.c flow_rule_match_basic(rule, &match); match 2632 drivers/net/ethernet/intel/igb/igb_main.c if (match.mask->n_proto) { match 2633 drivers/net/ethernet/intel/igb/igb_main.c if (match.mask->n_proto != ETHER_TYPE_FULL_MASK) { match 2639 drivers/net/ethernet/intel/igb/igb_main.c input->filter.etype = match.key->n_proto; match 2644 drivers/net/ethernet/intel/igb/igb_main.c struct flow_match_vlan match; match 2646 drivers/net/ethernet/intel/igb/igb_main.c flow_rule_match_vlan(rule, &match); match 2647 drivers/net/ethernet/intel/igb/igb_main.c if (match.mask->vlan_priority) { match 2648 drivers/net/ethernet/intel/igb/igb_main.c if (match.mask->vlan_priority != VLAN_PRIO_FULL_MASK) { match 2654 drivers/net/ethernet/intel/igb/igb_main.c input->filter.vlan_tci = match.key->vlan_priority; match 1870 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c bool match = true; match 1879 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c match = false; match 1883 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c return match; match 567 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c int checked, match, first; match 630 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c match = -1; match 639 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c match = i; match 651 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (match >= 0) { match 653 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c rsa.iptbl_ind = match; match 654 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c ipsec->ip_tbl[match].ref_cnt++; match 1243 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct flow_match_vlan match; match 1245 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c flow_rule_match_vlan(flow, &match); match 1246 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (match.mask->vlan_id) { match 1249 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_tcam |= ((u64)match.key->vlan_id) << offs; match 1250 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_tcam_mask |= ((u64)match.mask->vlan_id) << offs; match 1255 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (match.mask->vlan_priority) { match 1261 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_tcam |= ((u64)match.key->vlan_priority) << match 1263 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_tcam_mask |= ((u64)match.mask->vlan_priority) << match 1267 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (match.mask->vlan_dei) match 1277 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct flow_match_ports match; match 1279 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c flow_rule_match_ports(flow, &match); match 1280 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (match.mask->src) { match 1283 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_tcam |= ((u64)ntohs(match.key->src)) << offs; match 1284 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_tcam_mask |= ((u64)ntohs(match.mask->src)) << offs; match 1288 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (match.mask->dst) { match 1291 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_tcam |= ((u64)ntohs(match.key->dst)) << offs; match 1292 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_tcam_mask |= ((u64)ntohs(match.mask->dst)) << offs; match 641 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c bool match; match 648 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c match = mvpp2_prs_tcam_data_cmp(&pe, 0, tpid); match 649 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if (!match) match 768 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c bool match; match 776 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c match = mvpp2_prs_tcam_data_cmp(&pe, 0, tpid1) && match 779 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if (!match) match 167 drivers/net/ethernet/marvell/octeontx2/af/rvu.c u16 match = 0; match 173 drivers/net/ethernet/marvell/octeontx2/af/rvu.c if (slot == match) { match 177 drivers/net/ethernet/marvell/octeontx2/af/rvu.c match++; match 1674 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_control match; match 1677 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_enc_control(rule, &match); match 1678 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c addr_type = match.key->addr_type; match 1682 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_ipv4_addrs match; match 1684 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_enc_ipv4_addrs(rule, &match); match 1687 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ntohl(match.mask->src)); match 1690 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ntohl(match.key->src)); match 1694 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ntohl(match.mask->dst)); match 1697 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ntohl(match.key->dst)); match 1704 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_ipv6_addrs match; match 1706 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_enc_ipv6_addrs(rule, &match); match 1709 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.mask->src, MLX5_FLD_SZ_BYTES(ipv6_layout, match 1713 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.key->src, MLX5_FLD_SZ_BYTES(ipv6_layout, match 1718 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.mask->dst, MLX5_FLD_SZ_BYTES(ipv6_layout, match 1722 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.key->dst, MLX5_FLD_SZ_BYTES(ipv6_layout, match 1733 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_ip match; match 1735 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_enc_ip(rule, &match); match 1737 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->tos & 0x3); match 1739 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->tos & 0x3); match 1742 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->tos >> 2); match 1744 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->tos >> 2); match 1747 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->ttl); match 1749 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->ttl); match 1751 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->ttl && match 1813 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_dissector *dissector = rule->match.dissector; match 1861 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_basic match; match 1863 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_basic(rule, &match); match 1865 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ntohs(match.mask->n_proto)); match 1867 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ntohs(match.key->n_proto)); match 1869 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->n_proto) match 1876 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_vlan match; match 1879 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key = &filter_dev_key; match 1880 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->vlan_id = vlan_dev_vlan_id(filter_dev); match 1881 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->vlan_tpid = vlan_dev_vlan_proto(filter_dev); match 1882 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->vlan_priority = 0; match 1883 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask = &filter_dev_mask; match 1884 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c memset(match.mask, 0xff, sizeof(*match.mask)); match 1885 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_priority = 0; match 1887 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_vlan(rule, &match); match 1889 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->vlan_id || match 1890 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_priority || match 1891 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_tpid) { match 1892 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.key->vlan_tpid == htons(ETH_P_8021AD)) { match 1905 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_id); match 1907 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->vlan_id); match 1910 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_priority); match 1912 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->vlan_priority); match 1926 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_vlan match; match 1928 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_cvlan(rule, &match); match 1929 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->vlan_id || match 1930 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_priority || match 1931 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_tpid) { match 1932 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.key->vlan_tpid == htons(ETH_P_8021AD)) { match 1945 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_id); match 1947 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->vlan_id); match 1949 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->vlan_priority); match 1951 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->vlan_priority); match 1958 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_eth_addrs match; match 1960 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_eth_addrs(rule, &match); match 1963 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->dst); match 1966 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->dst); match 1970 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->src); match 1973 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->src); match 1975 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!is_zero_ether_addr(match.mask->src) || match 1976 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c !is_zero_ether_addr(match.mask->dst)) match 1981 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_control match; match 1983 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_control(rule, &match); match 1984 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c addr_type = match.key->addr_type; match 1987 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->flags & FLOW_DIS_FIRST_FRAG) match 1990 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->flags & FLOW_DIS_IS_FRAGMENT) { match 1993 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->flags & FLOW_DIS_IS_FRAGMENT); match 1996 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!(match.key->flags & FLOW_DIS_IS_FRAGMENT)) match 2005 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_basic match; match 2007 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_basic(rule, &match); match 2008 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ip_proto = match.key->ip_proto; match 2011 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->ip_proto); match 2013 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->ip_proto); match 2015 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->ip_proto) match 2020 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_ipv4_addrs match; match 2022 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_ipv4_addrs(rule, &match); match 2025 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.mask->src, sizeof(match.mask->src)); match 2028 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.key->src, sizeof(match.key->src)); match 2031 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.mask->dst, sizeof(match.mask->dst)); match 2034 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.key->dst, sizeof(match.key->dst)); match 2036 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->src || match.mask->dst) match 2041 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_ipv6_addrs match; match 2043 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_ipv6_addrs(rule, &match); match 2046 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.mask->src, sizeof(match.mask->src)); match 2049 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.key->src, sizeof(match.key->src)); match 2053 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.mask->dst, sizeof(match.mask->dst)); match 2056 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c &match.key->dst, sizeof(match.key->dst)); match 2058 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (ipv6_addr_type(&match.mask->src) != IPV6_ADDR_ANY || match 2059 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ipv6_addr_type(&match.mask->dst) != IPV6_ADDR_ANY) match 2064 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_ip match; match 2066 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_ip(rule, &match); match 2068 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->tos & 0x3); match 2070 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->tos & 0x3); match 2073 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->tos >> 2); match 2075 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->tos >> 2); match 2078 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.mask->ttl); match 2080 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c match.key->ttl); match 2082 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->ttl && match 2090 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->tos || match.mask->ttl) match 2097 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_ports match; match 2099 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_ports(rule, &match); match 2103 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c tcp_sport, ntohs(match.mask->src)); match 2105 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c tcp_sport, ntohs(match.key->src)); match 2108 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c tcp_dport, ntohs(match.mask->dst)); match 2110 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c tcp_dport, ntohs(match.key->dst)); match 2115 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c udp_sport, ntohs(match.mask->src)); match 2117 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c udp_sport, ntohs(match.key->src)); match 2120 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c udp_dport, ntohs(match.mask->dst)); match 2122 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c udp_dport, ntohs(match.key->dst)); match 2132 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->src || match.mask->dst) match 2137 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct flow_match_tcp match; match 2139 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_rule_match_tcp(rule, &match); match 2141 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ntohs(match.mask->flags)); match 2143 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ntohs(match.key->flags)); match 2145 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (match.mask->flags) match 101 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match match = {0}; match 103 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 104 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.header = &mlxsw_sp_dpipe_header_metadata; match 105 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT; match 107 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c return devlink_dpipe_match_put(skb, &match); match 111 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c mlxsw_sp_erif_match_action_prepare(struct devlink_dpipe_match *match, match 118 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 119 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->header = &mlxsw_sp_dpipe_header_metadata; match 120 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT; match 125 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match *match, match 135 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match_value->match = match; match 196 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match match = {0}; match 206 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c mlxsw_sp_erif_match_action_prepare(&match, &action); match 207 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c err = mlxsw_sp_erif_entry_prepare(&entry, &match_value, &match, match 312 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match match = {0}; match 315 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 316 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.header = &mlxsw_sp_dpipe_header_metadata; match 317 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT; match 319 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c err = devlink_dpipe_match_put(skb, &match); match 325 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 326 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.header = &devlink_dpipe_header_ipv4; match 327 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.field_id = DEVLINK_DPIPE_FIELD_IPV4_DST_IP; match 330 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 331 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.header = &devlink_dpipe_header_ipv6; match 332 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.field_id = DEVLINK_DPIPE_FIELD_IPV6_DST_IP; match 339 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c return devlink_dpipe_match_put(skb, &match); match 371 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match *match; match 373 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF]; match 374 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 375 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->header = &mlxsw_sp_dpipe_header_metadata; match 376 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT; match 378 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP]; match 379 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 382 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->header = &devlink_dpipe_header_ipv4; match 383 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->field_id = DEVLINK_DPIPE_FIELD_IPV4_DST_IP; match 386 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->header = &devlink_dpipe_header_ipv6; match 387 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->field_id = DEVLINK_DPIPE_FIELD_IPV6_DST_IP; match 408 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match *match; match 416 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF]; match 419 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match_value->match = match; match 425 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP]; match 428 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match_value->match = match; match 861 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match match = {0}; match 864 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 865 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.header = &mlxsw_sp_dpipe_header_metadata; match 866 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ADJ_INDEX; match 868 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c err = devlink_dpipe_match_put(skb, &match); match 872 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 873 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.header = &mlxsw_sp_dpipe_header_metadata; match 874 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ADJ_SIZE; match 876 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c err = devlink_dpipe_match_put(skb, &match); match 880 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 881 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.header = &mlxsw_sp_dpipe_header_metadata; match 882 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ADJ_HASH_INDEX; match 884 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c return devlink_dpipe_match_put(skb, &match); match 938 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match *match; match 940 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_INDEX]; match 941 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 942 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->header = &mlxsw_sp_dpipe_header_metadata; match 943 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ADJ_INDEX; match 945 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_SIZE]; match 946 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 947 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->header = &mlxsw_sp_dpipe_header_metadata; match 948 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ADJ_SIZE; match 950 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_HASH_INDEX]; match 951 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; match 952 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->header = &mlxsw_sp_dpipe_header_metadata; match 953 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match->field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ADJ_HASH_INDEX; match 975 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c struct devlink_dpipe_match *match; match 983 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_INDEX]; match 986 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match_value->match = match; match 992 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_SIZE]; match 995 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match_value->match = match; match 1001 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match = &matches[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_HASH_INDEX]; match 1004 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c match_value->match = match; match 149 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_meta match; match 154 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_meta(rule, &match); match 155 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c if (match.mask->ingress_ifindex != 0xFFFFFFFF) { match 161 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->ingress_ifindex); match 188 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_ipv4_addrs match; match 190 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_ipv4_addrs(f->rule, &match); match 193 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c (char *) &match.key->src, match 194 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c (char *) &match.mask->src, 4); match 196 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c (char *) &match.key->dst, match 197 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c (char *) &match.mask->dst, 4); match 203 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_ipv6_addrs match; match 205 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_ipv6_addrs(f->rule, &match); match 208 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.key->src.s6_addr[0x0], match 209 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.mask->src.s6_addr[0x0], 4); match 211 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.key->src.s6_addr[0x4], match 212 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.mask->src.s6_addr[0x4], 4); match 214 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.key->src.s6_addr[0x8], match 215 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.mask->src.s6_addr[0x8], 4); match 217 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.key->src.s6_addr[0xC], match 218 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.mask->src.s6_addr[0xC], 4); match 220 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.key->dst.s6_addr[0x0], match 221 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.mask->dst.s6_addr[0x0], 4); match 223 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.key->dst.s6_addr[0x4], match 224 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.mask->dst.s6_addr[0x4], 4); match 226 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.key->dst.s6_addr[0x8], match 227 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.mask->dst.s6_addr[0x8], 4); match 229 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.key->dst.s6_addr[0xC], match 230 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c &match.mask->dst.s6_addr[0xC], 4); match 239 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_ports match; match 250 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_ports(rule, &match); match 252 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c ntohs(match.key->dst), match 253 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c ntohs(match.mask->dst)); match 255 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c ntohs(match.key->src), match 256 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c ntohs(match.mask->src)); match 266 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_tcp match; match 277 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_tcp(rule, &match); match 279 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c if (match.mask->flags & htons(0x0E00)) { match 286 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c ntohs(match.key->flags), match 287 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c ntohs(match.mask->flags)); match 297 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_ip match; match 308 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_ip(rule, &match); match 311 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->ttl, match.mask->ttl); match 314 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->tos & 0x3, match 315 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->tos & 0x3); match 318 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->tos >> 2, match 319 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->tos >> 2); match 330 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_dissector *dissector = rule->match.dissector; match 360 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_control match; match 362 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_control(rule, &match); match 363 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c addr_type = match.key->addr_type; match 367 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_basic match; match 369 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_basic(rule, &match); match 370 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c n_proto_key = ntohs(match.key->n_proto); match 371 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c n_proto_mask = ntohs(match.mask->n_proto); match 381 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c ip_proto = match.key->ip_proto; match 384 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->ip_proto, match 385 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->ip_proto); match 389 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_eth_addrs match; match 391 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_eth_addrs(rule, &match); match 394 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->dst, match 395 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->dst, 2); match 398 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->dst + 2, match 399 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->dst + 2, 4); match 402 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->src, match 403 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->src, 2); match 406 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->src + 2, match 407 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->src + 2, 4); match 411 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c struct flow_match_vlan match; match 413 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_rule_match_vlan(rule, &match); match 424 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c if (match.mask->vlan_id != 0) match 427 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->vlan_id, match 428 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->vlan_id); match 429 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c if (match.mask->vlan_priority != 0) match 432 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.key->vlan_priority, match 433 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c match.mask->vlan_priority); match 45 drivers/net/ethernet/mscc/ocelot_flower.c struct flow_dissector *dissector = rule->match.dissector; match 59 drivers/net/ethernet/mscc/ocelot_flower.c struct flow_match_control match; match 61 drivers/net/ethernet/mscc/ocelot_flower.c flow_rule_match_control(rule, &match); match 65 drivers/net/ethernet/mscc/ocelot_flower.c struct flow_match_eth_addrs match; match 86 drivers/net/ethernet/mscc/ocelot_flower.c flow_rule_match_eth_addrs(rule, &match); match 89 drivers/net/ethernet/mscc/ocelot_flower.c match.key->dst); match 91 drivers/net/ethernet/mscc/ocelot_flower.c match.key->src); match 93 drivers/net/ethernet/mscc/ocelot_flower.c match.mask->dst); match 95 drivers/net/ethernet/mscc/ocelot_flower.c match.mask->src); match 100 drivers/net/ethernet/mscc/ocelot_flower.c struct flow_match_basic match; match 102 drivers/net/ethernet/mscc/ocelot_flower.c flow_rule_match_basic(rule, &match); match 103 drivers/net/ethernet/mscc/ocelot_flower.c if (ntohs(match.key->n_proto) == ETH_P_IP) { match 106 drivers/net/ethernet/mscc/ocelot_flower.c match.key->ip_proto; match 108 drivers/net/ethernet/mscc/ocelot_flower.c match.mask->ip_proto; match 110 drivers/net/ethernet/mscc/ocelot_flower.c if (ntohs(match.key->n_proto) == ETH_P_IPV6) { match 113 drivers/net/ethernet/mscc/ocelot_flower.c match.key->ip_proto; match 115 drivers/net/ethernet/mscc/ocelot_flower.c match.mask->ip_proto; match 121 drivers/net/ethernet/mscc/ocelot_flower.c struct flow_match_ipv4_addrs match; match 124 drivers/net/ethernet/mscc/ocelot_flower.c flow_rule_match_ipv4_addrs(rule, &match); match 126 drivers/net/ethernet/mscc/ocelot_flower.c memcpy(tmp, &match.key->src, 4); match 129 drivers/net/ethernet/mscc/ocelot_flower.c memcpy(tmp, &match.mask->src, 4); match 132 drivers/net/ethernet/mscc/ocelot_flower.c memcpy(tmp, &match.key->dst, 4); match 135 drivers/net/ethernet/mscc/ocelot_flower.c memcpy(tmp, &match.mask->dst, 4); match 144 drivers/net/ethernet/mscc/ocelot_flower.c struct flow_match_ports match; match 146 drivers/net/ethernet/mscc/ocelot_flower.c flow_rule_match_ports(rule, &match); match 147 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.sport.value = ntohs(match.key->src); match 148 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.sport.mask = ntohs(match.mask->src); match 149 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.dport.value = ntohs(match.key->dst); match 150 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.dport.mask = ntohs(match.mask->dst); match 154 drivers/net/ethernet/mscc/ocelot_flower.c struct flow_match_vlan match; match 156 drivers/net/ethernet/mscc/ocelot_flower.c flow_rule_match_vlan(rule, &match); match 158 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->vlan.vid.value = match.key->vlan_id; match 159 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->vlan.vid.mask = match.mask->vlan_id; match 160 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->vlan.pcp.value[0] = match.key->vlan_priority; match 161 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->vlan.pcp.mask[0] = match.mask->vlan_priority; match 174 drivers/net/ethernet/netronome/nfp/abm/cls.c struct nfp_abm_u32_match *match = NULL, *iter; match 193 drivers/net/ethernet/netronome/nfp/abm/cls.c match = iter; match 205 drivers/net/ethernet/netronome/nfp/abm/cls.c if (!match) { match 206 drivers/net/ethernet/netronome/nfp/abm/cls.c match = kzalloc(sizeof(*match), GFP_KERNEL); match 207 drivers/net/ethernet/netronome/nfp/abm/cls.c if (!match) match 209 drivers/net/ethernet/netronome/nfp/abm/cls.c list_add(&match->list, &alink->dscp_map); match 211 drivers/net/ethernet/netronome/nfp/abm/cls.c match->handle = knode->handle; match 212 drivers/net/ethernet/netronome/nfp/abm/cls.c match->band = knode->res->classid; match 213 drivers/net/ethernet/netronome/nfp/abm/cls.c match->mask = mask; match 214 drivers/net/ethernet/netronome/nfp/abm/cls.c match->val = val; match 771 drivers/net/ethernet/netronome/nfp/flower/action.c struct flow_match_basic match; match 773 drivers/net/ethernet/netronome/nfp/flower/action.c flow_rule_match_basic(rule, &match); match 774 drivers/net/ethernet/netronome/nfp/flower/action.c ip_proto = match.key->ip_proto; match 29 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_vlan match; match 31 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_vlan(rule, &match); match 35 drivers/net/ethernet/netronome/nfp/flower/match.c match.key->vlan_priority) | match 37 drivers/net/ethernet/netronome/nfp/flower/match.c match.key->vlan_id); match 42 drivers/net/ethernet/netronome/nfp/flower/match.c match.mask->vlan_priority) | match 44 drivers/net/ethernet/netronome/nfp/flower/match.c match.mask->vlan_id); match 89 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_eth_addrs match; match 91 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_eth_addrs(rule, &match); match 93 drivers/net/ethernet/netronome/nfp/flower/match.c ether_addr_copy(ext->mac_dst, &match.key->dst[0]); match 94 drivers/net/ethernet/netronome/nfp/flower/match.c ether_addr_copy(ext->mac_src, &match.key->src[0]); match 95 drivers/net/ethernet/netronome/nfp/flower/match.c ether_addr_copy(msk->mac_dst, &match.mask->dst[0]); match 96 drivers/net/ethernet/netronome/nfp/flower/match.c ether_addr_copy(msk->mac_src, &match.mask->src[0]); match 100 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_mpls match; match 103 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_mpls(rule, &match); match 104 drivers/net/ethernet/netronome/nfp/flower/match.c t_mpls = FIELD_PREP(NFP_FLOWER_MASK_MPLS_LB, match.key->mpls_label) | match 105 drivers/net/ethernet/netronome/nfp/flower/match.c FIELD_PREP(NFP_FLOWER_MASK_MPLS_TC, match.key->mpls_tc) | match 106 drivers/net/ethernet/netronome/nfp/flower/match.c FIELD_PREP(NFP_FLOWER_MASK_MPLS_BOS, match.key->mpls_bos) | match 109 drivers/net/ethernet/netronome/nfp/flower/match.c t_mpls = FIELD_PREP(NFP_FLOWER_MASK_MPLS_LB, match.mask->mpls_label) | match 110 drivers/net/ethernet/netronome/nfp/flower/match.c FIELD_PREP(NFP_FLOWER_MASK_MPLS_TC, match.mask->mpls_tc) | match 111 drivers/net/ethernet/netronome/nfp/flower/match.c FIELD_PREP(NFP_FLOWER_MASK_MPLS_BOS, match.mask->mpls_bos) | match 119 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_basic match; match 121 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_basic(rule, &match); match 122 drivers/net/ethernet/netronome/nfp/flower/match.c if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || match 123 drivers/net/ethernet/netronome/nfp/flower/match.c match.key->n_proto == cpu_to_be16(ETH_P_MPLS_MC)) { match 141 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_ports match; match 143 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_ports(rule, &match); match 144 drivers/net/ethernet/netronome/nfp/flower/match.c ext->port_src = match.key->src; match 145 drivers/net/ethernet/netronome/nfp/flower/match.c ext->port_dst = match.key->dst; match 146 drivers/net/ethernet/netronome/nfp/flower/match.c msk->port_src = match.mask->src; match 147 drivers/net/ethernet/netronome/nfp/flower/match.c msk->port_dst = match.mask->dst; match 159 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_basic match; match 161 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_basic(rule, &match); match 162 drivers/net/ethernet/netronome/nfp/flower/match.c ext->proto = match.key->ip_proto; match 163 drivers/net/ethernet/netronome/nfp/flower/match.c msk->proto = match.mask->ip_proto; match 167 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_ip match; match 169 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_ip(rule, &match); match 170 drivers/net/ethernet/netronome/nfp/flower/match.c ext->tos = match.key->tos; match 171 drivers/net/ethernet/netronome/nfp/flower/match.c ext->ttl = match.key->ttl; match 172 drivers/net/ethernet/netronome/nfp/flower/match.c msk->tos = match.mask->tos; match 173 drivers/net/ethernet/netronome/nfp/flower/match.c msk->ttl = match.mask->ttl; match 178 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_tcp match; match 180 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_tcp(rule, &match); match 181 drivers/net/ethernet/netronome/nfp/flower/match.c tcp_flags = be16_to_cpu(match.key->flags); match 182 drivers/net/ethernet/netronome/nfp/flower/match.c tcp_flags_mask = be16_to_cpu(match.mask->flags); match 211 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_control match; match 213 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_control(rule, &match); match 214 drivers/net/ethernet/netronome/nfp/flower/match.c if (match.key->flags & FLOW_DIS_IS_FRAGMENT) match 216 drivers/net/ethernet/netronome/nfp/flower/match.c if (match.mask->flags & FLOW_DIS_IS_FRAGMENT) match 218 drivers/net/ethernet/netronome/nfp/flower/match.c if (match.key->flags & FLOW_DIS_FIRST_FRAG) match 220 drivers/net/ethernet/netronome/nfp/flower/match.c if (match.mask->flags & FLOW_DIS_FIRST_FRAG) match 231 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_ipv4_addrs match; match 237 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_ipv4_addrs(rule, &match); match 238 drivers/net/ethernet/netronome/nfp/flower/match.c ext->ipv4_src = match.key->src; match 239 drivers/net/ethernet/netronome/nfp/flower/match.c ext->ipv4_dst = match.key->dst; match 240 drivers/net/ethernet/netronome/nfp/flower/match.c msk->ipv4_src = match.mask->src; match 241 drivers/net/ethernet/netronome/nfp/flower/match.c msk->ipv4_dst = match.mask->dst; match 258 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_ipv6_addrs match; match 260 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_ipv6_addrs(rule, &match); match 261 drivers/net/ethernet/netronome/nfp/flower/match.c ext->ipv6_src = match.key->src; match 262 drivers/net/ethernet/netronome/nfp/flower/match.c ext->ipv6_dst = match.key->dst; match 263 drivers/net/ethernet/netronome/nfp/flower/match.c msk->ipv6_src = match.mask->src; match 264 drivers/net/ethernet/netronome/nfp/flower/match.c msk->ipv6_dst = match.mask->dst; match 274 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_enc_opts match; match 276 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_enc_opts(flow->rule, &match); match 277 drivers/net/ethernet/netronome/nfp/flower/match.c memcpy(ext, match.key->data, match.key->len); match 278 drivers/net/ethernet/netronome/nfp/flower/match.c memcpy(msk, match.mask->data, match.mask->len); match 291 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_ipv4_addrs match; match 293 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_enc_ipv4_addrs(rule, &match); match 294 drivers/net/ethernet/netronome/nfp/flower/match.c ext->src = match.key->src; match 295 drivers/net/ethernet/netronome/nfp/flower/match.c ext->dst = match.key->dst; match 296 drivers/net/ethernet/netronome/nfp/flower/match.c msk->src = match.mask->src; match 297 drivers/net/ethernet/netronome/nfp/flower/match.c msk->dst = match.mask->dst; match 309 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_ip match; match 311 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_enc_ip(rule, &match); match 312 drivers/net/ethernet/netronome/nfp/flower/match.c ext->tos = match.key->tos; match 313 drivers/net/ethernet/netronome/nfp/flower/match.c ext->ttl = match.key->ttl; match 314 drivers/net/ethernet/netronome/nfp/flower/match.c msk->tos = match.mask->tos; match 315 drivers/net/ethernet/netronome/nfp/flower/match.c msk->ttl = match.mask->ttl; match 334 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_enc_keyid match; match 336 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_enc_keyid(rule, &match); match 337 drivers/net/ethernet/netronome/nfp/flower/match.c ext->tun_key = match.key->keyid; match 338 drivers/net/ethernet/netronome/nfp/flower/match.c msk->tun_key = match.mask->keyid; match 359 drivers/net/ethernet/netronome/nfp/flower/match.c struct flow_match_enc_keyid match; match 362 drivers/net/ethernet/netronome/nfp/flower/match.c flow_rule_match_enc_keyid(rule, &match); match 363 drivers/net/ethernet/netronome/nfp/flower/match.c temp_vni = be32_to_cpu(match.key->keyid) << NFP_FL_TUN_VNI_OFFSET; match 365 drivers/net/ethernet/netronome/nfp/flower/match.c temp_vni = be32_to_cpu(match.mask->keyid) << NFP_FL_TUN_VNI_OFFSET; match 225 drivers/net/ethernet/netronome/nfp/flower/offload.c struct flow_dissector *dissector = rule->match.dissector; match 1536 drivers/net/ethernet/pensando/ionic/ionic_if.h __le16 match; match 799 drivers/net/ethernet/pensando/ionic/ionic_lif.c .match = cpu_to_le16(IONIC_RX_FILTER_MATCH_MAC), match 1287 drivers/net/ethernet/pensando/ionic/ionic_lif.c .match = cpu_to_le16(IONIC_RX_FILTER_MATCH_VLAN), match 72 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c switch (le16_to_cpu(ac->match)) { match 123 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c if (le16_to_cpu(f->cmd.match) != IONIC_RX_FILTER_MATCH_VLAN) match 143 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c if (le16_to_cpu(f->cmd.match) != IONIC_RX_FILTER_MATCH_MAC) match 1785 drivers/net/ethernet/qlogic/qede/qede_filter.c struct flow_match_ports match; match 1787 drivers/net/ethernet/qlogic/qede/qede_filter.c flow_rule_match_ports(rule, &match); match 1788 drivers/net/ethernet/qlogic/qede/qede_filter.c if ((match.key->src && match.mask->src != U16_MAX) || match 1789 drivers/net/ethernet/qlogic/qede/qede_filter.c (match.key->dst && match.mask->dst != U16_MAX)) { match 1794 drivers/net/ethernet/qlogic/qede/qede_filter.c t->src_port = match.key->src; match 1795 drivers/net/ethernet/qlogic/qede/qede_filter.c t->dst_port = match.key->dst; match 1811 drivers/net/ethernet/qlogic/qede/qede_filter.c struct flow_match_ipv6_addrs match; match 1813 drivers/net/ethernet/qlogic/qede/qede_filter.c flow_rule_match_ipv6_addrs(rule, &match); match 1814 drivers/net/ethernet/qlogic/qede/qede_filter.c if ((memcmp(&match.key->src, &zero_addr, sizeof(addr)) && match 1815 drivers/net/ethernet/qlogic/qede/qede_filter.c memcmp(&match.mask->src, &addr, sizeof(addr))) || match 1816 drivers/net/ethernet/qlogic/qede/qede_filter.c (memcmp(&match.key->dst, &zero_addr, sizeof(addr)) && match 1817 drivers/net/ethernet/qlogic/qede/qede_filter.c memcmp(&match.mask->dst, &addr, sizeof(addr)))) { match 1823 drivers/net/ethernet/qlogic/qede/qede_filter.c memcpy(&t->src_ipv6, &match.key->src, sizeof(addr)); match 1824 drivers/net/ethernet/qlogic/qede/qede_filter.c memcpy(&t->dst_ipv6, &match.key->dst, sizeof(addr)); match 1838 drivers/net/ethernet/qlogic/qede/qede_filter.c struct flow_match_ipv4_addrs match; match 1840 drivers/net/ethernet/qlogic/qede/qede_filter.c flow_rule_match_ipv4_addrs(rule, &match); match 1841 drivers/net/ethernet/qlogic/qede/qede_filter.c if ((match.key->src && match.mask->src != U32_MAX) || match 1842 drivers/net/ethernet/qlogic/qede/qede_filter.c (match.key->dst && match.mask->dst != U32_MAX)) { match 1847 drivers/net/ethernet/qlogic/qede/qede_filter.c t->src_ipv4 = match.key->src; match 1848 drivers/net/ethernet/qlogic/qede/qede_filter.c t->dst_ipv4 = match.key->dst; match 1901 drivers/net/ethernet/qlogic/qede/qede_filter.c struct flow_dissector *dissector = rule->match.dissector; match 1925 drivers/net/ethernet/qlogic/qede/qede_filter.c struct flow_match_basic match; match 1927 drivers/net/ethernet/qlogic/qede/qede_filter.c flow_rule_match_basic(rule, &match); match 1928 drivers/net/ethernet/qlogic/qede/qede_filter.c ip_proto = match.key->ip_proto; match 369 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c const struct of_device_id *match; match 385 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c match = of_match_device(emac_sgmii_dt_match, &sgmii_pdev->dev); match 386 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c if (!match) { match 392 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c phy->sgmii_ops = (struct sgmii_ops *)match->data; match 849 drivers/net/ethernet/realtek/8139too.c goto match; match 858 drivers/net/ethernet/realtek/8139too.c match: match 742 drivers/net/ethernet/rocker/rocker_ofdpa.c const struct ofdpa_flow_tbl_entry *match) match 745 drivers/net/ethernet/rocker/rocker_ofdpa.c size_t key_len = match->key_len ? match->key_len : sizeof(found->key); match 748 drivers/net/ethernet/rocker/rocker_ofdpa.c entry, match->key_crc32) { match 749 drivers/net/ethernet/rocker/rocker_ofdpa.c if (memcmp(&found->key, &match->key, key_len) == 0) match 757 drivers/net/ethernet/rocker/rocker_ofdpa.c int flags, struct ofdpa_flow_tbl_entry *match) match 761 drivers/net/ethernet/rocker/rocker_ofdpa.c size_t key_len = match->key_len ? match->key_len : sizeof(found->key); match 764 drivers/net/ethernet/rocker/rocker_ofdpa.c match->key_crc32 = crc32(~0, &match->key, key_len); match 768 drivers/net/ethernet/rocker/rocker_ofdpa.c found = ofdpa_flow_tbl_find(ofdpa, match); match 771 drivers/net/ethernet/rocker/rocker_ofdpa.c match->cookie = found->cookie; match 774 drivers/net/ethernet/rocker/rocker_ofdpa.c found = match; match 777 drivers/net/ethernet/rocker/rocker_ofdpa.c found = match; match 792 drivers/net/ethernet/rocker/rocker_ofdpa.c int flags, struct ofdpa_flow_tbl_entry *match) match 796 drivers/net/ethernet/rocker/rocker_ofdpa.c size_t key_len = match->key_len ? match->key_len : sizeof(found->key); match 800 drivers/net/ethernet/rocker/rocker_ofdpa.c match->key_crc32 = crc32(~0, &match->key, key_len); match 804 drivers/net/ethernet/rocker/rocker_ofdpa.c found = ofdpa_flow_tbl_find(ofdpa, match); match 813 drivers/net/ethernet/rocker/rocker_ofdpa.c kfree(match); match 1049 drivers/net/ethernet/rocker/rocker_ofdpa.c const struct ofdpa_group_tbl_entry *match) match 1054 drivers/net/ethernet/rocker/rocker_ofdpa.c entry, match->group_id) { match 1055 drivers/net/ethernet/rocker/rocker_ofdpa.c if (found->group_id == match->group_id) match 1076 drivers/net/ethernet/rocker/rocker_ofdpa.c struct ofdpa_group_tbl_entry *match) match 1084 drivers/net/ethernet/rocker/rocker_ofdpa.c found = ofdpa_group_tbl_find(ofdpa, match); match 1089 drivers/net/ethernet/rocker/rocker_ofdpa.c found = match; match 1092 drivers/net/ethernet/rocker/rocker_ofdpa.c found = match; match 1107 drivers/net/ethernet/rocker/rocker_ofdpa.c struct ofdpa_group_tbl_entry *match) match 1116 drivers/net/ethernet/rocker/rocker_ofdpa.c found = ofdpa_group_tbl_find(ofdpa, match); match 1125 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_group_tbl_entry_free(match); match 1885 drivers/net/ethernet/rocker/rocker_ofdpa.c const struct ofdpa_fdb_tbl_entry *match) match 1889 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_for_each_possible(ofdpa->fdb_tbl, found, entry, match->key_crc32) match 1890 drivers/net/ethernet/rocker/rocker_ofdpa.c if (memcmp(&found->key, &match->key, sizeof(found->key)) == 0) match 6468 drivers/net/ethernet/sfc/ef10.c struct efx_udp_tunnel *match; match 6487 drivers/net/ethernet/sfc/ef10.c match = __efx_ef10_udp_tnl_lookup_port(efx, tnl.port); match 6488 drivers/net/ethernet/sfc/ef10.c if (match != NULL) { match 6489 drivers/net/ethernet/sfc/ef10.c if (match->type == tnl.type) { match 6492 drivers/net/ethernet/sfc/ef10.c match->count++; match 6497 drivers/net/ethernet/sfc/ef10.c efx_get_udp_tunnel_type_name(match->type, match 6551 drivers/net/ethernet/sfc/ef10.c struct efx_udp_tunnel *match; match 6569 drivers/net/ethernet/sfc/ef10.c match = __efx_ef10_udp_tnl_lookup_port(efx, tnl.port); match 6570 drivers/net/ethernet/sfc/ef10.c if (match != NULL) { match 6571 drivers/net/ethernet/sfc/ef10.c if (match->type == tnl.type) { match 6572 drivers/net/ethernet/sfc/ef10.c if (--match->count) { match 6583 drivers/net/ethernet/sfc/ef10.c efx_get_udp_tunnel_type_name(match->type, match 1186 drivers/net/ethernet/sfc/ptp.c struct efx_ptp_match *match; match 1198 drivers/net/ethernet/sfc/ptp.c match = (struct efx_ptp_match *)skb->cb; match 1205 drivers/net/ethernet/sfc/ptp.c if ((evt->seq0 == match->words[0]) && match 1206 drivers/net/ethernet/sfc/ptp.c (evt->seq1 == match->words[1])) { match 1213 drivers/net/ethernet/sfc/ptp.c match->state = PTP_PACKET_STATE_MATCHED; match 1234 drivers/net/ethernet/sfc/ptp.c struct efx_ptp_match *match; match 1236 drivers/net/ethernet/sfc/ptp.c match = (struct efx_ptp_match *)skb->cb; match 1237 drivers/net/ethernet/sfc/ptp.c if (match->state == PTP_PACKET_STATE_MATCH_UNWANTED) { match 1242 drivers/net/ethernet/sfc/ptp.c } else if (time_after(jiffies, match->expiry)) { match 1243 drivers/net/ethernet/sfc/ptp.c match->state = PTP_PACKET_STATE_TIMED_OUT; match 1621 drivers/net/ethernet/sfc/ptp.c struct efx_ptp_match *match = (struct efx_ptp_match *)skb->cb; match 1626 drivers/net/ethernet/sfc/ptp.c match->expiry = jiffies + msecs_to_jiffies(PKT_EVENT_LIFETIME_MS); match 1672 drivers/net/ethernet/sfc/ptp.c match->state = PTP_PACKET_STATE_UNMATCHED; match 1681 drivers/net/ethernet/sfc/ptp.c match->words[0] = (match_data_012[0] | match 1685 drivers/net/ethernet/sfc/ptp.c match->words[1] = (match_data_345[1] | match 1691 drivers/net/ethernet/sfc/ptp.c match->state = PTP_PACKET_STATE_MATCH_UNWANTED; match 2233 drivers/net/ethernet/smsc/smc91x.c const struct of_device_id *match = NULL; match 2269 drivers/net/ethernet/smsc/smc91x.c match = of_match_device(of_match_ptr(smc91x_match), &pdev->dev); match 2270 drivers/net/ethernet/smsc/smc91x.c if (match) { match 2315 drivers/net/ethernet/smsc/smc91x.c if (!pd && !match) { match 1212 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 match) match 1258 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = dwxgmac2_filter_write(hw, filter_no, XGMAC_L3_ADDR0, match); match 1262 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = dwxgmac2_filter_write(hw, filter_no, XGMAC_L3_ADDR1, match); match 1275 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 match) match 1312 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = match & XGMAC_L4SP0; match 1318 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = (match << XGMAC_L4DP0_SHIFT) & XGMAC_L4DP0; match 369 drivers/net/ethernet/stmicro/stmmac/hwif.h u32 match); match 372 drivers/net/ethernet/stmicro/stmmac/hwif.h u32 match); match 1339 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c rule->match.dissector = dissector; match 1340 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c rule->match.key = (void *)&key; match 1341 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c rule->match.mask = (void *)&mask; match 1466 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c rule->match.dissector = dissector; match 1467 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c rule->match.key = (void *)&keys; match 1468 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c rule->match.mask = (void *)&masks; match 399 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c struct flow_dissector *dissector = rule->match.dissector; match 400 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c struct flow_match_basic match; match 406 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c flow_rule_match_basic(rule, &match); match 407 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c entry->ip_proto = match.key->ip_proto; match 416 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c struct flow_dissector *dissector = rule->match.dissector; match 418 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c struct flow_match_ipv4_addrs match; match 426 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c flow_rule_match_ipv4_addrs(rule, &match); match 427 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c hw_match = ntohl(match.key->src) & ntohl(match.mask->src); match 435 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c hw_match = ntohl(match.key->dst) & ntohl(match.mask->dst); match 451 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c struct flow_dissector *dissector = rule->match.dissector; match 453 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c struct flow_match_ports match; match 473 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c flow_rule_match_ports(rule, &match); match 475 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c hw_match = ntohs(match.key->src) & ntohs(match.mask->src); match 483 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c hw_match = ntohs(match.key->dst) & ntohs(match.mask->dst); match 3270 drivers/net/ethernet/sun/sunhme.c const struct of_device_id *match; match 3275 drivers/net/ethernet/sun/sunhme.c match = of_match_device(hme_sbus_match, &op->dev); match 3276 drivers/net/ethernet/sun/sunhme.c if (!match) match 3278 drivers/net/ethernet/sun/sunhme.c is_qfe = (match->data != NULL); match 175 drivers/net/ethernet/ti/cpsw-phy-sel.c dev = bus_find_device(&platform_bus_type, NULL, node, match); match 142 drivers/net/ethernet/ti/cpts.c static int cpts_fifo_read(struct cpts *cpts, int match) match 184 drivers/net/ethernet/ti/cpts.c if (type == match) match 187 drivers/net/ethernet/ti/cpts.c return type == match ? 0 : -1; match 1063 drivers/net/ethernet/ti/davinci_emac.c char *mac_addr, int index, int match) match 1071 drivers/net/ethernet/ti/davinci_emac.c (match << 19) | BIT(20)); match 1686 drivers/net/ethernet/ti/davinci_emac.c const struct of_device_id *match; match 1737 drivers/net/ethernet/ti/davinci_emac.c match = of_match_device(davinci_emac_of_match, &pdev->dev); match 1738 drivers/net/ethernet/ti/davinci_emac.c if (match && match->data) { match 1739 drivers/net/ethernet/ti/davinci_emac.c auxdata = match->data; match 1127 drivers/net/ethernet/via/via-rhine.c const struct of_device_id *match; match 1132 drivers/net/ethernet/via/via-rhine.c match = of_match_device(rhine_of_tbl, &pdev->dev); match 1133 drivers/net/ethernet/via/via-rhine.c if (!match) match 1144 drivers/net/ethernet/via/via-rhine.c quirks = match->data; match 880 drivers/net/phy/dp83640.c if (match(skb, skb_info->ptp_type, rxts)) { match 1457 drivers/net/phy/dp83640.c if (match(skb, type, rxts)) { match 730 drivers/net/phy/mdio_bus.c .match = mdio_bus_match, match 166 drivers/net/phy/phy-core.c const struct phy_setting *p, *match = NULL, *last = NULL; match 175 drivers/net/phy/phy-core.c match = p; match 178 drivers/net/phy/phy-core.c if (!match && p->speed <= speed) match 180 drivers/net/phy/phy-core.c match = p; match 188 drivers/net/phy/phy-core.c if (!match && !exact) match 189 drivers/net/phy/phy-core.c match = last; match 191 drivers/net/phy/phy-core.c return match; match 229 drivers/net/wimax/i2400m/control.c ssize_t match; match 233 drivers/net/wimax/i2400m/control.c match = i2400m_tlv_match(tlv, tlv_type, tlv_size); match 234 drivers/net/wimax/i2400m/control.c if (match == 0) /* found it :) */ match 236 drivers/net/wimax/i2400m/control.c if (match > 0) match 239 drivers/net/wimax/i2400m/control.c tlv_type, match, tlv_size); match 170 drivers/net/wireless/ath/ath5k/led.c const struct pci_device_id *match; match 176 drivers/net/wireless/ath/ath5k/led.c match = NULL; match 178 drivers/net/wireless/ath/ath5k/led.c match = pci_match_id(&ath5k_led_devices[0], pdev); match 180 drivers/net/wireless/ath/ath5k/led.c if (match) { match 182 drivers/net/wireless/ath/ath5k/led.c ah->led_pin = ATH_PIN(match->driver_data); match 183 drivers/net/wireless/ath/ath5k/led.c ah->led_on = ATH_POLARITY(match->driver_data); match 478 drivers/net/wireless/ath/ath9k/eeprom.c bool match; match 501 drivers/net/wireless/ath/ath9k/eeprom.c match = ath9k_hw_get_lower_upper_index((u8)FREQ2FBIN(centers.synth_center, match 505 drivers/net/wireless/ath/ath9k/eeprom.c if (match) { match 289 drivers/net/wireless/ath/ath9k/eeprom_9287.c bool match; match 299 drivers/net/wireless/ath/ath9k/eeprom_9287.c match = ath9k_hw_get_lower_upper_index( match 303 drivers/net/wireless/ath/ath9k/eeprom_9287.c if (match) { match 28 drivers/net/wireless/ath/ath9k/eeprom_def.c bool match; match 37 drivers/net/wireless/ath/ath9k/eeprom_def.c match = ath9k_hw_get_lower_upper_index( match 40 drivers/net/wireless/ath/ath9k/eeprom_def.c if (match) { match 119 drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c const struct dmi_system_id *match; match 127 drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c for (match = dmi_first_match(dmi_platform_data); match 128 drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c match; match 129 drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c match = dmi_first_match(match + 1)) { match 130 drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c data = match->driver_data; match 2408 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 match, reg; match 2428 drivers/net/wireless/intel/ipw2x00/ipw2100.c match = ipw2100_match_buf(priv, (u8 *) status, match 2431 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (match < SEARCH_SUCCESS) match 2434 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, match, match 5479 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_network_match *match, match 5498 drivers/net/wireless/intel/ipw2x00/ipw2200.c if ((network->ssid_len != match->network->ssid_len) || match 5499 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcmp(network->ssid, match->network->ssid, match 5524 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (network->time_stamp[0] < match->network->time_stamp[0]) { match 5526 drivers/net/wireless/intel/ipw2x00/ipw2200.c match->network->ssid_len, match->network->ssid); match 5528 drivers/net/wireless/intel/ipw2x00/ipw2200.c } else if (network->time_stamp[1] < match->network->time_stamp[1]) { match 5530 drivers/net/wireless/intel/ipw2x00/ipw2200.c match->network->ssid_len, match->network->ssid); match 5604 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_copy_rates(&match->rates, &rates); match 5605 drivers/net/wireless/intel/ipw2x00/ipw2200.c match->network = network; match 5617 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_network_match match = { match 5630 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_find_adhoc_network(priv, &match, network, match 5635 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (match.network == priv->assoc_network) { match 5649 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->assoc_network = match.network; match 5656 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_network_match *match, match 5676 drivers/net/wireless/intel/ipw2x00/ipw2200.c if ((network->ssid_len != match->network->ssid_len) || match 5677 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcmp(network->ssid, match->network->ssid, match 5701 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (match->network && match->network->stats.rssi > network->stats.rssi) { match 5704 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->bssid, match->network->ssid_len, match 5705 drivers/net/wireless/intel/ipw2x00/ipw2200.c match->network->ssid, match->network->bssid); match 5799 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_copy_rates(&match->rates, &rates); match 5800 drivers/net/wireless/intel/ipw2x00/ipw2200.c match->network = network; match 7453 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_network_match match = { match 7489 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_best_network(priv, &match, network, 1); match 7494 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (match.network == priv->assoc_network) { match 7503 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->assoc_network = match.network; match 7509 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_compatible_rates(priv, priv->assoc_network, &match.rates); match 7510 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_associate_network(priv, priv->assoc_network, &match.rates, 1); match 7528 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_network_match match = { match 7567 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_best_network(priv, &match, network, 0); match 7569 drivers/net/wireless/intel/ipw2x00/ipw2200.c network = match.network; match 7570 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates = &match.rates; match 1773 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct cfg80211_wowlan_nd_match *match, match 1785 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match->channels[match->n_channels++] = match 1793 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match->channels[match->n_channels++] = match 1844 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct cfg80211_wowlan_nd_match *match; match 1849 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match = kzalloc(struct_size(match, channels, n_channels), match 1851 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (!match) match 1854 drivers/net/wireless/intel/iwlwifi/mvm/d3.c net_detect->matches[net_detect->n_matches++] = match; match 1860 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match->ssid.ssid_len = mvm->nd_match_sets[idx].ssid.ssid_len; match 1861 drivers/net/wireless/intel/iwlwifi/mvm/d3.c memcpy(match->ssid.ssid, mvm->nd_match_sets[idx].ssid.ssid, match 1862 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match->ssid.ssid_len); match 1867 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_query_set_freqs(mvm, &query, match, i); match 657 drivers/net/wireless/intel/iwlwifi/mvm/tx.c u8 match[] = { match 676 drivers/net/wireless/intel/iwlwifi/mvm/tx.c match, 4, 2); match 143 drivers/net/wireless/intersil/hostap/hostap_main.c struct hostap_interface *iface, *empty, *match; match 145 drivers/net/wireless/intersil/hostap/hostap_main.c empty = match = NULL; match 155 drivers/net/wireless/intersil/hostap/hostap_main.c match = iface; match 159 drivers/net/wireless/intersil/hostap/hostap_main.c if (!match && empty && !prism2_wds_special_addr(remote_addr)) { match 170 drivers/net/wireless/intersil/hostap/hostap_main.c if (match) match 148 drivers/net/wireless/intersil/orinoco/airport.c airport_attach(struct macio_dev *mdev, const struct of_device_id *match) match 997 drivers/net/wireless/ralink/rt2x00/rt2800lib.c bool match) match 1041 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (unlikely((aggr == 1 && ampdu == 0 && real_mcs != mcs)) || !match) { match 1083 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (!match) { match 1104 drivers/net/wireless/ralink/rt2x00/rt2800lib.c bool match; match 1129 drivers/net/wireless/ralink/rt2x00/rt2800lib.c match = rt2800_txdone_entry_check(entry, reg); match 1130 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_txdone_entry(entry, reg, rt2800_drv_get_txwi(entry), match); match 194 drivers/net/wireless/ralink/rt2x00/rt2800lib.h bool match); match 331 drivers/nfc/s3fwrn5/firmware.c } match[] = { match 339 drivers/nfc/s3fwrn5/firmware.c for (i = 0; i < ARRAY_SIZE(match); ++i) match 340 drivers/nfc/s3fwrn5/firmware.c if (bootinfo->hw_version[0] == match[i].version[0] && match 341 drivers/nfc/s3fwrn5/firmware.c bootinfo->hw_version[1] == match[i].version[1] && match 342 drivers/nfc/s3fwrn5/firmware.c bootinfo->hw_version[3] == match[i].version[3]) { match 343 drivers/nfc/s3fwrn5/firmware.c *base_addr = match[i].base_addr; match 321 drivers/ntb/ntb_transport.c .match = ntb_transport_bus_match, match 44 drivers/nubus/bus.c .match = nubus_bus_match, match 288 drivers/nvdimm/bus.c .match = nvdimm_bus_match, match 2430 drivers/nvme/host/core.c static bool string_matches(const char *idstr, const char *match, size_t len) match 2434 drivers/nvme/host/core.c if (!match) match 2437 drivers/nvme/host/core.c matchlen = strlen(match); match 2440 drivers/nvme/host/core.c if (memcmp(idstr, match, matchlen)) match 138 drivers/nvmem/mxs-ocotp.c const struct of_device_id *match; match 141 drivers/nvmem/mxs-ocotp.c match = of_match_device(dev->driver->of_match_table, dev); match 142 drivers/nvmem/mxs-ocotp.c if (!match || !match->data) match 163 drivers/nvmem/mxs-ocotp.c data = match->data; match 44 drivers/of/address.c int (*match)(struct device_node *parent); match 436 drivers/of/address.c .match = of_bus_pci_match, match 447 drivers/of/address.c .match = of_bus_isa_match, match 457 drivers/of/address.c .match = NULL, match 470 drivers/of/address.c if (!of_busses[i].match || of_busses[i].match(np)) match 84 drivers/of/base.c const char *match = __of_get_property(np, "device_type", NULL); match 86 drivers/of/base.c return np && match && type && !strcmp(match, type); match 1139 drivers/of/base.c const struct of_device_id *match; match 1143 drivers/of/base.c match = __of_match_node(matches, node); match 1145 drivers/of/base.c return match; match 1164 drivers/of/base.c const struct of_device_id **match) match 1170 drivers/of/base.c if (match) match 1171 drivers/of/base.c *match = NULL; match 1177 drivers/of/base.c if (match) match 1178 drivers/of/base.c *match = m; match 1591 drivers/of/base.c int i, ret, map_len, match; match 1644 drivers/of/base.c match = 0; match 1645 drivers/of/base.c while (map_len > (list_size + 1) && !match) { match 1647 drivers/of/base.c match = 1; match 1649 drivers/of/base.c match &= !((match_array[i] ^ *map++) & mask[i]); match 1661 drivers/of/base.c match = 0; match 1677 drivers/of/base.c if (!match) match 190 drivers/of/device.c const struct of_device_id *match; match 192 drivers/of/device.c match = of_match_device(dev->driver->of_match_table, dev); match 193 drivers/of/device.c if (!match) match 196 drivers/of/device.c return match->data; match 942 drivers/of/fdt.c const struct earlycon_id *match = *p_match; match 944 drivers/of/fdt.c if (!match->compatible[0]) match 947 drivers/of/fdt.c if (fdt_node_check_compatible(fdt, offset, match->compatible)) match 950 drivers/of/fdt.c of_setup_earlycon(match, offset, options); match 100 drivers/of/irq.c int imaplen, match, i, rc = -EINVAL; match 192 drivers/of/irq.c match = 0; match 193 drivers/of/irq.c while (imaplen > (addrsize + intsize + 1) && !match) { match 195 drivers/of/irq.c match = 1; match 197 drivers/of/irq.c match &= !((match_array[i] ^ *imap++) & imask[i]); match 199 drivers/of/irq.c pr_debug(" -> match=%d (imaplen=%d)\n", match, imaplen); match 216 drivers/of/irq.c match = 0; match 245 drivers/of/irq.c if (!match) match 481 drivers/of/irq.c const struct of_device_id *match; match 489 drivers/of/irq.c for_each_matching_node_and_match(np, matches, &match) { match 494 drivers/of/irq.c if (WARN(!match->data, "of_irq_init: no init function for %s\n", match 495 drivers/of/irq.c match->compatible)) match 508 drivers/of/irq.c desc->irq_init_cb = match->data; match 975 drivers/of/unittest.c const struct of_device_id *match; match 986 drivers/of/unittest.c match = of_match_node(match_node_table, np); match 987 drivers/of/unittest.c if (!match) { match 993 drivers/of/unittest.c if (strcmp(match->data, match_node_tests[i].data) != 0) { match 996 drivers/of/unittest.c (const char *)match->data); match 1016 drivers/of/unittest.c const struct of_device_id match[] = { match 1066 drivers/of/unittest.c of_platform_populate(np, match, NULL, &test_bus->dev); match 382 drivers/opp/ti-opp-supply.c const struct of_device_id *match; match 386 drivers/opp/ti-opp-supply.c match = of_match_device(ti_opp_supply_of_match, dev); match 387 drivers/opp/ti-opp-supply.c if (!match) { match 392 drivers/opp/ti-opp-supply.c if (!match->data) { match 397 drivers/opp/ti-opp-supply.c of_data = match->data; match 691 drivers/pci/controller/dwc/pci-dra7xx.c const struct of_device_id *match; match 696 drivers/pci/controller/dwc/pci-dra7xx.c match = of_match_device(of_match_ptr(of_dra7xx_pcie_match), dev); match 697 drivers/pci/controller/dwc/pci-dra7xx.c if (!match) match 700 drivers/pci/controller/dwc/pci-dra7xx.c data = (struct dra7xx_pcie_of_data *)match->data; match 1191 drivers/pci/controller/dwc/pci-keystone.c const struct of_device_id *match; match 1210 drivers/pci/controller/dwc/pci-keystone.c match = of_match_device(of_match_ptr(ks_pcie_of_match), dev); match 1211 drivers/pci/controller/dwc/pci-keystone.c data = (struct ks_pcie_of_data *)match->data; match 493 drivers/pci/controller/dwc/pcie-artpec6.c const struct of_device_id *match; match 498 drivers/pci/controller/dwc/pcie-artpec6.c match = of_match_device(artpec6_pcie_of_match, dev); match 499 drivers/pci/controller/dwc/pcie-artpec6.c if (!match) match 502 drivers/pci/controller/dwc/pcie-artpec6.c data = (struct artpec_pcie_of_data *)match->data; match 183 drivers/pci/controller/dwc/pcie-designware-plat.c const struct of_device_id *match; match 187 drivers/pci/controller/dwc/pcie-designware-plat.c match = of_match_device(dw_plat_pcie_of_match, dev); match 188 drivers/pci/controller/dwc/pcie-designware-plat.c if (!match) match 191 drivers/pci/controller/dwc/pcie-designware-plat.c data = (struct dw_plat_pcie_of_data *)match->data; match 814 drivers/pci/controller/pcie-altera.c const struct of_device_id *match; match 824 drivers/pci/controller/pcie-altera.c match = of_match_device(altera_pcie_of_match, &pdev->dev); match 825 drivers/pci/controller/pcie-altera.c if (!match) match 828 drivers/pci/controller/pcie-altera.c pcie->pcie_data = match->data; match 371 drivers/pci/endpoint/pci-epf-core.c .match = pci_epf_device_match, match 1288 drivers/pci/pci-acpi.c .match = pci_acpi_bus_match, match 1657 drivers/pci/pci-driver.c .match = pci_bus_match, match 1695 drivers/pci/pci-driver.c .match = pcie_port_bus_match, match 1417 drivers/pcmcia/ds.c .match = pcmcia_bus_match, match 167 drivers/phy/cadence/phy-cadence-sierra.c const struct of_device_id *match; match 189 drivers/phy/cadence/phy-cadence-sierra.c match = of_match_device(cdns_sierra_id_table, dev); match 190 drivers/phy/cadence/phy-cadence-sierra.c if (!match) match 192 drivers/phy/cadence/phy-cadence-sierra.c sp->init_data = (struct cdns_sierra_data *)match->data; match 165 drivers/phy/marvell/phy-berlin-usb.c const struct of_device_id *match = match 185 drivers/phy/marvell/phy-berlin-usb.c priv->pll_divider = *((u32 *)match->data); match 175 drivers/phy/ralink/phy-ralink-usb.c const struct of_device_id *match; match 178 drivers/phy/ralink/phy-ralink-usb.c match = of_match_device(ralink_usb_phy_of_match, &pdev->dev); match 179 drivers/phy/ralink/phy-ralink-usb.c if (!match) match 186 drivers/phy/ralink/phy-ralink-usb.c phy->clk = (uintptr_t)match->data; match 1070 drivers/phy/rockchip/phy-rockchip-inno-usb2.c const struct of_device_id *match; match 1078 drivers/phy/rockchip/phy-rockchip-inno-usb2.c match = of_match_device(dev->driver->of_match_table, dev); match 1079 drivers/phy/rockchip/phy-rockchip-inno-usb2.c if (!match || !match->data) { match 1108 drivers/phy/rockchip/phy-rockchip-inno-usb2.c phy_cfgs = match->data; match 1108 drivers/phy/rockchip/phy-rockchip-typec.c const struct of_device_id *match; match 1115 drivers/phy/rockchip/phy-rockchip-typec.c match = of_match_device(dev->driver->of_match_table, dev); match 1116 drivers/phy/rockchip/phy-rockchip-typec.c if (!match || !match->data) { match 1126 drivers/phy/rockchip/phy-rockchip-typec.c phy_cfgs = match->data; match 461 drivers/phy/rockchip/phy-rockchip-usb.c const struct of_device_id *match; match 469 drivers/phy/rockchip/phy-rockchip-usb.c match = of_match_device(dev->driver->of_match_table, dev); match 470 drivers/phy/rockchip/phy-rockchip-usb.c if (!match || !match->data) { match 475 drivers/phy/rockchip/phy-rockchip-usb.c phy_base->pdata = match->data; match 524 drivers/phy/rockchip/phy-rockchip-usb.c const struct of_device_id *match; match 534 drivers/phy/rockchip/phy-rockchip-usb.c &match); match 540 drivers/phy/rockchip/phy-rockchip-usb.c pr_debug("%s: using settings for %s\n", __func__, match->compatible); match 541 drivers/phy/rockchip/phy-rockchip-usb.c data = match->data; match 545 drivers/phy/rockchip/phy-rockchip-usb.c __func__, match->compatible); match 408 drivers/phy/tegra/xusb.c struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV); match 422 drivers/phy/tegra/xusb.c if (!IS_ERR(match)) match 424 drivers/phy/tegra/xusb.c map->type, map->index, match->soc->name); match 426 drivers/phy/tegra/xusb.c match = lane; match 429 drivers/phy/tegra/xusb.c return match; match 863 drivers/phy/tegra/xusb.c const struct of_device_id *match; match 877 drivers/phy/tegra/xusb.c match = of_match_node(tegra_xusb_padctl_of_match, pdev->dev.of_node); match 878 drivers/phy/tegra/xusb.c soc = match->data; match 788 drivers/phy/ti/phy-ti-pipe3.c const struct of_device_id *match; match 795 drivers/phy/ti/phy-ti-pipe3.c match = of_match_device(ti_pipe3_id_table, dev); match 796 drivers/phy/ti/phy-ti-pipe3.c if (!match) match 799 drivers/phy/ti/phy-ti-pipe3.c data = (struct pipe3_data *)match->data; match 454 drivers/pinctrl/aspeed/pinctrl-aspeed.c bool match; match 460 drivers/pinctrl/aspeed/pinctrl-aspeed.c match = (elem->arg == -1 || elem->arg == value); match 463 drivers/pinctrl/aspeed/pinctrl-aspeed.c match = (elem->val == value); match 467 drivers/pinctrl/aspeed/pinctrl-aspeed.c if (param == elem->param && match) match 1092 drivers/pinctrl/bcm/pinctrl-bcm2835.c const struct of_device_id *match; match 1165 drivers/pinctrl/bcm/pinctrl-bcm2835.c match = of_match_node(bcm2835_pinctrl_match, pdev->dev.of_node); match 1166 drivers/pinctrl/bcm/pinctrl-bcm2835.c if (match) { match 1168 drivers/pinctrl/bcm/pinctrl-bcm2835.c (const struct pinconf_ops *)match->data; match 230 drivers/pinctrl/berlin/berlin-bg2.c const struct of_device_id *match = match 233 drivers/pinctrl/berlin/berlin-bg2.c return berlin_pinctrl_probe(pdev, match->data); match 175 drivers/pinctrl/berlin/berlin-bg2cd.c const struct of_device_id *match = match 178 drivers/pinctrl/berlin/berlin-bg2cd.c return berlin_pinctrl_probe(pdev, match->data); match 392 drivers/pinctrl/berlin/berlin-bg2q.c const struct of_device_id *match = match 395 drivers/pinctrl/berlin/berlin-bg2q.c return berlin_pinctrl_probe(pdev, match->data); match 452 drivers/pinctrl/berlin/berlin-bg4ct.c const struct of_device_id *match = match 477 drivers/pinctrl/berlin/berlin-bg4ct.c return berlin_pinctrl_probe_regmap(pdev, match->data, regmap); match 333 drivers/pinctrl/berlin/pinctrl-as370.c const struct of_device_id *match = match 358 drivers/pinctrl/berlin/pinctrl-as370.c return berlin_pinctrl_probe_regmap(pdev, match->data, regmap); match 1475 drivers/pinctrl/intel/pinctrl-intel.c const void *match = device_get_match_data(&pdev->dev); match 1477 drivers/pinctrl/intel/pinctrl-intel.c table = (const struct intel_pinctrl_soc_data **)match; match 407 drivers/pinctrl/mvebu/pinctrl-armada-38x.c const struct of_device_id *match = match 410 drivers/pinctrl/mvebu/pinctrl-armada-38x.c if (!match) match 413 drivers/pinctrl/mvebu/pinctrl-armada-38x.c soc->variant = (unsigned) match->data & 0xff; match 389 drivers/pinctrl/mvebu/pinctrl-armada-39x.c const struct of_device_id *match = match 392 drivers/pinctrl/mvebu/pinctrl-armada-39x.c if (!match) match 395 drivers/pinctrl/mvebu/pinctrl-armada-39x.c soc->variant = (unsigned) match->data & 0xff; match 109 drivers/pinctrl/mvebu/pinctrl-armada-ap806.c const struct of_device_id *match = match 112 drivers/pinctrl/mvebu/pinctrl-armada-ap806.c if (!match || !pdev->dev.parent) match 641 drivers/pinctrl/mvebu/pinctrl-armada-cp110.c const struct of_device_id *match = match 653 drivers/pinctrl/mvebu/pinctrl-armada-cp110.c soc->variant = (unsigned long) match->data & 0xff; match 571 drivers/pinctrl/mvebu/pinctrl-armada-xp.c const struct of_device_id *match = match 575 drivers/pinctrl/mvebu/pinctrl-armada-xp.c if (!match) match 578 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->variant = (unsigned) match->data & 0xff; match 768 drivers/pinctrl/mvebu/pinctrl-dove.c const struct of_device_id *match = match 774 drivers/pinctrl/mvebu/pinctrl-dove.c pdev->dev.platform_data = (void *)match->data; match 473 drivers/pinctrl/mvebu/pinctrl-kirkwood.c const struct of_device_id *match = match 476 drivers/pinctrl/mvebu/pinctrl-kirkwood.c pdev->dev.platform_data = (void *)match->data; match 221 drivers/pinctrl/mvebu/pinctrl-orion.c const struct of_device_id *match = match 225 drivers/pinctrl/mvebu/pinctrl-orion.c pdev->dev.platform_data = (void*)match->data; match 986 drivers/pinctrl/nomadik/pinctrl-abx500.c const struct of_device_id *match; match 1007 drivers/pinctrl/nomadik/pinctrl-abx500.c match = of_match_device(abx500_gpio_match, &pdev->dev); match 1008 drivers/pinctrl/nomadik/pinctrl-abx500.c if (!match) { match 1012 drivers/pinctrl/nomadik/pinctrl-abx500.c id = (unsigned long)match->data; match 1876 drivers/pinctrl/nomadik/pinctrl-nomadik.c const struct of_device_id *match; match 1887 drivers/pinctrl/nomadik/pinctrl-nomadik.c match = of_match_device(nmk_pinctrl_match, &pdev->dev); match 1888 drivers/pinctrl/nomadik/pinctrl-nomadik.c if (!match) match 1890 drivers/pinctrl/nomadik/pinctrl-nomadik.c version = (unsigned int) match->data; match 936 drivers/pinctrl/pinctrl-at91-pio4.c const struct of_device_id *match; match 949 drivers/pinctrl/pinctrl-at91-pio4.c match = of_match_node(atmel_pctrl_of_match, dev->of_node); match 950 drivers/pinctrl/pinctrl-at91-pio4.c if (!match) { match 954 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pioctrl_data = match->data; match 995 drivers/pinctrl/pinctrl-mcp23s08.c const struct of_device_id *match; match 997 drivers/pinctrl/pinctrl-mcp23s08.c match = of_match_device(of_match_ptr(mcp23s08_spi_of_match), &spi->dev); match 998 drivers/pinctrl/pinctrl-mcp23s08.c if (match) match 999 drivers/pinctrl/pinctrl-mcp23s08.c type = (int)(uintptr_t)match->data; match 3227 drivers/pinctrl/pinctrl-rockchip.c const struct of_device_id *match; match 3234 drivers/pinctrl/pinctrl-rockchip.c match = of_match_node(rockchip_pinctrl_dt_match, node); match 3235 drivers/pinctrl/pinctrl-rockchip.c ctrl = (struct rockchip_pin_ctrl *)match->data; match 1706 drivers/pinctrl/pinctrl-xway.c const struct of_device_id *match; match 1717 drivers/pinctrl/pinctrl-xway.c match = of_match_device(xway_match, &pdev->dev); match 1718 drivers/pinctrl/pinctrl-xway.c if (match) match 1719 drivers/pinctrl/pinctrl-xway.c xway_soc = (const struct pinctrl_xway_soc *) match->data; match 483 drivers/pinctrl/samsung/pinctrl-exynos.c const struct of_device_id *match; match 485 drivers/pinctrl/samsung/pinctrl-exynos.c match = of_match_node(exynos_wkup_irq_ids, np); match 486 drivers/pinctrl/samsung/pinctrl-exynos.c if (match) { match 487 drivers/pinctrl/samsung/pinctrl-exynos.c irq_chip = kmemdup(match->data, match 471 drivers/pinctrl/samsung/pinctrl-s3c24xx.c const struct of_device_id *match; match 482 drivers/pinctrl/samsung/pinctrl-s3c24xx.c match = of_match_node(s3c24xx_eint_irq_ids, np); match 483 drivers/pinctrl/samsung/pinctrl-s3c24xx.c if (match) { match 485 drivers/pinctrl/samsung/pinctrl-s3c24xx.c eint0_3_parent_only = (bool)match->data; match 1363 drivers/pinctrl/stm32/pinctrl-stm32.c const struct of_device_id *match; match 1372 drivers/pinctrl/stm32/pinctrl-stm32.c match = of_match_device(dev->driver->of_match_table, dev); match 1373 drivers/pinctrl/stm32/pinctrl-stm32.c if (!match || !match->data) match 1404 drivers/pinctrl/stm32/pinctrl-stm32.c pctl->match_data = match->data; match 875 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c const struct of_device_id *match; match 888 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c match = of_match_node(tegra_xusb_padctl_of_match, pdev->dev.of_node); match 889 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c padctl->soc = match->data; match 822 drivers/pinctrl/ti/pinctrl-ti-iodelay.c const struct of_device_id *match; match 833 drivers/pinctrl/ti/pinctrl-ti-iodelay.c match = of_match_device(ti_iodelay_of_match, dev); match 834 drivers/pinctrl/ti/pinctrl-ti-iodelay.c if (!match) { match 846 drivers/pinctrl/ti/pinctrl-ti-iodelay.c iod->reg_data = match->data; match 62 drivers/platform/x86/i2c-multi-instantiate.c const struct acpi_device_id *match; match 70 drivers/platform/x86/i2c-multi-instantiate.c match = acpi_match_device(dev->driver->acpi_match_table, dev); match 71 drivers/platform/x86/i2c-multi-instantiate.c if (!match) { match 75 drivers/platform/x86/i2c-multi-instantiate.c inst_data = (const struct i2c_inst_data *)match->driver_data; match 1010 drivers/platform/x86/wmi.c .match = wmi_dev_match, match 259 drivers/pnp/driver.c .match = pnp_bus_match, match 124 drivers/pnp/pnpacpi/rsparser.c struct acpi_vendor_uuid *match, match 135 drivers/pnp/pnpacpi/rsparser.c if (uuid_subtype == match->subtype && match 136 drivers/pnp/pnpacpi/rsparser.c uuid_len == sizeof(match->data) && match 137 drivers/pnp/pnpacpi/rsparser.c memcmp(uuid, match->data, uuid_len) == 0) { match 490 drivers/power/avs/rockchip-io-domain.c const struct of_device_id *match; match 505 drivers/power/avs/rockchip-io-domain.c match = of_match_node(rockchip_iodomain_match, np); match 506 drivers/power/avs/rockchip-io-domain.c iod->soc_data = match->data; match 209 drivers/power/reset/at91-reset.c const struct of_device_id *match; match 232 drivers/power/reset/at91-reset.c match = of_match_node(at91_reset_of_match, pdev->dev.of_node); match 233 drivers/power/reset/at91-reset.c at91_restart_nb.notifier_call = match->data; match 275 drivers/power/reset/at91-sama5d2_shdwc.c const struct of_device_id *match; match 299 drivers/power/reset/at91-sama5d2_shdwc.c match = of_match_node(at91_shdwc_of_match, pdev->dev.of_node); match 300 drivers/power/reset/at91-sama5d2_shdwc.c at91_shdwc->cfg = match->data; match 80 drivers/power/reset/qnap-poweroff.c const struct of_device_id *match = match 82 drivers/power/reset/qnap-poweroff.c cfg = match->data; match 76 drivers/power/reset/st-poweroff.c const struct of_device_id *match; match 79 drivers/power/reset/st-poweroff.c match = of_match_device(st_reset_of_match, dev); match 80 drivers/power/reset/st-poweroff.c if (!match) match 83 drivers/power/reset/st-poweroff.c st_restart_syscfg = (struct reset_syscfg *)match->data; match 111 drivers/power/reset/vexpress-poweroff.c const struct of_device_id *match = match 116 drivers/power/reset/vexpress-poweroff.c if (!match) match 124 drivers/power/reset/vexpress-poweroff.c switch ((enum vexpress_reset_func)match->data) { match 715 drivers/power/supply/cpcap-battery.c const struct of_device_id *match; match 719 drivers/power/supply/cpcap-battery.c match = of_match_device(of_match_ptr(cpcap_battery_id_table), match 721 drivers/power/supply/cpcap-battery.c if (!match) match 724 drivers/power/supply/cpcap-battery.c if (!match->data) { match 736 drivers/power/supply/cpcap-battery.c memcpy(&ddata->config, match->data, sizeof(ddata->config)); match 88 drivers/power/supply/power_supply_sysfs.c bool match = false; match 97 drivers/power/supply/power_supply_sysfs.c match = true; match 104 drivers/power/supply/power_supply_sysfs.c if (!match) { match 878 drivers/pwm/core.c unsigned int match; match 915 drivers/pwm/core.c match = 0; match 921 drivers/pwm/core.c match += 2; match 928 drivers/pwm/core.c match += 1; match 931 drivers/pwm/core.c if (match > best) { match 934 drivers/pwm/core.c if (match != 3) match 935 drivers/pwm/core.c best = match; match 245 drivers/pwm/pwm-atmel-hlcdc.c const struct of_device_id *match; match 261 drivers/pwm/pwm-atmel-hlcdc.c match = of_match_node(atmel_hlcdc_dt_ids, dev->parent->of_node); match 262 drivers/pwm/pwm-atmel-hlcdc.c if (match) match 263 drivers/pwm/pwm-atmel-hlcdc.c chip->errata = match->data; match 479 drivers/pwm/pwm-samsung.c const struct of_device_id *match; match 484 drivers/pwm/pwm-samsung.c match = of_match_node(samsung_pwm_matches, np); match 485 drivers/pwm/pwm-samsung.c if (!match) match 488 drivers/pwm/pwm-samsung.c memcpy(&chip->variant, match->data, sizeof(chip->variant)); match 234 drivers/rapidio/rio-driver.c .match = rio_match_bus, match 86 drivers/regulator/88pm800-regulator.c #define PM800_BUCK(match, vreg, ereg, ebit, amax, volt_ranges, n_volt) \ match 90 drivers/regulator/88pm800-regulator.c .of_match = of_match_ptr(#match), \ match 116 drivers/regulator/88pm800-regulator.c #define PM800_LDO(match, vreg, ereg, ebit, amax, ldo_volt_table) \ match 120 drivers/regulator/88pm800-regulator.c .of_match = of_match_ptr(#match), \ match 1553 drivers/regulator/ab8500.c struct of_regulator_match *match; match 1564 drivers/regulator/ab8500.c abx500_regulator.match = ab8505_regulator_match; match 1571 drivers/regulator/ab8500.c abx500_regulator.match = ab8500_regulator_match; match 1619 drivers/regulator/ab8500.c struct of_regulator_match *match; match 1630 drivers/regulator/ab8500.c abx500_regulator.match, match 1638 drivers/regulator/ab8500.c match = abx500_regulator.match; match 1640 drivers/regulator/ab8500.c err = ab8500_regulator_register(pdev, match[i].init_data, i, match 1641 drivers/regulator/ab8500.c match[i].of_node); match 178 drivers/regulator/as3711-regulator.c struct of_regulator_match *match; match 194 drivers/regulator/as3711-regulator.c for (i = 0, match = as3711_regulator_matches; i < count; i++, match++) match 195 drivers/regulator/as3711-regulator.c if (match->of_node) { match 196 drivers/regulator/as3711-regulator.c pdata->init_data[i] = match->init_data; match 197 drivers/regulator/as3711-regulator.c of_node[i] = match->of_node; match 143 drivers/regulator/da9210-regulator.c const struct of_device_id *match; match 146 drivers/regulator/da9210-regulator.c match = of_match_device(of_match_ptr(da9210_dt_ids), match 148 drivers/regulator/da9210-regulator.c if (!match) { match 243 drivers/regulator/devres.c struct regulator_supply_alias_match *match = res; match 246 drivers/regulator/devres.c return match->dev == target->dev && strcmp(match->id, target->id) == 0; match 251 drivers/regulator/devres.c struct regulator_supply_alias_match *match = res; match 253 drivers/regulator/devres.c regulator_unregister_supply_alias(match->dev, match->id); match 273 drivers/regulator/devres.c struct regulator_supply_alias_match *match; match 276 drivers/regulator/devres.c match = devres_alloc(devm_regulator_destroy_supply_alias, match 279 drivers/regulator/devres.c if (!match) match 282 drivers/regulator/devres.c match->dev = dev; match 283 drivers/regulator/devres.c match->id = id; match 287 drivers/regulator/devres.c devres_free(match); match 291 drivers/regulator/devres.c devres_add(dev, match); match 311 drivers/regulator/devres.c struct regulator_supply_alias_match match; match 314 drivers/regulator/devres.c match.dev = dev; match 315 drivers/regulator/devres.c match.id = id; match 318 drivers/regulator/devres.c devm_regulator_match_supply_alias, &match); match 406 drivers/regulator/devres.c struct regulator_notifier_match *match = res; match 409 drivers/regulator/devres.c return match->regulator == target->regulator && match->nb == target->nb; match 414 drivers/regulator/devres.c struct regulator_notifier_match *match = res; match 416 drivers/regulator/devres.c regulator_unregister_notifier(match->regulator, match->nb); match 432 drivers/regulator/devres.c struct regulator_notifier_match *match; match 435 drivers/regulator/devres.c match = devres_alloc(devm_regulator_destroy_notifier, match 438 drivers/regulator/devres.c if (!match) match 441 drivers/regulator/devres.c match->regulator = regulator; match 442 drivers/regulator/devres.c match->nb = nb; match 446 drivers/regulator/devres.c devres_free(match); match 450 drivers/regulator/devres.c devres_add(regulator->dev, match); match 470 drivers/regulator/devres.c struct regulator_notifier_match match; match 473 drivers/regulator/devres.c match.regulator = regulator; match 474 drivers/regulator/devres.c match.nb = nb; match 477 drivers/regulator/devres.c devm_regulator_match_notifier, &match); match 829 drivers/regulator/lp872x.c struct of_regulator_match *match; match 859 drivers/regulator/lp872x.c match = lp8720_matches; match 863 drivers/regulator/lp872x.c match = lp8725_matches; match 870 drivers/regulator/lp872x.c count = of_regulator_match(dev, np, match, num_matches); match 876 drivers/regulator/lp872x.c (enum lp872x_regulator_id)match[i].driver_data; match 877 drivers/regulator/lp872x.c pdata->regulator_data[i].init_data = match[i].init_data; match 217 drivers/regulator/max1586.c const struct of_device_id *match; match 221 drivers/regulator/max1586.c match = of_match_device(of_match_ptr(max1586_of_match), match 223 drivers/regulator/max1586.c if (!match) { match 666 drivers/regulator/max8973-regulator.c const struct of_device_id *match; match 668 drivers/regulator/max8973-regulator.c match = of_match_device(of_match_ptr(of_max8973_match_tbl), match 670 drivers/regulator/max8973-regulator.c if (!match) match 672 drivers/regulator/max8973-regulator.c max->id = (u32)((uintptr_t)match->data); match 39 drivers/regulator/mt6323-regulator.c #define MT6323_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ match 44 drivers/regulator/mt6323-regulator.c .of_match = of_match_ptr(match), \ match 63 drivers/regulator/mt6323-regulator.c #define MT6323_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ match 68 drivers/regulator/mt6323-regulator.c .of_match = of_match_ptr(match), \ match 85 drivers/regulator/mt6323-regulator.c #define MT6323_REG_FIXED(match, vreg, enreg, enbit, volt, \ match 90 drivers/regulator/mt6323-regulator.c .of_match = of_match_ptr(match), \ match 40 drivers/regulator/mt6358-regulator.c #define MT6358_BUCK(match, vreg, min, max, step, \ match 46 drivers/regulator/mt6358-regulator.c .of_match = of_match_ptr(match), \ match 70 drivers/regulator/mt6358-regulator.c #define MT6358_LDO(match, vreg, ldo_volt_table, \ match 76 drivers/regulator/mt6358-regulator.c .of_match = of_match_ptr(match), \ match 95 drivers/regulator/mt6358-regulator.c #define MT6358_LDO1(match, vreg, min, max, step, \ match 101 drivers/regulator/mt6358-regulator.c .of_match = of_match_ptr(match), \ match 121 drivers/regulator/mt6358-regulator.c #define MT6358_REG_FIXED(match, vreg, \ match 126 drivers/regulator/mt6358-regulator.c .of_match = of_match_ptr(match), \ match 91 drivers/regulator/mt6380-regulator.c #define MT6380_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ match 97 drivers/regulator/mt6380-regulator.c .of_match = of_match_ptr(match), \ match 115 drivers/regulator/mt6380-regulator.c #define MT6380_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ match 120 drivers/regulator/mt6380-regulator.c .of_match = of_match_ptr(match), \ match 136 drivers/regulator/mt6380-regulator.c #define MT6380_REG_FIXED(match, vreg, enreg, enbit, volt, \ match 141 drivers/regulator/mt6380-regulator.c .of_match = of_match_ptr(match), \ match 40 drivers/regulator/mt6397-regulator.c #define MT6397_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ match 46 drivers/regulator/mt6397-regulator.c .of_match = of_match_ptr(match), \ match 68 drivers/regulator/mt6397-regulator.c #define MT6397_LDO(match, vreg, ldo_volt_table, enreg, enbit, vosel, \ match 73 drivers/regulator/mt6397-regulator.c .of_match = of_match_ptr(match), \ match 88 drivers/regulator/mt6397-regulator.c #define MT6397_REG_FIXED(match, vreg, enreg, enbit, volt) \ match 92 drivers/regulator/mt6397-regulator.c .of_match = of_match_ptr(match), \ match 350 drivers/regulator/of_regulator.c struct of_regulator_match *match = &matches[i]; match 351 drivers/regulator/of_regulator.c match->init_data = NULL; match 352 drivers/regulator/of_regulator.c match->of_node = NULL; match 361 drivers/regulator/of_regulator.c struct of_regulator_match *match = &matches[i]; match 362 drivers/regulator/of_regulator.c if (match->of_node) match 365 drivers/regulator/of_regulator.c if (strcmp(match->name, name)) match 368 drivers/regulator/of_regulator.c match->init_data = match 370 drivers/regulator/of_regulator.c match->desc); match 371 drivers/regulator/of_regulator.c if (!match->init_data) { match 378 drivers/regulator/of_regulator.c match->of_node = of_node_get(child); match 1490 drivers/regulator/palmas-regulator.c struct of_regulator_match *match; match 1494 drivers/regulator/palmas-regulator.c match = &ddata->palmas_matches[idx]; match 1495 drivers/regulator/palmas-regulator.c np = match->of_node; match 1497 drivers/regulator/palmas-regulator.c if (!match->init_data || !np) match 1504 drivers/regulator/palmas-regulator.c pdata->reg_data[idx] = match->init_data; match 1530 drivers/regulator/palmas-regulator.c match->name, prop); match 1604 drivers/regulator/palmas-regulator.c const struct of_device_id *match; match 1608 drivers/regulator/palmas-regulator.c match = of_match_device(of_match_ptr(of_palmas_match_tbl), &pdev->dev); match 1610 drivers/regulator/palmas-regulator.c if (!match) match 1613 drivers/regulator/palmas-regulator.c driver_data = (struct palmas_pmic_driver_data *)match->data; match 167 drivers/regulator/pbias-regulator.c const struct of_device_id *match; match 186 drivers/regulator/pbias-regulator.c match = of_match_device(of_match_ptr(pbias_of_match), &pdev->dev); match 187 drivers/regulator/pbias-regulator.c if (match && match->data) { match 188 drivers/regulator/pbias-regulator.c data = match->data; match 694 drivers/regulator/pfuze100-regulator.c const struct of_device_id *match; match 704 drivers/regulator/pfuze100-regulator.c match = of_match_device(of_match_ptr(pfuze_dt_ids), match 706 drivers/regulator/pfuze100-regulator.c if (!match) { match 710 drivers/regulator/pfuze100-regulator.c pfuze_chip->chip_id = (int)(long)match->data; match 389 drivers/regulator/pv88080-regulator.c const struct of_device_id *match; match 408 drivers/regulator/pv88080-regulator.c match = of_match_node(pv88080_dt_ids, i2c->dev.of_node); match 409 drivers/regulator/pv88080-regulator.c if (!match) { match 413 drivers/regulator/pv88080-regulator.c chip->type = (unsigned long)match->data; match 941 drivers/regulator/qcom_rpm-regulator.c const struct of_device_id *match; match 953 drivers/regulator/qcom_rpm-regulator.c match = of_match_device(rpm_of_match, &pdev->dev); match 954 drivers/regulator/qcom_rpm-regulator.c if (!match) { match 959 drivers/regulator/qcom_rpm-regulator.c for (reg = match->data; reg->name; reg++) { match 782 drivers/regulator/qcom_smd-regulator.c const struct of_device_id *match; match 794 drivers/regulator/qcom_smd-regulator.c match = of_match_device(rpm_of_match, &pdev->dev); match 795 drivers/regulator/qcom_smd-regulator.c if (!match) { match 800 drivers/regulator/qcom_smd-regulator.c for (reg = match->data; reg->name; reg++) { match 1959 drivers/regulator/qcom_spmi-regulator.c const struct of_device_id *match; match 1982 drivers/regulator/qcom_spmi-regulator.c match = of_match_device(qcom_spmi_regulator_match, &pdev->dev); match 1983 drivers/regulator/qcom_spmi-regulator.c if (!match) match 1994 drivers/regulator/qcom_spmi-regulator.c for (reg = match->data; reg->name; reg++) { match 538 drivers/regulator/stpmic1_regulator.c struct of_regulator_match *match, match 548 drivers/regulator/stpmic1_regulator.c config.init_data = match->init_data; match 549 drivers/regulator/stpmic1_regulator.c config.of_node = match->of_node; match 689 drivers/regulator/ti-abb-regulator.c const struct of_device_id *match; match 700 drivers/regulator/ti-abb-regulator.c match = of_match_device(ti_abb_of_match, dev); match 701 drivers/regulator/ti-abb-regulator.c if (!match) { match 706 drivers/regulator/ti-abb-regulator.c if (!match->data) { match 714 drivers/regulator/ti-abb-regulator.c abb->regs = match->data; match 273 drivers/regulator/tps51632-regulator.c const struct of_device_id *match; match 274 drivers/regulator/tps51632-regulator.c match = of_match_device(of_match_ptr(tps51632_of_match), match 276 drivers/regulator/tps51632-regulator.c if (!match) { match 367 drivers/regulator/tps62360-regulator.c const struct of_device_id *match; match 368 drivers/regulator/tps62360-regulator.c match = of_match_device(of_match_ptr(tps62360_of_match), match 370 drivers/regulator/tps62360-regulator.c if (!match) { match 374 drivers/regulator/tps62360-regulator.c chip_id = (int)(long)match->data; match 341 drivers/remoteproc/st_remoteproc.c const struct of_device_id *match; match 349 drivers/remoteproc/st_remoteproc.c match = of_match_device(st_rproc_match, dev); match 350 drivers/remoteproc/st_remoteproc.c if (!match || !match->data) { match 361 drivers/remoteproc/st_remoteproc.c ddata->config = (struct st_rproc_config *)match->data; match 195 drivers/reset/sti/reset-syscfg.c const struct of_device_id *match; match 200 drivers/reset/sti/reset-syscfg.c match = of_match_device(dev->driver->of_match_table, dev); match 201 drivers/reset/sti/reset-syscfg.c if (!match || !match->data) match 204 drivers/reset/sti/reset-syscfg.c return syscfg_reset_controller_register(dev, match->data); match 509 drivers/rpmsg/rpmsg_core.c .match = rpmsg_dev_match, match 504 drivers/rtc/rtc-armada38x.c const struct of_device_id *match; match 506 drivers/rtc/rtc-armada38x.c match = of_match_device(armada38x_rtc_of_match_table, &pdev->dev); match 507 drivers/rtc/rtc-armada38x.c if (!match) match 556 drivers/rtc/rtc-armada38x.c rtc->data = (struct armada38x_rtc_data *)match->data; match 340 drivers/rtc/rtc-at91rm9200.c const struct of_device_id *match; match 343 drivers/rtc/rtc-at91rm9200.c match = of_match_node(at91_rtc_dt_ids, pdev->dev.of_node); match 344 drivers/rtc/rtc-at91rm9200.c if (!match) match 346 drivers/rtc/rtc-at91rm9200.c return (const struct at91_rtc_config *)match->data; match 379 drivers/rtc/rtc-da9063.c const struct of_device_id *match; match 387 drivers/rtc/rtc-da9063.c match = of_match_node(da9063_compatible_reg_id_table, match 394 drivers/rtc/rtc-da9063.c rtc->config = match->data; match 451 drivers/rtc/rtc-pm8xxx.c const struct of_device_id *match; match 453 drivers/rtc/rtc-pm8xxx.c match = of_match_node(pm8xxx_id_table, pdev->dev.of_node); match 454 drivers/rtc/rtc-pm8xxx.c if (!match) match 477 drivers/rtc/rtc-pm8xxx.c rtc_dd->regs = match->data; match 2557 drivers/s390/block/dasd_3990_erp.c int match = 0; /* 'boolean' for matching error found */ match 2565 drivers/s390/block/dasd_3990_erp.c match = dasd_3990_erp_error_match(erp_head, cqr->refers); match 2569 drivers/s390/block/dasd_3990_erp.c } while ((cqr->refers != NULL) && (!match)); match 2571 drivers/s390/block/dasd_3990_erp.c if (!match) { match 1534 drivers/s390/cio/css.c .match = css_bus_match, match 2032 drivers/s390/cio/device.c .match = ccw_bus_match, match 701 drivers/s390/crypto/ap_bus.c .match = &ap_bus_match, match 101 drivers/s390/crypto/vfio_ap_drv.c .match = &matrix_bus_match, match 6276 drivers/scsi/FlashPoint.c unsigned char i, k, match; match 6280 drivers/scsi/FlashPoint.c match = 1; match 6284 drivers/scsi/FlashPoint.c match = 0; match 6287 drivers/scsi/FlashPoint.c if (match) { match 6301 drivers/scsi/FlashPoint.c match = p_id_string[1] & (unsigned char)0x1F; match 6303 drivers/scsi/FlashPoint.c match = 7; match 6308 drivers/scsi/FlashPoint.c if (FPT_scamInfo[match].state == ID_UNUSED) { match 6310 drivers/scsi/FlashPoint.c FPT_scamInfo[match].id_string[k] = match 6314 drivers/scsi/FlashPoint.c FPT_scamInfo[match].state = ID_ASSIGNED; match 6319 drivers/scsi/FlashPoint.c return match; match 6323 drivers/scsi/FlashPoint.c match--; match 6325 drivers/scsi/FlashPoint.c if (match == 0xFF) { match 6327 drivers/scsi/FlashPoint.c match = 7; match 6329 drivers/scsi/FlashPoint.c match = MAX_SCSI_TAR - 1; match 6344 drivers/scsi/FlashPoint.c match = p_id_string[1] & (unsigned char)0x1F; match 6346 drivers/scsi/FlashPoint.c match = 7; match 6352 drivers/scsi/FlashPoint.c if (FPT_scamInfo[match].state == ID_UNASSIGNED) { match 6354 drivers/scsi/FlashPoint.c FPT_scamInfo[match].id_string[k] = match 6358 drivers/scsi/FlashPoint.c FPT_scamInfo[match].id_string[0] |= BIT(7); match 6359 drivers/scsi/FlashPoint.c FPT_scamInfo[match].state = ID_ASSIGNED; match 6363 drivers/scsi/FlashPoint.c return match; match 6367 drivers/scsi/FlashPoint.c match--; match 6369 drivers/scsi/FlashPoint.c if (match == 0xFF) { match 6371 drivers/scsi/FlashPoint.c match = 7; match 6373 drivers/scsi/FlashPoint.c match = MAX_SCSI_TAR - 1; match 1037 drivers/scsi/aha1542.c .match = aha1542_isa_match, match 7997 drivers/scsi/aic7xxx/aic79xx_core.c int match; match 7999 drivers/scsi/aic7xxx/aic79xx_core.c match = ((chan == channel) || (channel == ALL_CHANNELS)); match 8000 drivers/scsi/aic7xxx/aic79xx_core.c if (match != 0) match 8001 drivers/scsi/aic7xxx/aic79xx_core.c match = ((targ == target) || (target == CAM_TARGET_WILDCARD)); match 8002 drivers/scsi/aic7xxx/aic79xx_core.c if (match != 0) match 8003 drivers/scsi/aic7xxx/aic79xx_core.c match = ((lun == slun) || (lun == CAM_LUN_WILDCARD)); match 8004 drivers/scsi/aic7xxx/aic79xx_core.c if (match != 0) { match 8010 drivers/scsi/aic7xxx/aic79xx_core.c match = (group != XPT_FC_GROUP_TMODE) match 8014 drivers/scsi/aic7xxx/aic79xx_core.c match = (group == XPT_FC_GROUP_TMODE) match 8019 drivers/scsi/aic7xxx/aic79xx_core.c match = ((tag == SCB_GET_TAG(scb)) || (tag == SCB_LIST_NULL)); match 8023 drivers/scsi/aic7xxx/aic79xx_core.c return match; match 5728 drivers/scsi/aic7xxx/aic7xxx_core.c int match; match 5730 drivers/scsi/aic7xxx/aic7xxx_core.c match = ((chan == channel) || (channel == ALL_CHANNELS)); match 5731 drivers/scsi/aic7xxx/aic7xxx_core.c if (match != 0) match 5732 drivers/scsi/aic7xxx/aic7xxx_core.c match = ((targ == target) || (target == CAM_TARGET_WILDCARD)); match 5733 drivers/scsi/aic7xxx/aic7xxx_core.c if (match != 0) match 5734 drivers/scsi/aic7xxx/aic7xxx_core.c match = ((lun == slun) || (lun == CAM_LUN_WILDCARD)); match 5735 drivers/scsi/aic7xxx/aic7xxx_core.c if (match != 0) { match 5741 drivers/scsi/aic7xxx/aic7xxx_core.c match = (group != XPT_FC_GROUP_TMODE) match 5745 drivers/scsi/aic7xxx/aic7xxx_core.c match = (group == XPT_FC_GROUP_TMODE) match 5750 drivers/scsi/aic7xxx/aic7xxx_core.c match = ((tag == scb->hscb->tag) || (tag == SCB_LIST_NULL)); match 5754 drivers/scsi/aic7xxx/aic7xxx_core.c return match; match 1149 drivers/scsi/bfa/bfad.c int match = 0x00000001; match 1152 drivers/scsi/bfa/bfad.c if (mask & match) { match 1159 drivers/scsi/bfa/bfad.c match <<= 1; match 2609 drivers/scsi/bnx2fc/bnx2fc_fcoe.c .match = bnx2fc_match, match 1277 drivers/scsi/csiostor/csio_wr.c int i, delta, match = 0, min_delta = INT_MAX; match 1285 drivers/scsi/csiostor/csio_wr.c match = i; match 1288 drivers/scsi/csiostor/csio_wr.c return match; match 1294 drivers/scsi/csiostor/csio_wr.c int i, delta, match = 0, min_delta = INT_MAX; match 1302 drivers/scsi/csiostor/csio_wr.c match = i; match 1305 drivers/scsi/csiostor/csio_wr.c return match; match 2458 drivers/scsi/fcoe/fcoe.c .match = fcoe_match, match 685 drivers/scsi/fcoe/fcoe_sysfs.c .match = &fcoe_bus_match, match 515 drivers/scsi/fcoe/fcoe_transport.c if (ft->match && ft->match(netdev)) match 191 drivers/scsi/fdomain_isa.c .match = fdomain_isa_match, match 204 drivers/scsi/fdomain_isa.c fdomain_isa_driver.match = fdomain_isa_param_match; match 732 drivers/scsi/g_NCR5380.c .match = generic_NCR5380_isa_match, match 3342 drivers/scsi/hisi_sas/hisi_sas_main.c int match = (hisi_hba->debugfs_bist_linkrate == match 3345 drivers/scsi/hisi_sas/hisi_sas_main.c seq_printf(s, "%s%s%s ", match ? "[" : "", match 3347 drivers/scsi/hisi_sas/hisi_sas_main.c match ? "]" : ""); match 3431 drivers/scsi/hisi_sas/hisi_sas_main.c int match = (hisi_hba->debugfs_bist_code_mode == match 3434 drivers/scsi/hisi_sas/hisi_sas_main.c seq_printf(s, "%s%s%s ", match ? "[" : "", match 3436 drivers/scsi/hisi_sas/hisi_sas_main.c match ? "]" : ""); match 3561 drivers/scsi/hisi_sas/hisi_sas_main.c int match = (hisi_hba->debugfs_bist_mode == match 3564 drivers/scsi/hisi_sas/hisi_sas_main.c seq_printf(s, "%s%s%s ", match ? "[" : "", match 3566 drivers/scsi/hisi_sas/hisi_sas_main.c match ? "]" : ""); match 3099 drivers/scsi/hpsa.c bool match = false; match 3109 drivers/scsi/hpsa.c match = !memcmp(scsi3addr, &c->Header.LUN.LunAddrBytes, match 3117 drivers/scsi/hpsa.c match = true; match 3123 drivers/scsi/hpsa.c for (i = 0; i < dev->nphysical_disks && !match; i++) { match 3128 drivers/scsi/hpsa.c match = dev->phys_disk[i] == c->phys_disk; match 3134 drivers/scsi/hpsa.c for (i = 0; i < dev->nphysical_disks && !match; i++) { match 3135 drivers/scsi/hpsa.c match = dev->phys_disk[i]->ioaccel_handle == match 3141 drivers/scsi/hpsa.c match = false; match 3150 drivers/scsi/hpsa.c return match; match 2086 drivers/scsi/ibmvscsi/ibmvfc.c int (*match) (struct ibmvfc_event *, void *)) match 2099 drivers/scsi/ibmvscsi/ibmvfc.c if (match(evt, device)) { match 2113 drivers/scsi/ibmvscsi/ibmvfc.c if (match(evt, device)) { match 2257 drivers/scsi/ibmvscsi/ibmvfc.c static int ibmvfc_match_evt(struct ibmvfc_event *evt, void *match) match 2259 drivers/scsi/ibmvscsi/ibmvfc.c if (evt == match) match 5107 drivers/scsi/ipr.c int (*match)(struct ipr_cmnd *, void *)) match 5125 drivers/scsi/ipr.c if (match(ipr_cmd, device)) { match 5145 drivers/scsi/ipr.c if (match(ipr_cmd, device)) { match 117 drivers/scsi/libfc/fc_exch.c bool (*match)(struct fc_frame *); match 909 drivers/scsi/libfc/fc_exch.c if (!ema->match || ema->match(fp)) { match 1480 drivers/scsi/libfc/fc_exch.c if ((!ema->match || ema->match(fp)) && match 2374 drivers/scsi/libfc/fc_exch.c bool (*match)(struct fc_frame *)) match 2383 drivers/scsi/libfc/fc_exch.c ema->match = match; match 2427 drivers/scsi/libfc/fc_exch.c if (!fc_exch_mgr_add(dst, ema->mp, ema->match)) match 2449 drivers/scsi/libfc/fc_exch.c bool (*match)(struct fc_frame *)) match 2516 drivers/scsi/libfc/fc_exch.c if (!fc_exch_mgr_add(lport, mp, match)) { match 10579 drivers/scsi/lpfc/lpfc_init.c lpfc_find_cpu_handle(struct lpfc_hba *phba, uint16_t id, int match) match 10592 drivers/scsi/lpfc/lpfc_init.c if ((match == LPFC_FIND_BY_EQ) && match 10599 drivers/scsi/lpfc/lpfc_init.c if ((match == LPFC_FIND_BY_HDWQ) && (cpup->hdwq == id)) match 5367 drivers/scsi/lpfc/lpfc_scsi.c int match; match 5390 drivers/scsi/lpfc/lpfc_scsi.c match = 0; match 5402 drivers/scsi/lpfc/lpfc_scsi.c match = 1; match 5407 drivers/scsi/lpfc/lpfc_scsi.c if (!match) match 410 drivers/scsi/mac53c94.c static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *match) match 1845 drivers/scsi/mesh.c static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match) match 1323 drivers/scsi/qla2xxx/qla_os.c int cnt, match, status; match 1343 drivers/scsi/qla2xxx/qla_os.c match = 0; match 1347 drivers/scsi/qla2xxx/qla_os.c match = 1; match 1350 drivers/scsi/qla2xxx/qla_os.c match = cmd->device->id == t; match 1353 drivers/scsi/qla2xxx/qla_os.c match = (cmd->device->id == t && match 1357 drivers/scsi/qla2xxx/qla_os.c if (!match) match 272 drivers/scsi/raid_class.c i->r.raid_attrs.ac.match = raid_match; match 5906 drivers/scsi/scsi_debug.c .match = pseudo_lld_bus_match, match 527 drivers/scsi/scsi_sysfs.c .match = scsi_bus_match, match 1899 drivers/scsi/scsi_transport_fc.c int stat, match; match 1918 drivers/scsi/scsi_transport_fc.c match = 0; match 1926 drivers/scsi/scsi_transport_fc.c match = 1; match 1932 drivers/scsi/scsi_transport_fc.c if (!match) match 2164 drivers/scsi/scsi_transport_fc.c i->t.target_attrs.ac.match = fc_target_match; match 2170 drivers/scsi/scsi_transport_fc.c i->t.host_attrs.ac.match = fc_host_match; match 2178 drivers/scsi/scsi_transport_fc.c i->rport_attr_cont.ac.match = fc_rport_match; match 2183 drivers/scsi/scsi_transport_fc.c i->vport_attr_cont.ac.match = fc_vport_match; match 2716 drivers/scsi/scsi_transport_fc.c int match = 0; match 2738 drivers/scsi/scsi_transport_fc.c match = 1; match 2742 drivers/scsi/scsi_transport_fc.c match = 1; match 2746 drivers/scsi/scsi_transport_fc.c match = 1; match 2750 drivers/scsi/scsi_transport_fc.c if (match) { match 2842 drivers/scsi/scsi_transport_fc.c match = 1; match 2846 drivers/scsi/scsi_transport_fc.c match = 1; match 2850 drivers/scsi/scsi_transport_fc.c match = 1; match 2856 drivers/scsi/scsi_transport_fc.c if (match) { match 2862 drivers/scsi/scsi_transport_fc.c if (match) { match 1224 drivers/scsi/scsi_transport_iscsi.c .match = &iscsi_flashnode_bus_match, match 4472 drivers/scsi/scsi_transport_iscsi.c priv->t.host_attrs.ac.match = iscsi_host_match; match 4479 drivers/scsi/scsi_transport_iscsi.c priv->conn_cont.ac.match = iscsi_conn_match; match 4485 drivers/scsi/scsi_transport_iscsi.c priv->session_cont.ac.match = iscsi_session_match; match 1755 drivers/scsi/scsi_transport_sas.c i->t.host_attrs.ac.match = sas_host_match; match 1761 drivers/scsi/scsi_transport_sas.c i->phy_attr_cont.ac.match = sas_phy_match; match 1766 drivers/scsi/scsi_transport_sas.c i->port_attr_cont.ac.match = sas_port_match; match 1771 drivers/scsi/scsi_transport_sas.c i->rphy_attr_cont.ac.match = sas_rphy_match; match 1776 drivers/scsi/scsi_transport_sas.c i->end_dev_attr_cont.ac.match = sas_end_dev_match; match 1781 drivers/scsi/scsi_transport_sas.c i->expander_attr_cont.ac.match = sas_expander_match; match 1568 drivers/scsi/scsi_transport_spi.c i->t.target_attrs.ac.match = spi_target_match; match 1573 drivers/scsi/scsi_transport_spi.c i->t.host_attrs.ac.match = spi_host_match; match 819 drivers/scsi/scsi_transport_srp.c i->t.host_attrs.ac.match = srp_host_match; match 825 drivers/scsi/scsi_transport_srp.c i->rport_attr_cont.ac.match = srp_rport_match; match 785 drivers/sh/maple/maple.c .match = maple_match_bus_driver, match 210 drivers/sh/superhyway/superhyway.c .match = superhyway_bus_match, match 517 drivers/siox/siox-core.c .match = siox_match, match 107 drivers/slimbus/core.c .match = slim_device_match, match 1330 drivers/slimbus/qcom-ngd-ctrl.c const struct of_device_id *match; match 1334 drivers/slimbus/qcom-ngd-ctrl.c match = of_match_node(qcom_slim_ngd_dt_match, parent->of_node); match 1335 drivers/slimbus/qcom-ngd-ctrl.c data = match->data; match 99 drivers/soc/actions/owl-sps.c const struct of_device_id *match; match 109 drivers/soc/actions/owl-sps.c match = of_match_device(pdev->dev.driver->of_match_table, &pdev->dev); match 110 drivers/soc/actions/owl-sps.c if (!match || !match->data) { match 115 drivers/soc/actions/owl-sps.c sps_info = match->data; match 394 drivers/soc/amlogic/meson-ee-pwrc.c const struct meson_ee_pwrc_domain_data *match; match 399 drivers/soc/amlogic/meson-ee-pwrc.c match = of_device_get_match_data(&pdev->dev); match 400 drivers/soc/amlogic/meson-ee-pwrc.c if (!match) { match 409 drivers/soc/amlogic/meson-ee-pwrc.c pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count, match 415 drivers/soc/amlogic/meson-ee-pwrc.c pwrc->domains = devm_kcalloc(&pdev->dev, match->count, match 420 drivers/soc/amlogic/meson-ee-pwrc.c pwrc->xlate.num_domains = match->count; match 440 drivers/soc/amlogic/meson-ee-pwrc.c for (i = 0 ; i < match->count ; ++i) { match 443 drivers/soc/amlogic/meson-ee-pwrc.c memcpy(&dom->desc, &match->domains[i], sizeof(dom->desc)); match 26 drivers/soc/bcm/brcmstb/common.c const struct of_device_id *match; match 33 drivers/soc/bcm/brcmstb/common.c match = of_match_node(brcmstb_machine_match, root); match 36 drivers/soc/bcm/brcmstb/common.c return match != NULL; match 653 drivers/soc/bcm/brcmstb/pm/pm-arm.c const struct of_device_id *match; match 655 drivers/soc/bcm/brcmstb/pm/pm-arm.c dn = of_find_matching_node_and_match(NULL, matches, &match); match 660 drivers/soc/bcm/brcmstb/pm/pm-arm.c *ofdata = match->data; match 368 drivers/soc/bcm/brcmstb/pm/pm-mips.c const struct of_device_id *match; match 370 drivers/soc/bcm/brcmstb/pm/pm-mips.c dn = of_find_matching_node_and_match(NULL, matches, &match); match 375 drivers/soc/bcm/brcmstb/pm/pm-mips.c *ofdata = match->data; match 609 drivers/soc/fsl/dpio/dpio-service.c int match; match 612 drivers/soc/fsl/dpio/dpio-service.c match = qbman_result_has_new_result(s->swp, ret); match 613 drivers/soc/fsl/dpio/dpio-service.c if (!match) { match 279 drivers/soc/fsl/qe/qe_ic.c .match = qe_ic_host_match, match 250 drivers/soc/qcom/apr.c .match = apr_device_match, match 129 drivers/soc/qcom/qcom_gsbi.c const struct of_device_id *match; match 153 drivers/soc/qcom/qcom_gsbi.c match = of_match_node(tcsr_dt_match, tcsr_node); match 154 drivers/soc/qcom/qcom_gsbi.c if (match) match 155 drivers/soc/qcom/qcom_gsbi.c config = match->data; match 74 drivers/soc/renesas/rcar-rst.c const struct of_device_id *match; match 80 drivers/soc/renesas/rcar-rst.c np = of_find_matching_node_and_match(NULL, rcar_rst_matches, &match); match 92 drivers/soc/renesas/rcar-rst.c cfg = match->data; match 332 drivers/soc/renesas/rcar-sysc.c const struct of_device_id *match; match 339 drivers/soc/renesas/rcar-sysc.c np = of_find_matching_node_and_match(NULL, rcar_sysc_matches, &match); match 343 drivers/soc/renesas/rcar-sysc.c info = match->data; match 285 drivers/soc/renesas/renesas-soc.c const struct of_device_id *match; match 292 drivers/soc/renesas/renesas-soc.c match = of_match_node(renesas_socs, of_root); match 293 drivers/soc/renesas/renesas-soc.c if (!match) match 296 drivers/soc/renesas/renesas-soc.c soc = match->data; match 359 drivers/soc/renesas/renesas-soc.c soc_dev_attr->soc_id = kstrdup_const(strchr(match->compatible, ',') + 1, match 140 drivers/soc/rockchip/grf.c const struct of_device_id *match; match 146 drivers/soc/rockchip/grf.c &match); match 149 drivers/soc/rockchip/grf.c if (!match || !match->data) { match 154 drivers/soc/rockchip/grf.c grf_info = match->data; match 626 drivers/soc/rockchip/pm_domains.c const struct of_device_id *match; match 635 drivers/soc/rockchip/pm_domains.c match = of_match_device(dev->driver->of_match_table, dev); match 636 drivers/soc/rockchip/pm_domains.c if (!match || !match->data) { match 641 drivers/soc/rockchip/pm_domains.c pmu_info = match->data; match 107 drivers/soc/samsung/pm_domains.c const struct of_device_id *match; match 109 drivers/soc/samsung/pm_domains.c for_each_matching_node_and_match(np, exynos_pm_domain_of_match, &match) { match 114 drivers/soc/samsung/pm_domains.c pm_domain_cfg = match->data; match 114 drivers/soc/sunxi/sunxi_sram.c const struct of_device_id *match; match 129 drivers/soc/sunxi/sunxi_sram.c match = of_match_node(sunxi_sram_dt_ids, section_node); match 130 drivers/soc/sunxi/sunxi_sram.c if (!match) match 132 drivers/soc/sunxi/sunxi_sram.c sram_data = match->data; match 168 drivers/soc/sunxi/sunxi_sram.c const struct of_device_id *match; match 187 drivers/soc/sunxi/sunxi_sram.c match = of_match_node(sunxi_sram_dt_ids, args.np); match 188 drivers/soc/sunxi/sunxi_sram.c if (!match) { match 193 drivers/soc/sunxi/sunxi_sram.c data = match->data; match 214 drivers/soc/sunxi/sunxi_sram.c return match->data; match 22 drivers/soc/tegra/common.c const struct of_device_id *match; match 29 drivers/soc/tegra/common.c match = of_match_node(tegra_machine_match, root); match 32 drivers/soc/tegra/common.c return match != NULL; match 242 drivers/soc/tegra/fuse/fuse-tegra.c const struct of_device_id *match; match 248 drivers/soc/tegra/fuse/fuse-tegra.c np = of_find_matching_node_and_match(NULL, tegra_fuse_match, &match); match 311 drivers/soc/tegra/fuse/fuse-tegra.c fuse->soc = match->data; match 2848 drivers/soc/tegra/pmc.c const struct of_device_id *match; match 2856 drivers/soc/tegra/pmc.c np = of_find_matching_node_and_match(NULL, tegra_pmc_match, &match); match 2903 drivers/soc/tegra/pmc.c pmc->soc = match->data; match 1763 drivers/soc/ti/knav_qmss_queue.c const struct of_device_id *match; match 1779 drivers/soc/ti/knav_qmss_queue.c match = of_match_device(of_match_ptr(keystone_qmss_of_match), dev); match 1780 drivers/soc/ti/knav_qmss_queue.c if (match && match->data) match 65 drivers/soundwire/bus_type.c .match = sdw_bus_match, match 498 drivers/spi/spi-bcm63xx.c const struct of_device_id *match; match 500 drivers/spi/spi-bcm63xx.c match = of_match_node(bcm63xx_spi_of_match, dev->of_node); match 501 drivers/spi/spi-bcm63xx.c if (!match) match 503 drivers/spi/spi-bcm63xx.c bcm63xx_spireg = match->data; match 514 drivers/spi/spi-bcm63xx.c const struct platform_device_id *match = pdev->id_entry; match 516 drivers/spi/spi-bcm63xx.c bcm63xx_spireg = (const unsigned long *)match->driver_data; match 823 drivers/spi/spi-davinci.c const struct of_device_id *match; match 827 drivers/spi/spi-davinci.c match = of_match_device(davinci_spi_of_match, &pdev->dev); match 828 drivers/spi/spi-davinci.c if (!match) match 831 drivers/spi/spi-davinci.c spi_data = (struct davinci_spi_of_data *)match->data; match 79 drivers/spi/spi-fsl-spi.c const struct of_device_id *match; match 82 drivers/spi/spi-fsl-spi.c match = of_match_node(of_fsl_spi_match, dev->of_node); match 83 drivers/spi/spi-fsl-spi.c if (match && match->data) match 84 drivers/spi/spi-fsl-spi.c return ((struct fsl_spi_match_data *)match->data)->type; match 803 drivers/spi/spi-lantiq-ssc.c const struct of_device_id *match; match 808 drivers/spi/spi-lantiq-ssc.c match = of_match_device(lantiq_ssc_match, dev); match 809 drivers/spi/spi-lantiq-ssc.c if (!match) { match 813 drivers/spi/spi-lantiq-ssc.c hwcfg = match->data; match 326 drivers/spi/spi-mt7621.c const struct of_device_id *match; match 334 drivers/spi/spi-mt7621.c match = of_match_device(mt7621_spi_match, &pdev->dev); match 335 drivers/spi/spi-mt7621.c if (!match) match 674 drivers/spi/spi-npcm-fiu.c const struct of_device_id *match; match 689 drivers/spi/spi-npcm-fiu.c match = of_match_device(npcm_fiu_dt_ids, dev); match 690 drivers/spi/spi-npcm-fiu.c if (!match || !match->data) { match 695 drivers/spi/spi-npcm-fiu.c fiu_data_match = match->data; match 1400 drivers/spi/spi-omap2-mcspi.c const struct of_device_id *match; match 1429 drivers/spi/spi-omap2-mcspi.c match = of_match_device(omap_mcspi_of_match, &pdev->dev); match 1430 drivers/spi/spi-omap2-mcspi.c if (match) { match 1432 drivers/spi/spi-omap2-mcspi.c pdata = match->data; match 1009 drivers/spi/spi-s3c64xx.c const struct of_device_id *match; match 1010 drivers/spi/spi-s3c64xx.c match = of_match_node(s3c64xx_spi_dt_match, pdev->dev.of_node); match 1011 drivers/spi/spi-s3c64xx.c return (struct s3c64xx_spi_port_config *)match->data; match 1076 drivers/spi/spi-sirf.c const struct of_device_id *match; match 1089 drivers/spi/spi-sirf.c match = of_match_node(spi_sirfsoc_of_match, pdev->dev.of_node); match 1093 drivers/spi/spi-sirf.c spi_comp_data = match->data; match 423 drivers/spi/spi-tegra20-sflash.c const struct of_device_id *match; match 425 drivers/spi/spi-tegra20-sflash.c match = of_match_device(tegra_sflash_of_match, &pdev->dev); match 426 drivers/spi/spi-tegra20-sflash.c if (!match) { match 1013 drivers/spi/spi-tegra20-slink.c const struct of_device_id *match; match 1015 drivers/spi/spi-tegra20-slink.c match = of_match_device(tegra_slink_of_match, &pdev->dev); match 1016 drivers/spi/spi-tegra20-slink.c if (!match) { match 1020 drivers/spi/spi-tegra20-slink.c cdata = match->data; match 380 drivers/spi/spi.c .match = spi_match_device, match 373 drivers/spmi/spmi.c .match = spmi_device_match, match 388 drivers/ssb/main.c .match = ssb_bus_match, match 1203 drivers/staging/fieldbus/anybuss/host.c .match = anybus_bus_match, match 189 drivers/staging/greybus/gbphy.c .match = gbphy_dev_match, match 630 drivers/staging/media/hantro/hantro_drv.c const struct of_device_id *match; match 635 drivers/staging/media/hantro/hantro_drv.c match = of_match_node(of_hantro_match, vpu->dev->of_node); match 652 drivers/staging/media/hantro/hantro_drv.c snprintf(vfd->name, sizeof(vfd->name), "%s-%s", match->compatible, match 735 drivers/staging/media/hantro/hantro_drv.c const struct of_device_id *match; match 750 drivers/staging/media/hantro/hantro_drv.c match = of_match_node(of_hantro_match, pdev->dev.of_node); match 751 drivers/staging/media/hantro/hantro_drv.c vpu->variant = match->data; match 1870 drivers/staging/media/imx/imx-media-csi.c return fwnode_device_is_available(asd->match.fwnode) ? 0 : -ENOTCONN; match 553 drivers/staging/media/imx/imx6-mipi-csi2.c if (!fwnode_device_is_available(asd->match.fwnode)) { match 1187 drivers/staging/media/imx/imx7-media-csi.c return fwnode_device_is_available(asd->match.fwnode) ? 0 : -EINVAL; match 329 drivers/staging/media/meson/vdec/vdec_helpers.c struct amvdec_timestamp *match = NULL; match 345 drivers/staging/media/meson/vdec/vdec_helpers.c match = tmp; match 362 drivers/staging/media/meson/vdec/vdec_helpers.c if (!match) { match 366 drivers/staging/media/meson/vdec/vdec_helpers.c timestamp = match->ts; match 367 drivers/staging/media/meson/vdec/vdec_helpers.c list_del(&match->list); match 368 drivers/staging/media/meson/vdec/vdec_helpers.c kfree(match); match 373 drivers/staging/media/meson/vdec/vdec_helpers.c if (match) match 1454 drivers/staging/media/soc_camera/soc_camera.c sasd->asd.match.i2c.adapter_id, match 1455 drivers/staging/media/soc_camera/soc_camera.c sasd->asd.match.i2c.address); match 1524 drivers/staging/media/soc_camera/soc_camera.c info->sasd.asd.match.fwnode = of_fwnode_handle(remote); match 1565 drivers/staging/most/core.c mc.bus.match = most_match, match 649 drivers/staging/mt7621-dma/mtk-hsdma.c const struct of_device_id *match; match 662 drivers/staging/mt7621-dma/mtk-hsdma.c match = of_match_device(mtk_hsdma_of_match, &pdev->dev); match 663 drivers/staging/mt7621-dma/mtk-hsdma.c if (!match) match 794 drivers/staging/ralink-gdma/ralink-gdma.c const struct of_device_id *match; match 809 drivers/staging/ralink-gdma/ralink-gdma.c match = of_match_device(gdma_of_match_table, &pdev->dev); match 810 drivers/staging/ralink-gdma/ralink-gdma.c if (!match) match 812 drivers/staging/ralink-gdma/ralink-gdma.c data = (struct gdma_data *)match->data; match 546 drivers/staging/rtl8188eu/core/rtw_ieee80211.c u8 match = false; match 550 drivers/staging/rtl8188eu/core/rtw_ieee80211.c return match; match 556 drivers/staging/rtl8188eu/core/rtw_ieee80211.c match = true; match 558 drivers/staging/rtl8188eu/core/rtw_ieee80211.c return match; match 480 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c u8 match = false; match 494 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c match = true; match 502 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c res = (match) ? false : true; match 504 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c res = (match) ? true : false; match 396 drivers/staging/rtl8712/ieee80211.c int match; match 401 drivers/staging/rtl8712/ieee80211.c match = false; match 409 drivers/staging/rtl8712/ieee80211.c match = true; match 414 drivers/staging/rtl8712/ieee80211.c return match; match 1315 drivers/staging/rtl8712/rtl871x_mlme.c u8 authmode = 0, match; match 1357 drivers/staging/rtl8712/rtl871x_mlme.c match = false; match 1364 drivers/staging/rtl8712/rtl871x_mlme.c match = true; match 1370 drivers/staging/rtl8712/rtl871x_mlme.c match = true; match 1382 drivers/staging/rtl8712/rtl871x_mlme.c if (match) { match 1390 drivers/staging/rtl8712/rtl871x_mlme.c match = false; match 1395 drivers/staging/rtl8712/rtl871x_mlme.c match = false; match 1426 drivers/staging/rtl8712/rtl871x_mlme.c match = false; match 1433 drivers/staging/rtl8712/rtl871x_mlme.c match = false; match 1462 drivers/staging/rtl8712/rtl871x_mlme.c match = false; match 1490 drivers/staging/rtl8712/rtl871x_mlme.c match = false; match 1497 drivers/staging/rtl8712/rtl871x_mlme.c match = false; match 1524 drivers/staging/rtl8712/rtl871x_mlme.c if (match) { match 712 drivers/staging/rtl8723bs/core/rtw_ieee80211.c u8 match = false; match 716 drivers/staging/rtl8723bs/core/rtw_ieee80211.c return match; match 723 drivers/staging/rtl8723bs/core/rtw_ieee80211.c match = true; match 725 drivers/staging/rtl8723bs/core/rtw_ieee80211.c return match; match 595 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c bool match = false; match 609 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c match = true; match 617 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c res = !match; match 620 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c res = match; match 84 drivers/staging/uwb/include/umc.h int (*match)(struct umc_driver *, struct umc_dev *); match 125 drivers/staging/uwb/umc-bus.c if (umc_driver->match) match 126 drivers/staging/uwb/umc-bus.c return umc_driver->match(umc_driver, umc); match 190 drivers/staging/uwb/umc-bus.c .match = umc_bus_match, match 726 drivers/staging/vme/devices/vme_user.c .match = vme_user_match, match 308 drivers/target/iscsi/iscsi_target.c bool match; match 319 drivers/target/iscsi/iscsi_target.c match = iscsit_check_np_match(sockaddr, np, network_transport); match 320 drivers/target/iscsi/iscsi_target.c if (match) { match 431 drivers/target/iscsi/iscsi_target_tpg.c bool match = false; match 440 drivers/target/iscsi/iscsi_target_tpg.c match = iscsit_check_np_match(sockaddr, np, match 442 drivers/target/iscsi/iscsi_target_tpg.c if (match) match 449 drivers/target/iscsi/iscsi_target_tpg.c return match; match 82 drivers/target/loopback/tcm_loop.c .match = pseudo_lld_bus_match, match 101 drivers/tc/tc-driver.c .match = tc_bus_match, match 939 drivers/tee/tee_core.c int (*match)(struct tee_ioctl_version_data *, const void *); match 948 drivers/tee/tee_core.c return match_data->match(match_data->vers, match_data->data); match 953 drivers/tee/tee_core.c int (*match)(struct tee_ioctl_version_data *, match 961 drivers/tee/tee_core.c struct match_dev_data match_data = { vers ? vers : &v, data, match }; match 1072 drivers/tee/tee_core.c .match = tee_client_device_match, match 821 drivers/thermal/armada_thermal.c const struct of_device_id *match; match 826 drivers/thermal/armada_thermal.c match = of_match_device(armada_thermal_id_table, &pdev->dev); match 827 drivers/thermal/armada_thermal.c if (!match) match 839 drivers/thermal/armada_thermal.c priv->data = (struct armada_thermal_data *)match->data; match 166 drivers/thermal/broadcom/bcm2835_thermal.c const struct of_device_id *match; match 178 drivers/thermal/broadcom/bcm2835_thermal.c match = of_match_device(bcm2835_thermal_of_match_table, match 180 drivers/thermal/broadcom/bcm2835_thermal.c if (!match) match 205 drivers/thermal/da9062-thermal.c const struct of_device_id *match; match 208 drivers/thermal/da9062-thermal.c match = of_match_node(da9062_compatible_reg_id_table, match 210 drivers/thermal/da9062-thermal.c if (!match) match 234 drivers/thermal/da9062-thermal.c thermal->config = match->data; match 1221 drivers/thermal/rockchip_thermal.c const struct of_device_id *match; match 1227 drivers/thermal/rockchip_thermal.c match = of_match_node(of_rockchip_thermal_match, np); match 1228 drivers/thermal/rockchip_thermal.c if (!match) match 1244 drivers/thermal/rockchip_thermal.c thermal->chip = (const struct rockchip_tsadc_chip *)match->data; match 185 drivers/thermal/st/st_thermal.c const struct of_device_id *match; match 201 drivers/thermal/st/st_thermal.c match = of_match_device(st_thermal_of_match, dev); match 202 drivers/thermal/st/st_thermal.c if (!(match && match->data)) match 205 drivers/thermal/st/st_thermal.c sensor->cdata = match->data; match 2106 drivers/thermal/tegra/soctherm.c const struct of_device_id *match; match 2115 drivers/thermal/tegra/soctherm.c match = of_match_node(tegra_soctherm_of_match, pdev->dev.of_node); match 2116 drivers/thermal/tegra/soctherm.c if (!match) match 2119 drivers/thermal/tegra/soctherm.c soc = (struct tegra_soctherm_soc *)match->data; match 918 drivers/thermal/thermal_core.c if (tzp->tbp[i].cdev || !tzp->tbp[i].match) match 920 drivers/thermal/thermal_core.c if (tzp->tbp[i].match(pos, cdev)) match 1196 drivers/thermal/thermal_core.c if (tzp->tbp[i].cdev || !tzp->tbp[i].match) match 1198 drivers/thermal/thermal_core.c if (tzp->tbp[i].match(tz, pos)) match 155 drivers/thunderbolt/ctl.c if (req->match(req, pkg)) { match 791 drivers/thunderbolt/ctl.c req->match = tb_cfg_match; match 840 drivers/thunderbolt/ctl.c req->match = tb_cfg_match; match 905 drivers/thunderbolt/ctl.c req->match = tb_cfg_match; match 87 drivers/thunderbolt/ctl.h bool (*match)(const struct tb_cfg_request *req, match 109 drivers/thunderbolt/dma_port.c req->match = dma_port_match; match 152 drivers/thunderbolt/dma_port.c req->match = dma_port_match; match 304 drivers/thunderbolt/domain.c .match = tb_service_match, match 280 drivers/thunderbolt/icm.c req->match = icm_match; match 103 drivers/thunderbolt/xdomain.c req->match = tb_xdomain_match; match 143 drivers/thunderbolt/xdomain.c req->match = tb_xdomain_match; match 436 drivers/tty/serdev/core.c .match = serdev_device_match, match 632 drivers/tty/serial/8250/8250_core.c char match[] = "uart"; /* 8250-specific earlycon name */ match 637 drivers/tty/serial/8250/8250_core.c if (strncmp(name, match, 4) != 0) match 669 drivers/tty/serial/8250/8250_core.c .match = univ8250_console_match, match 214 drivers/tty/serial/8250/8250_ingenic.c const struct of_device_id *match; match 217 drivers/tty/serial/8250/8250_ingenic.c match = of_match_device(of_match, &pdev->dev); match 218 drivers/tty/serial/8250/8250_ingenic.c if (!match) { match 222 drivers/tty/serial/8250/8250_ingenic.c cdata = match->data; match 2406 drivers/tty/serial/amba-pl011.c .match = pl011_console_match, match 127 drivers/tty/serial/earlycon.c static int __init register_earlycon(char *buf, const struct earlycon_id *match) match 141 drivers/tty/serial/earlycon.c earlycon_init(&early_console_dev, match->name); match 142 drivers/tty/serial/earlycon.c err = match->setup(&early_console_dev, buf); match 182 drivers/tty/serial/earlycon.c const struct earlycon_id *match = *p_match; match 183 drivers/tty/serial/earlycon.c size_t len = strlen(match->name); match 185 drivers/tty/serial/earlycon.c if (strncmp(buf, match->name, len)) match 195 drivers/tty/serial/earlycon.c return register_earlycon(buf, match); match 231 drivers/tty/serial/earlycon.c int __init of_setup_earlycon(const struct earlycon_id *match, match 245 drivers/tty/serial/earlycon.c pr_warn("[%s] bad address\n", match->name); match 274 drivers/tty/serial/earlycon.c pr_warn("[%s] unsupported reg-io-width\n", match->name); match 292 drivers/tty/serial/earlycon.c earlycon_init(&early_console_dev, match->name); match 293 drivers/tty/serial/earlycon.c err = match->setup(&early_console_dev, options); match 1864 drivers/tty/serial/mpc52xx_uart.c const struct of_device_id *match; match 1872 drivers/tty/serial/mpc52xx_uart.c match = of_match_node(mpc52xx_uart_of_match, np); match 1873 drivers/tty/serial/mpc52xx_uart.c psc_ops = match->data; match 802 drivers/tty/serial/mvebu-uart.c const struct of_device_id *match = of_match_device(mvebu_uart_of_match, match 813 drivers/tty/serial/mvebu-uart.c if (!match) match 862 drivers/tty/serial/mvebu-uart.c mvuart->data = (struct mvebu_uart_driver_data *)match->data; match 640 drivers/tty/serial/owl-uart.c const struct of_device_id *match; match 648 drivers/tty/serial/owl-uart.c match = of_match_node(owl_uart_dt_matches, pdev->dev.of_node); match 649 drivers/tty/serial/owl-uart.c if (match) match 650 drivers/tty/serial/owl-uart.c info = match->data; match 1544 drivers/tty/serial/pmac_zilog.c static int pmz_attach(struct macio_dev *mdev, const struct of_device_id *match) match 1862 drivers/tty/serial/samsung.c const struct of_device_id *match; match 1863 drivers/tty/serial/samsung.c match = of_match_node(s3c24xx_uart_dt_match, pdev->dev.of_node); match 1864 drivers/tty/serial/samsung.c return (struct s3c24xx_serial_drv_data *)match->data; match 1554 drivers/tty/serial/serial-tegra.c const struct of_device_id *match; match 1556 drivers/tty/serial/serial-tegra.c match = of_match_device(tegra_uart_of_match, &pdev->dev); match 1557 drivers/tty/serial/serial-tegra.c if (!match) { match 1561 drivers/tty/serial/serial-tegra.c cdata = match->data; match 1663 drivers/tty/serial/serial-tegra.c const struct of_device_id *match = NULL; match 1668 drivers/tty/serial/serial-tegra.c match = of_match_node(tegra_uart_of_match, node); match 1669 drivers/tty/serial/serial-tegra.c if (match) match 1670 drivers/tty/serial/serial-tegra.c cdata = match->data; match 2142 drivers/tty/serial/serial_core.c struct uart_match *match = data; match 2143 drivers/tty/serial/serial_core.c struct tty_driver *tty_drv = match->driver->tty_driver; match 2145 drivers/tty/serial/serial_core.c match->port->line; match 2155 drivers/tty/serial/serial_core.c struct uart_match match = {uport, drv}; match 2159 drivers/tty/serial/serial_core.c tty_dev = device_find_child(uport->dev, &match, serial_match_port); match 2217 drivers/tty/serial/serial_core.c struct uart_match match = {uport, drv}; match 2222 drivers/tty/serial/serial_core.c tty_dev = device_find_child(uport->dev, &match, serial_match_port); match 1277 drivers/tty/serial/sirfsoc_uart.c const struct of_device_id *match; match 1279 drivers/tty/serial/sirfsoc_uart.c match = of_match_node(sirfsoc_uart_ids, np); match 1297 drivers/tty/serial/sirfsoc_uart.c sirfport->uart_reg = (struct sirfsoc_uart_register *)match->data; match 1135 drivers/tty/serial/stm32-usart.c const struct of_device_id *match; match 1143 drivers/tty/serial/stm32-usart.c match = of_match_device(stm32_match, &pdev->dev); match 1144 drivers/tty/serial/stm32-usart.c if (match && match->data) match 1145 drivers/tty/serial/stm32-usart.c stm32port->info = (struct stm32_usart_info *)match->data; match 1402 drivers/tty/serial/sunsu.c struct device_node *match; match 1405 drivers/tty/serial/sunsu.c match = of_find_node_by_path(keyb); match 1412 drivers/tty/serial/sunsu.c of_node_put(match); match 1414 drivers/tty/serial/sunsu.c if (dp == match) { match 1420 drivers/tty/serial/sunsu.c match = of_find_node_by_path(ms); match 1422 drivers/tty/serial/sunsu.c of_node_put(match); match 1424 drivers/tty/serial/sunsu.c if (dp == match) { match 632 drivers/tty/serial/vt8500_serial.c const struct of_device_id *match; match 637 drivers/tty/serial/vt8500_serial.c match = of_match_device(wmt_dt_ids, &pdev->dev); match 638 drivers/tty/serial/vt8500_serial.c if (!match) match 641 drivers/tty/serial/vt8500_serial.c flags = match->data; match 1419 drivers/tty/serial/xilinx_uartps.c const struct of_device_id *match; match 1460 drivers/tty/serial/xilinx_uartps.c match = of_match_node(cdns_uart_of_match, pdev->dev.of_node); match 1461 drivers/tty/serial/xilinx_uartps.c if (match && match->data) { match 1462 drivers/tty/serial/xilinx_uartps.c const struct cdns_platform_data *data = match->data; match 1605 drivers/tty/vt/keyboard.c .match = kbd_match, match 48 drivers/usb/chipidea/ci_hdrc_usb2.c const struct of_device_id *match; match 57 drivers/usb/chipidea/ci_hdrc_usb2.c match = of_match_device(ci_hdrc_usb2_of_match, &pdev->dev); match 58 drivers/usb/chipidea/ci_hdrc_usb2.c if (match && match->data) { match 60 drivers/usb/chipidea/ci_hdrc_usb2.c *ci_pdata = *(struct ci_hdrc_platform_data *)match->data; match 93 drivers/usb/common/ulpi.c .match = ulpi_match, match 1924 drivers/usb/core/driver.c .match = usb_device_match, match 269 drivers/usb/core/usb-acpi.c .match = usb_acpi_bus_match, match 848 drivers/usb/dwc2/params.c const struct of_device_id *match; match 854 drivers/usb/dwc2/params.c match = of_match_device(dwc2_of_match_table, hsotg->dev); match 855 drivers/usb/dwc2/params.c if (match && match->data) { match 856 drivers/usb/dwc2/params.c set_params = match->data; match 1785 drivers/usb/gadget/udc/at91_udc.c const struct of_device_id *match; match 1801 drivers/usb/gadget/udc/at91_udc.c match = of_match_node(at91_udc_dt_ids, np); match 1802 drivers/usb/gadget/udc/at91_udc.c if (match) match 1803 drivers/usb/gadget/udc/at91_udc.c udc->caps = match->data; match 2059 drivers/usb/gadget/udc/atmel_usba_udc.c const struct of_device_id *match; match 2064 drivers/usb/gadget/udc/atmel_usba_udc.c match = of_match_node(atmel_udc_dt_ids, np); match 2065 drivers/usb/gadget/udc/atmel_usba_udc.c if (!match) match 2068 drivers/usb/gadget/udc/atmel_usba_udc.c udc->errata = match->data; match 2464 drivers/usb/gadget/udc/fsl_qe_udc.c const struct of_device_id *match; match 2471 drivers/usb/gadget/udc/fsl_qe_udc.c match = of_match_device(qe_udc_match, &ofdev->dev); match 2472 drivers/usb/gadget/udc/fsl_qe_udc.c if (!match) match 2486 drivers/usb/gadget/udc/fsl_qe_udc.c udc->soc_type = (unsigned long)match->data; match 385 drivers/usb/host/ehci-tegra.c const struct of_device_id *match; match 395 drivers/usb/host/ehci-tegra.c match = of_match_device(tegra_ehci_of_match, &pdev->dev); match 396 drivers/usb/host/ehci-tegra.c if (!match) { match 400 drivers/usb/host/ehci-tegra.c soc_config = match->data; match 177 drivers/usb/host/fsl-mph-dr-of.c const struct of_device_id *match; match 185 drivers/usb/host/fsl-mph-dr-of.c match = of_match_device(fsl_usb2_mph_dr_of_match, &ofdev->dev); match 186 drivers/usb/host/fsl-mph-dr-of.c if (!match) match 190 drivers/usb/host/fsl-mph-dr-of.c if (match->data) match 191 drivers/usb/host/fsl-mph-dr-of.c memcpy(pdata, match->data, sizeof(data)); match 864 drivers/usb/musb/musb_dsps.c const struct of_device_id *match; match 872 drivers/usb/musb/musb_dsps.c match = of_match_node(musb_dsps_of_match, pdev->dev.of_node); match 873 drivers/usb/musb/musb_dsps.c if (!match) { match 877 drivers/usb/musb/musb_dsps.c wrp = match->data; match 137 drivers/usb/phy/phy-am335x-control.c dev = bus_find_device(&platform_bus_type, NULL, node, match); match 156 drivers/usb/phy/phy-isp1301.c node, match); match 1056 drivers/usb/phy/phy-tegra-usb.c const struct of_device_id *match; match 1067 drivers/usb/phy/phy-tegra-usb.c match = of_match_device(tegra_usb_phy_id_table, &pdev->dev); match 1068 drivers/usb/phy/phy-tegra-usb.c if (!match) { match 1072 drivers/usb/phy/phy-tegra-usb.c tegra_phy->soc_config = match->data; match 166 drivers/usb/serial/bus.c .match = usb_serial_device_match, match 402 drivers/usb/typec/bus.c .match = typec_match, match 189 drivers/usb/typec/mux.c bool match; match 205 drivers/usb/typec/mux.c match = !con->id; match 206 drivers/usb/typec/mux.c if (match) match 211 drivers/usb/typec/mux.c match = fwnode_property_present(con->fwnode, "accessory"); match 212 drivers/usb/typec/mux.c if (match) match 233 drivers/usb/typec/mux.c match = val[i] == desc->svid; match 234 drivers/usb/typec/mux.c if (match) { match 1393 drivers/vhost/scsi.c bool match = false; match 1452 drivers/vhost/scsi.c match = true; match 1457 drivers/vhost/scsi.c if (match) { match 1494 drivers/vhost/scsi.c bool match = false; match 1537 drivers/vhost/scsi.c match = true; match 1546 drivers/vhost/scsi.c if (match) { match 585 drivers/video/backlight/hx8357.c const struct of_device_id *match; match 600 drivers/video/backlight/hx8357.c match = of_match_device(hx8357_dt_ids, &spi->dev); match 601 drivers/video/backlight/hx8357.c if (!match || !match->data) match 658 drivers/video/backlight/hx8357.c ret = ((int (*)(struct lcd_device *))match->data)(lcdev); match 246 drivers/video/fbdev/omap2/omapfb/dss/display.c int (*match)(struct omap_dss_device *dssdev, void *data)) match 251 drivers/video/fbdev/omap2/omapfb/dss/display.c if (match(dssdev, data)) match 5369 drivers/video/fbdev/omap2/omapfb/dss/dsi.c const struct of_device_id *match; match 5372 drivers/video/fbdev/omap2/omapfb/dss/dsi.c match = of_match_node(dsi_of_match, dsidev->dev.of_node); match 5373 drivers/video/fbdev/omap2/omapfb/dss/dsi.c if (!match) { match 5378 drivers/video/fbdev/omap2/omapfb/dss/dsi.c d = match->data; match 1201 drivers/video/fbdev/omap2/omapfb/dss/dss.c struct component_match **match = data; match 1212 drivers/video/fbdev/omap2/omapfb/dss/dss.c component_match_add(dev->parent, match, dss_component_compare, dev); match 1219 drivers/video/fbdev/omap2/omapfb/dss/dss.c struct component_match *match = NULL; match 1223 drivers/video/fbdev/omap2/omapfb/dss/dss.c device_for_each_child(&pdev->dev, &match, dss_add_child_component); match 1225 drivers/video/fbdev/omap2/omapfb/dss/dss.c r = component_master_add_with_match(&pdev->dev, &dss_component_ops, match); match 318 drivers/video/fbdev/uvesafb.c int i, match = -1, h = 0, d = 0x7fffffff; match 334 drivers/video/fbdev/uvesafb.c match = i; match 340 drivers/video/fbdev/uvesafb.c par->vbe_modes[match].depth != depth) match 347 drivers/video/fbdev/uvesafb.c return match; match 1368 drivers/video/fbdev/uvesafb.c int match = -1; match 1379 drivers/video/fbdev/uvesafb.c match = uvesafb_vbe_find_mode(par, var->xres, var->yres, depth, match 1381 drivers/video/fbdev/uvesafb.c if (match == -1) match 1384 drivers/video/fbdev/uvesafb.c mode = &par->vbe_modes[match]; match 1397 drivers/video/fbdev/uvesafb.c !(par->vbe_modes[match].mode_attr & 0x100)) match 1401 drivers/video/fbdev/uvesafb.c !(par->vbe_modes[match].mode_attr & 0x200)) match 287 drivers/virtio/virtio.c .match = virtio_dev_match, match 164 drivers/visorbus/visorbus_main.c .match = visorbus_match, match 300 drivers/visorbus/visorbus_main.c i = xbus->match(dev, xdrv); match 768 drivers/vlynq/vlynq.c .match = vlynq_device_match, match 1982 drivers/vme/vme.c if (vme_drv->match && vme_drv->match(vdev)) match 2016 drivers/vme/vme.c .match = vme_bus_match, match 175 drivers/w1/w1.c .match = w1_master_match, match 395 drivers/w1/w1_io.c u8 match[9] = {W1_MATCH_ROM, }; match 398 drivers/w1/w1_io.c memcpy(&match[1], &rn, 8); match 399 drivers/w1/w1_io.c w1_write_block(sl->master, match, 9); match 45 drivers/watchdog/atlas7_wdt.c u32 counter, match, delta; match 48 drivers/watchdog/atlas7_wdt.c match = readl(wdt->base + ATLAS7_WDT_CNT_MATCH); match 49 drivers/watchdog/atlas7_wdt.c delta = match - counter; match 57 drivers/watchdog/atlas7_wdt.c u32 counter, match, delta; match 61 drivers/watchdog/atlas7_wdt.c match = counter + delta; match 63 drivers/watchdog/atlas7_wdt.c writel(match, wdt->base + ATLAS7_WDT_CNT_MATCH); match 554 drivers/watchdog/orion_wdt.c const struct of_device_id *match; match 563 drivers/watchdog/orion_wdt.c match = of_match_device(orion_wdt_of_match_table, &pdev->dev); match 564 drivers/watchdog/orion_wdt.c if (!match) match 566 drivers/watchdog/orion_wdt.c match = &orion_wdt_of_match_table[0]; match 571 drivers/watchdog/orion_wdt.c dev->data = match->data; match 986 drivers/watchdog/pcwd.c .match = pcwd_isa_match, match 48 drivers/watchdog/sirfsoc_wdt.c u32 counter, match; match 54 drivers/watchdog/sirfsoc_wdt.c match = readl(wdt_base + match 57 drivers/watchdog/sirfsoc_wdt.c time_left = match - counter; match 153 drivers/watchdog/st_lpc_wdt.c const struct of_device_id *match; match 176 drivers/watchdog/st_lpc_wdt.c match = of_match_device(st_wdog_match, dev); match 177 drivers/watchdog/st_lpc_wdt.c if (!match) { match 181 drivers/watchdog/st_lpc_wdt.c st_wdog->syscfg = (struct st_wdog_syscfg *)match->data; match 560 drivers/xen/xen-pciback/pci_stub.c int err = 0, match; match 565 drivers/xen/xen-pciback/pci_stub.c match = pcistub_match(dev); match 569 drivers/xen/xen-pciback/pci_stub.c match) { match 580 drivers/xen/xen-pciback/pci_stub.c if (!match) { match 197 drivers/xen/xenbus/xenbus_probe_backend.c .match = xenbus_match, match 145 drivers/xen/xenbus/xenbus_probe_frontend.c .match = xenbus_match, match 169 drivers/zorro/zorro-driver.c .match = zorro_bus_match, match 2688 fs/btrfs/check-integrity.c int match = 0; match 2704 fs/btrfs/check-integrity.c match++; match 2711 fs/btrfs/check-integrity.c if (WARN_ON(!match)) { match 908 fs/btrfs/tree-log.c int match = 0; match 927 fs/btrfs/tree-log.c match = 1; match 930 fs/btrfs/tree-log.c return match; match 956 fs/btrfs/tree-log.c int match = 0; match 973 fs/btrfs/tree-log.c match = 1; match 988 fs/btrfs/tree-log.c match = 1; match 996 fs/btrfs/tree-log.c return match; match 1433 fs/inode.c int (*match)(struct inode *, unsigned long, match 1445 fs/inode.c mval = match(inode, hashval, data); match 55 fs/isofs/namei.c int de_len, match, i, dlen; match 129 fs/isofs/namei.c match = 0; match 136 fs/isofs/namei.c match = (isofs_cmp(dentry, dpnt, dlen) == 0); match 138 fs/isofs/namei.c if (match) { match 313 fs/lockd/svclock.c nlm_host_match_fn_t match) match 320 fs/lockd/svclock.c if (!match(block->b_host, host)) match 94 fs/lockd/svcshare.c nlm_host_match_fn_t match) match 100 fs/lockd/svcshare.c if (match(share->s_host, host)) { match 164 fs/lockd/svcsubs.c nlm_host_match_fn_t match) match 184 fs/lockd/svcsubs.c if (match(lockhost, host)) { match 214 fs/lockd/svcsubs.c nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) match 216 fs/lockd/svcsubs.c nlmsvc_traverse_blocks(host, file, match); match 217 fs/lockd/svcsubs.c nlmsvc_traverse_shares(host, file, match); match 218 fs/lockd/svcsubs.c return nlm_traverse_locks(host, file, match); match 253 fs/lockd/svcsubs.c nlm_traverse_files(void *data, nlm_host_match_fn_t match, match 270 fs/lockd/svcsubs.c if (nlm_inspect_file(data, file, match)) match 376 fs/nfs/dns_resolve.c .match = nfs_dns_match, match 228 fs/nfs/flexfilelayout/flexfilelayoutdev.c int match; match 232 fs/nfs/flexfilelayout/flexfilelayoutdev.c match = ff_ds_error_match(err, dserr); match 233 fs/nfs/flexfilelayout/flexfilelayoutdev.c if (match < 0) match 235 fs/nfs/flexfilelayout/flexfilelayoutdev.c if (match > 0) { match 396 fs/nfs/pnfs_nfs.c bool match = false; match 400 fs/nfs/pnfs_nfs.c match = false; match 403 fs/nfs/pnfs_nfs.c match = same_sockaddr(sa1, sa2); match 404 fs/nfs/pnfs_nfs.c if (match) match 407 fs/nfs/pnfs_nfs.c if (!match) match 410 fs/nfs/pnfs_nfs.c return match; match 1074 fs/nfs/super.c rpc_authflavor_t match) match 1082 fs/nfs/super.c if (auth_info->flavors[i] == match) match 255 fs/nfsd/export.c .match = expkey_match, match 773 fs/nfsd/export.c .match = svc_export_match, match 191 fs/nfsd/nfs4idmap.c .match = idtoname_match, match 354 fs/nfsd/nfs4idmap.c .match = nametoid_match, match 91 fs/xfs/xfs_extent_busy.c int match = 0; match 104 fs/xfs/xfs_extent_busy.c match = -1; match 109 fs/xfs/xfs_extent_busy.c match = -1; match 113 fs/xfs/xfs_extent_busy.c match = (busyp->length == len) ? 1 : -1; match 119 fs/xfs/xfs_extent_busy.c return match; match 1470 fs/xfs/xfs_icache.c int match; match 1489 fs/xfs/xfs_icache.c match = xfs_inode_match_id_union(ip, eofb); match 1491 fs/xfs/xfs_icache.c match = xfs_inode_match_id(ip, eofb); match 1492 fs/xfs/xfs_icache.c if (!match) match 1759 fs/xfs/xfs_icache.c int match; match 1767 fs/xfs/xfs_icache.c match = xfs_inode_match_id_union(ip, eofb); match 1769 fs/xfs/xfs_icache.c match = xfs_inode_match_id(ip, eofb); match 1770 fs/xfs/xfs_icache.c if (!match) match 124 include/acpi/acpi_bus.h bool (*match)(const char *idstr, const struct acpi_device_id **matchid); match 563 include/acpi/acpi_bus.h bool (*match)(struct device *dev); match 22 include/linux/attribute_container.h int (*match)(struct attribute_container *, struct device *); match 152 include/linux/console.h int (*match)(struct console *, char *name, int idx, char *options); match 123 include/linux/device.h int (*match)(struct device *dev, struct device_driver *drv); match 178 include/linux/device.h int (*match)(struct device *dev, const void *data)); match 432 include/linux/device.h int (*match)(struct device *dev, const void *data)); match 638 include/linux/device.h int (*match)(struct device *, const void *)); match 887 include/linux/device.h dr_match_t match, void *match_data, match 893 include/linux/device.h dr_match_t match, void *match_data); match 895 include/linux/device.h dr_match_t match, void *match_data); match 897 include/linux/device.h dr_match_t match, void *match_data); match 899 include/linux/device.h dr_match_t match, void *match_data); match 901 include/linux/device.h dr_match_t match, void *match_data); match 1022 include/linux/device.h devcon_match_fn_t match); match 1024 include/linux/device.h void *data, devcon_match_fn_t match); match 1507 include/linux/device.h int (*match)(struct device *dev, void *data)); match 36 include/linux/fpga/fpga-region.h int (*match)(struct device *, const void *)); match 3049 include/linux/fs.h int (*match)(struct inode *, match 505 include/linux/gpio/driver.h int (*match)(struct gpio_chip *chip, void *data)); match 743 include/linux/hid.h bool (*match)(struct hid_device *dev, bool ignore_special_driver); match 320 include/linux/iio/common/st_sensors.h const struct of_device_id *match, match 324 include/linux/iio/common/st_sensors.h const struct of_device_id *match, match 310 include/linux/input.h bool (*match)(struct input_handler *handler, struct input_dev *dev); match 104 include/linux/irqdomain.h int (*match)(struct irq_domain *d, struct device_node *node, match 14 include/linux/isa.h int (*match)(struct device *, unsigned int); match 282 include/linux/lockd/lockd.h nlm_host_match_fn_t match); match 511 include/linux/memcontrol.h bool match = false; match 516 include/linux/memcontrol.h match = mem_cgroup_is_descendant(task_memcg, memcg); match 518 include/linux/memcontrol.h return match; match 50 include/linux/mlx5/fs_helpers.h const u32 *match_v, u8 match) match 58 include/linux/mlx5/fs_helpers.h MLX5_GET(fte_match_set_lyr_2_4, headers_v, ip_protocol) == match; match 611 include/linux/netfilter/ipset/ip_set.h ip_set_match_counter(u64 counter, u64 match, u8 op) match 617 include/linux/netfilter/ipset/ip_set.h return counter == match; match 619 include/linux/netfilter/ipset/ip_set.h return counter != match; match 621 include/linux/netfilter/ipset/ip_set.h return counter < match; match 623 include/linux/netfilter/ipset/ip_set.h return counter > match; match 32 include/linux/netfilter/x_tables.h const struct xt_match *match; match 96 include/linux/netfilter/x_tables.h const struct xt_match *match; match 109 include/linux/netfilter/x_tables.h const struct xt_match *match; match 153 include/linux/netfilter/x_tables.h bool (*match)(const struct sk_buff *skb, match 277 include/linux/netfilter/x_tables.h int xt_register_matches(struct xt_match *match, unsigned int n); match 278 include/linux/netfilter/x_tables.h void xt_unregister_matches(struct xt_match *match, unsigned int n); match 463 include/linux/netfilter/x_tables.h compat_uptr_t match; match 517 include/linux/netfilter/x_tables.h int xt_compat_match_offset(const struct xt_match *match); match 23 include/linux/netfilter_bridge/ebtables.h bool (*match)(const struct sk_buff *skb, const struct net_device *in, match 24 include/linux/netfilter_bridge/ebtables.h const struct net_device *out, const struct xt_match *match, match 28 include/linux/netfilter_bridge/ebtables.h const struct xt_match *match, void *matchinfo, match 30 include/linux/netfilter_bridge/ebtables.h void (*destroy)(const struct xt_match *match, void *matchinfo); match 276 include/linux/of.h const struct of_device_id **match); match 605 include/linux/of.h const struct of_device_id **match) match 1029 include/linux/of.h const char *match = of_node_get_device_type(np); match 1031 include/linux/of.h return np && match && type && !strcmp(match, type); match 1240 include/linux/of.h #define for_each_matching_node_and_match(dn, matches, match) \ match 1241 include/linux/of.h for (dn = of_find_matching_node_and_match(NULL, matches, match); \ match 1242 include/linux/of.h dn; dn = of_find_matching_node_and_match(dn, matches, match)) match 36 include/linux/platform_data/dmtimer-omap.h unsigned int match); match 79 include/linux/platform_data/pwm_omap_dmtimer.h unsigned int match); match 382 include/linux/serial_core.h extern int of_setup_earlycon(const struct earlycon_id *match, match 91 include/linux/sunrpc/cache.h int (*match)(struct cache_head *orig, struct cache_head *new); match 114 include/linux/sunrpc/rpc_pipe_fs.h int (*match)(struct rpc_pipe_dir_object *, void *), match 471 include/linux/tee_drv.h int (*match)(struct tee_ioctl_version_data *, match 275 include/linux/thermal.h int (*match) (struct thermal_zone_device *tz, match 49 include/linux/transport_class.h .match = mtch, \ match 123 include/linux/vme.h int (*match)(struct vme_dev *); match 89 include/media/v4l2-async.h bool (*match)(struct device *dev, match 93 include/media/v4l2-async.h } match; match 5266 include/net/cfg80211.h const u8 *match, unsigned int match_len, match 5295 include/net/cfg80211.h const u8 *match, unsigned int match_len, match 5306 include/net/cfg80211.h match, match_len, match 7382 include/net/cfg80211.h struct cfg80211_nan_match_params *match, gfp_t gfp); match 174 include/net/devlink.h struct devlink_dpipe_match *match; match 827 include/net/devlink.h struct devlink_dpipe_match *match); match 73 include/net/fib_rules.h int (*match)(struct fib_rule *, match 244 include/net/flow_offload.h struct flow_match match; match 253 include/net/flow_offload.h return dissector_uses_key(rule->match.dissector, key); match 6417 include/net/mac80211.h struct cfg80211_nan_match_params *match, match 58 include/net/netfilter/nf_tables_offload.h struct nft_flow_match match; match 407 include/net/pkt_cls.h int (*match)(struct sk_buff *, struct tcf_ematch *, match 988 include/scsi/libfc.h bool (*match)(struct fc_frame *)); match 993 include/scsi/libfc.h bool (*match)(struct fc_frame *)); match 306 include/scsi/libfcoe.h bool (*match) (struct net_device *device); match 221 include/sound/hdaudio.h int (*match)(struct hdac_device *dev, struct hdac_driver *drv); match 24 include/uapi/linux/netfilter/x_tables.h struct xt_match *match; match 22 include/uapi/linux/netfilter/xt_owner.h __u8 match, invert; match 63 include/uapi/linux/netfilter/xt_policy.h struct xt_policy_spec match; match 128 include/uapi/linux/netfilter_bridge/ebtables.h struct xt_match *match; match 2372 include/uapi/linux/videodev2.h struct v4l2_dbg_match match; match 2383 include/uapi/linux/videodev2.h struct v4l2_dbg_match match; match 760 include/video/omapfb_dss.h int (*match)(struct omap_dss_device *dssdev, void *data)); match 229 kernel/debug/kdb/kdb_main.c char *kdbgetenv(const char *match) match 232 kernel/debug/kdb/kdb_main.c int matchlen = strlen(match); match 241 kernel/debug/kdb/kdb_main.c if ((strncmp(match, e, matchlen) == 0) match 291 kernel/debug/kdb/kdb_main.c static int kdbgetulenv(const char *match, unsigned long *value) match 295 kernel/debug/kdb/kdb_main.c ep = kdbgetenv(match); match 316 kernel/debug/kdb/kdb_main.c int kdbgetintenv(const char *match, int *value) match 321 kernel/debug/kdb/kdb_main.c diag = kdbgetulenv(match, &val); match 293 kernel/dma/debug.c match_fn match) match 299 kernel/dma/debug.c if (!match(ref, entry)) match 38 kernel/dma/mapping.c struct dma_devres *this = res, *match = match_data; match 40 kernel/dma/mapping.c if (this->vaddr == match->vaddr) { match 41 kernel/dma/mapping.c WARN_ON(this->size != match->size || match 42 kernel/dma/mapping.c this->dma_handle != match->dma_handle); match 1622 kernel/events/core.c struct perf_event *node_event = NULL, *match = NULL; match 1633 kernel/events/core.c match = node_event; match 1638 kernel/events/core.c return match; match 644 kernel/events/uprobes.c int match; match 648 kernel/events/uprobes.c match = match_uprobe(&u, uprobe); match 649 kernel/events/uprobes.c if (!match) match 652 kernel/events/uprobes.c if (match < 0) match 680 kernel/events/uprobes.c int match; match 685 kernel/events/uprobes.c match = match_uprobe(uprobe, u); match 686 kernel/events/uprobes.c if (!match) match 689 kernel/events/uprobes.c if (match < 0) match 27 kernel/irq/devres.c struct irq_devres *this = res, *match = data; match 29 kernel/irq/devres.c return this->irq == match->irq && this->dev_id == match->dev_id; match 404 kernel/irq/irqdomain.c else if (h->ops->match) match 405 kernel/irq/irqdomain.c rc = h->ops->match(h, to_of_node(fwnode), bus_token); match 1462 kernel/locking/lockdep.c int (*match)(struct lock_list *entry, void *data), match 1472 kernel/locking/lockdep.c if (match(source_entry, data)) { match 1500 kernel/locking/lockdep.c if (match(entry, data)) { match 1522 kernel/locking/lockdep.c int (*match)(struct lock_list *entry, void *data), match 1525 kernel/locking/lockdep.c return __bfs(src_entry, data, match, target_entry, match 1532 kernel/locking/lockdep.c int (*match)(struct lock_list *entry, void *data), match 1535 kernel/locking/lockdep.c return __bfs(src_entry, data, match, target_entry, match 2737 kernel/printk/printk.c if (!newcon->match || match 2738 kernel/printk/printk.c newcon->match(newcon, c->name, c->index, c->options) != 0) { match 1439 kernel/resource.c struct region_devres *this = res, *match = match_data; match 1441 kernel/resource.c return this->parent == match->parent && match 1442 kernel/resource.c this->start == match->start && this->n == match->n; match 4739 kernel/sched/core.c bool match; match 4743 kernel/sched/core.c match = (uid_eq(cred->euid, pcred->euid) || match 4746 kernel/sched/core.c return match; match 255 kernel/seccomp.c struct seccomp_filter **match) match 276 kernel/seccomp.c *match = f; match 736 kernel/seccomp.c struct seccomp_filter *match, match 743 kernel/seccomp.c mutex_lock(&match->notify_lock); match 745 kernel/seccomp.c if (!match->notif) match 751 kernel/seccomp.c n.id = seccomp_next_notify_id(match); match 753 kernel/seccomp.c list_add(&n.list, &match->notif->notifications); match 755 kernel/seccomp.c up(&match->notif->request); match 756 kernel/seccomp.c wake_up_poll(&match->notif->wqh, EPOLLIN | EPOLLRDNORM); match 757 kernel/seccomp.c mutex_unlock(&match->notify_lock); match 763 kernel/seccomp.c mutex_lock(&match->notify_lock); match 779 kernel/seccomp.c if (match->notif) match 782 kernel/seccomp.c mutex_unlock(&match->notify_lock); match 791 kernel/seccomp.c struct seccomp_filter *match = NULL; match 806 kernel/seccomp.c filter_ret = seccomp_run_filters(sd, &match); match 870 kernel/seccomp.c seccomp_do_user_notification(this_syscall, match, sd); match 909 kernel/seccomp.c seccomp_log(this_syscall, 0, action, match ? match->log : false); match 1678 kernel/trace/ftrace.c int match = 0; match 1689 kernel/trace/ftrace.c match = 1; match 1705 kernel/trace/ftrace.c match = 1; match 1708 kernel/trace/ftrace.c match = 1; match 1710 kernel/trace/ftrace.c if (!match) match 1534 kernel/trace/trace.h regex_match_func match; match 24 kernel/trace/trace_dynevent.c !ops->free || !ops->match) match 65 kernel/trace/trace_dynevent.c if (!pos->ops->match(system, event, match 46 kernel/trace/trace_dynevent.h bool (*match)(const char *system, const char *event, match 732 kernel/trace/trace_events.c __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, match 752 kernel/trace/trace_events.c if (match && match 753 kernel/trace/trace_events.c strcmp(match, name) != 0 && match 754 kernel/trace/trace_events.c strcmp(match, call->class->system) != 0) match 779 kernel/trace/trace_events.c static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, match 785 kernel/trace/trace_events.c ret = __ftrace_set_clr_event_nolock(tr, match, sub, event, set); match 793 kernel/trace/trace_events.c char *event = NULL, *sub = NULL, *match; match 808 kernel/trace/trace_events.c match = strsep(&buf, ":"); match 810 kernel/trace/trace_events.c sub = match; match 812 kernel/trace/trace_events.c match = NULL; match 820 kernel/trace/trace_events.c ret = __ftrace_set_clr_event(tr, match, sub, event, set); match 636 kernel/trace/trace_events_filter.c int match; \ match 638 kernel/trace/trace_events_filter.c match = (val == *addr) ^ pred->not; \ match 640 kernel/trace/trace_events_filter.c return match; \ match 661 kernel/trace/trace_events_filter.c int cmp, match; match 663 kernel/trace/trace_events_filter.c cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); match 665 kernel/trace/trace_events_filter.c match = cmp ^ pred->not; match 667 kernel/trace/trace_events_filter.c return match; match 674 kernel/trace/trace_events_filter.c int cmp, match; match 677 kernel/trace/trace_events_filter.c cmp = pred->regex.match(*addr, &pred->regex, len); match 679 kernel/trace/trace_events_filter.c match = cmp ^ pred->not; match 681 kernel/trace/trace_events_filter.c return match; match 700 kernel/trace/trace_events_filter.c int cmp, match; match 702 kernel/trace/trace_events_filter.c cmp = pred->regex.match(addr, &pred->regex, str_len); match 704 kernel/trace/trace_events_filter.c match = cmp ^ pred->not; match 706 kernel/trace/trace_events_filter.c return match; match 740 kernel/trace/trace_events_filter.c cmp = pred->regex.match(current->comm, &pred->regex, match 878 kernel/trace/trace_events_filter.c r->match = regex_match_full; match 881 kernel/trace/trace_events_filter.c r->match = regex_match_front; match 884 kernel/trace/trace_events_filter.c r->match = regex_match_middle; match 887 kernel/trace/trace_events_filter.c r->match = regex_match_end; match 890 kernel/trace/trace_events_filter.c r->match = regex_match_glob; match 912 kernel/trace/trace_events_filter.c int match = pred->fn(pred, rec); match 913 kernel/trace/trace_events_filter.c if (match == prog[i].when_to_branch) match 2109 kernel/trace/trace_events_filter.c .match = m, \ match 2118 kernel/trace/trace_events_filter.c int match; match 2259 kernel/trace/trace_events_filter.c if (err != d->match) { match 2262 kernel/trace/trace_events_filter.c d->filter, d->match); match 390 kernel/trace/trace_events_hist.c .match = synth_event_match, match 6078 kernel/trace/trace_events_hist.c bool match = false; match 6088 kernel/trace/trace_events_hist.c match = true; match 6094 kernel/trace/trace_events_hist.c return match; match 50 kernel/trace/trace_kprobe.c .match = trace_kprobe_match, match 49 kernel/trace/trace_uprobe.c .match = trace_uprobe_match, match 504 kernel/trace/tracing_map.c bool match = true; match 507 kernel/trace/tracing_map.c match = false; match 509 kernel/trace/tracing_map.c return match; match 383 lib/842/842_compress.c int i, match, b = 0; match 391 lib/842/842_compress.c match = check_index(p, 2, b >> 1); match 393 lib/842/842_compress.c match = check_index(p, 4, b >> 2); match 395 lib/842/842_compress.c match = check_index(p, 8, 0); match 398 lib/842/842_compress.c if (!match) match 71 lib/glob.c bool match = false, inverted = (*pat == '!'); match 95 lib/glob.c match |= (a <= c && c <= b); match 98 lib/glob.c if (match == inverted) match 21 lib/globtest.c bool match = glob_match(pat, str); match 22 lib/globtest.c bool success = match == expected; match 39 lib/globtest.c printk(message, pat, str, mismatch + 3*match); match 246 lib/lz4/lz4_compress.c const BYTE *match; match 265 lib/lz4/lz4_compress.c match = LZ4_getPositionOnHash(h, match 270 lib/lz4/lz4_compress.c if (match < (const BYTE *)source) { match 284 lib/lz4/lz4_compress.c ? (match < lowRefLimit) match 288 lib/lz4/lz4_compress.c : (match + MAX_DISTANCE < ip)) match 289 lib/lz4/lz4_compress.c || (LZ4_read32(match + refDelta) match 294 lib/lz4/lz4_compress.c while (((ip > anchor) & (match + refDelta > lowLimit)) match 295 lib/lz4/lz4_compress.c && (unlikely(ip[-1] == match[refDelta - 1]))) { match 297 lib/lz4/lz4_compress.c match--; match 331 lib/lz4/lz4_compress.c LZ4_writeLE16(op, (U16)(ip - match)); match 342 lib/lz4/lz4_compress.c match += refDelta; match 343 lib/lz4/lz4_compress.c limit = ip + (dictEnd - match); match 349 lib/lz4/lz4_compress.c match + MINMATCH, limit); match 363 lib/lz4/lz4_compress.c match + MINMATCH, matchlimit); match 401 lib/lz4/lz4_compress.c match = LZ4_getPosition(ip, dictPtr->hashTable, match 405 lib/lz4/lz4_compress.c if (match < (const BYTE *)source) { match 416 lib/lz4/lz4_compress.c if (((dictIssue == dictSmall) ? (match >= lowRefLimit) : 1) match 417 lib/lz4/lz4_compress.c && (match + MAX_DISTANCE >= ip) match 418 lib/lz4/lz4_compress.c && (LZ4_read32(match + refDelta) == LZ4_read32(ip))) { match 569 lib/lz4/lz4_compress.c const BYTE *match; match 588 lib/lz4/lz4_compress.c match = LZ4_getPositionOnHash(h, ctx->hashTable, match 598 lib/lz4/lz4_compress.c : (match + MAX_DISTANCE < ip)) match 599 lib/lz4/lz4_compress.c || (LZ4_read32(match) != LZ4_read32(ip))); match 604 lib/lz4/lz4_compress.c && (match > lowLimit) match 605 lib/lz4/lz4_compress.c && (unlikely(ip[-1] == match[-1]))) { match 607 lib/lz4/lz4_compress.c match--; match 637 lib/lz4/lz4_compress.c LZ4_writeLE16(op, (U16)(ip - match)); op += 2; match 642 lib/lz4/lz4_compress.c match + MINMATCH, matchlimit); match 674 lib/lz4/lz4_compress.c match = LZ4_getPosition(ip, ctx->hashTable, tableType, base); match 677 lib/lz4/lz4_compress.c if ((match + MAX_DISTANCE >= ip) match 678 lib/lz4/lz4_compress.c && (LZ4_read32(match) == LZ4_read32(ip))) { match 123 lib/lz4/lz4_decompress.c const BYTE *match; match 164 lib/lz4/lz4_decompress.c match = op - offset; match 165 lib/lz4/lz4_decompress.c assert(match <= op); /* check overflow */ match 170 lib/lz4/lz4_decompress.c (dict == withPrefix64k || match >= lowPrefix)) { match 172 lib/lz4/lz4_decompress.c memcpy(op + 0, match + 0, 8); match 173 lib/lz4/lz4_decompress.c memcpy(op + 8, match + 8, 8); match 174 lib/lz4/lz4_decompress.c memcpy(op + 16, match + 16, 2); match 280 lib/lz4/lz4_decompress.c match = op - offset; match 286 lib/lz4/lz4_decompress.c if ((checkOffset) && (unlikely(match + dictSize < lowPrefix))) { match 326 lib/lz4/lz4_decompress.c if ((dict == usingExtDict) && (match < lowPrefix)) { match 334 lib/lz4/lz4_decompress.c if (length <= (size_t)(lowPrefix - match)) { match 339 lib/lz4/lz4_decompress.c memmove(op, dictEnd - (lowPrefix - match), match 347 lib/lz4/lz4_decompress.c size_t const copySize = (size_t)(lowPrefix - match); match 378 lib/lz4/lz4_decompress.c const BYTE * const matchEnd = match + mlen; match 384 lib/lz4/lz4_decompress.c *op++ = *match++; match 386 lib/lz4/lz4_decompress.c memcpy(op, match, mlen); match 395 lib/lz4/lz4_decompress.c op[0] = match[0]; match 396 lib/lz4/lz4_decompress.c op[1] = match[1]; match 397 lib/lz4/lz4_decompress.c op[2] = match[2]; match 398 lib/lz4/lz4_decompress.c op[3] = match[3]; match 399 lib/lz4/lz4_decompress.c match += inc32table[offset]; match 400 lib/lz4/lz4_decompress.c memcpy(op + 4, match, 4); match 401 lib/lz4/lz4_decompress.c match -= dec64table[offset]; match 403 lib/lz4/lz4_decompress.c LZ4_copy8(op, match); match 404 lib/lz4/lz4_decompress.c match += 8; match 421 lib/lz4/lz4_decompress.c LZ4_wildCopy(op, match, oCopyLimit); match 422 lib/lz4/lz4_decompress.c match += oCopyLimit - op; match 426 lib/lz4/lz4_decompress.c *op++ = *match++; match 428 lib/lz4/lz4_decompress.c LZ4_copy8(op, match); match 430 lib/lz4/lz4_decompress.c LZ4_wildCopy(op + 8, match + 8, cpy); match 126 lib/lz4/lz4hc_compress.c const BYTE * const match = base + matchIndex; match 128 lib/lz4/lz4hc_compress.c if (*(match + ml) == *(ip + ml) match 129 lib/lz4/lz4hc_compress.c && (LZ4_read32(match) == LZ4_read32(ip))) { match 131 lib/lz4/lz4hc_compress.c match + MINMATCH, iLimit) + MINMATCH; match 135 lib/lz4/lz4hc_compress.c *matchpos = match; match 139 lib/lz4/lz4hc_compress.c const BYTE * const match = dictBase + matchIndex; match 141 lib/lz4/lz4hc_compress.c if (LZ4_read32(match) == LZ4_read32(ip)) { match 149 lib/lz4/lz4hc_compress.c match + MINMATCH, vLimit) + MINMATCH; match 267 lib/lz4/lz4hc_compress.c const BYTE * const match, match 300 lib/lz4/lz4hc_compress.c LZ4_writeLE16(*op, (U16)(*ip - match)); match 80 lib/zlib_deflate/deflate.c static void check_match (deflate_state *s, IPos start, IPos match, match 561 lib/zlib_deflate/deflate.c register Byte *match; /* matched string */ match 604 lib/zlib_deflate/deflate.c match = s->window + cur_match; match 613 lib/zlib_deflate/deflate.c if (*(ush*)(match+best_len-1) != scan_end || match 614 lib/zlib_deflate/deflate.c *(ush*)match != scan_start) continue; match 625 lib/zlib_deflate/deflate.c Assert(scan[2] == match[2], "scan[2]?"); match 626 lib/zlib_deflate/deflate.c scan++, match++; match 628 lib/zlib_deflate/deflate.c } while (*(ush*)(scan+=2) == *(ush*)(match+=2) && match 629 lib/zlib_deflate/deflate.c *(ush*)(scan+=2) == *(ush*)(match+=2) && match 630 lib/zlib_deflate/deflate.c *(ush*)(scan+=2) == *(ush*)(match+=2) && match 631 lib/zlib_deflate/deflate.c *(ush*)(scan+=2) == *(ush*)(match+=2) && match 637 lib/zlib_deflate/deflate.c if (*scan == *match) scan++; match 644 lib/zlib_deflate/deflate.c if (match[best_len] != scan_end || match 645 lib/zlib_deflate/deflate.c match[best_len-1] != scan_end1 || match 646 lib/zlib_deflate/deflate.c *match != *scan || match 647 lib/zlib_deflate/deflate.c *++match != scan[1]) continue; match 655 lib/zlib_deflate/deflate.c scan += 2, match++; match 656 lib/zlib_deflate/deflate.c Assert(*scan == *match, "match[2]?"); match 662 lib/zlib_deflate/deflate.c } while (*++scan == *++match && *++scan == *++match && match 663 lib/zlib_deflate/deflate.c *++scan == *++match && *++scan == *++match && match 664 lib/zlib_deflate/deflate.c *++scan == *++match && *++scan == *++match && match 665 lib/zlib_deflate/deflate.c *++scan == *++match && *++scan == *++match && match 700 lib/zlib_deflate/deflate.c IPos match, match 705 lib/zlib_deflate/deflate.c if (memcmp((char *)s->window + match, match 708 lib/zlib_deflate/deflate.c start, match, length); match 710 lib/zlib_deflate/deflate.c fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); match 715 lib/zlib_deflate/deflate.c fprintf(stderr,"\\[%d,%d]", start-match, length); match 720 lib/zlib_deflate/deflate.c # define check_match(s, start, match, length) match 940 lib/zstd/compress.c static size_t ZSTD_count_2segments(const BYTE *ip, const BYTE *match, const BYTE *iEnd, const BYTE *mEnd, const BYTE *iStart) match 942 lib/zstd/compress.c const BYTE *const vEnd = MIN(ip + (mEnd - match), iEnd); match 943 lib/zstd/compress.c size_t const matchLength = ZSTD_count(ip, match, vEnd); match 944 lib/zstd/compress.c if (match + matchLength != mEnd) match 1040 lib/zstd/compress.c const BYTE *match = base + matchIndex; match 1049 lib/zstd/compress.c if ((matchIndex <= lowestIndex) || (ZSTD_read32(match) != ZSTD_read32(ip))) { match 1053 lib/zstd/compress.c mLength = ZSTD_count(ip + 4, match + 4, iend) + 4; match 1054 lib/zstd/compress.c offset = (U32)(ip - match); match 1055 lib/zstd/compress.c while (((ip > anchor) & (match > lowest)) && (ip[-1] == match[-1])) { match 1057 lib/zstd/compress.c match--; match 1140 lib/zstd/compress.c const BYTE *match = matchBase + matchIndex; match 1155 lib/zstd/compress.c if ((matchIndex < lowestIndex) || (ZSTD_read32(match) != ZSTD_read32(ip))) { match 1163 lib/zstd/compress.c mLength = ZSTD_count_2segments(ip + EQUAL_READ32, match + EQUAL_READ32, iend, matchEnd, lowPrefixPtr) + EQUAL_READ32; match 1164 lib/zstd/compress.c while (((ip > anchor) & (match > lowMatchPtr)) && (ip[-1] == match[-1])) { match 1166 lib/zstd/compress.c match--; match 1291 lib/zstd/compress.c const BYTE *match = base + matchIndexS; match 1308 lib/zstd/compress.c } else if ((matchIndexS > lowestIndex) && (ZSTD_read32(match) == ZSTD_read32(ip))) { match 1323 lib/zstd/compress.c mLength = ZSTD_count(ip + 4, match + 4, iend) + 4; match 1324 lib/zstd/compress.c offset = (U32)(ip - match); match 1325 lib/zstd/compress.c while (((ip > anchor) & (match > lowest)) && (ip[-1] == match[-1])) { match 1327 lib/zstd/compress.c match--; match 1421 lib/zstd/compress.c const BYTE *match = matchBase + matchIndex; match 1457 lib/zstd/compress.c } else if ((matchIndex > lowestIndex) && (ZSTD_read32(match) == ZSTD_read32(ip))) { match 1478 lib/zstd/compress.c mLength = ZSTD_count_2segments(ip + 4, match + 4, iend, matchEnd, lowPrefixPtr) + 4; match 1480 lib/zstd/compress.c while (((ip > anchor) & (match > lowMatchPtr)) && (ip[-1] == match[-1])) { match 1482 lib/zstd/compress.c match--; match 1576 lib/zstd/compress.c const BYTE *match; match 1593 lib/zstd/compress.c match = base + matchIndex; match 1594 lib/zstd/compress.c if (match[matchLength] == ip[matchLength]) match 1595 lib/zstd/compress.c matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iend) + 1; match 1597 lib/zstd/compress.c match = dictBase + matchIndex; match 1598 lib/zstd/compress.c matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iend, dictEnd, prefixStart); match 1600 lib/zstd/compress.c match = base + matchIndex; /* to prepare for next usage of match[matchLength] */ match 1612 lib/zstd/compress.c if (match[matchLength] < ip[matchLength]) { /* necessarily within correct buffer */ match 1673 lib/zstd/compress.c const BYTE *match; match 1676 lib/zstd/compress.c match = base + matchIndex; match 1677 lib/zstd/compress.c if (match[matchLength] == ip[matchLength]) match 1678 lib/zstd/compress.c matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iend) + 1; match 1680 lib/zstd/compress.c match = dictBase + matchIndex; match 1681 lib/zstd/compress.c matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iend, dictEnd, prefixStart); match 1683 lib/zstd/compress.c match = base + matchIndex; /* to prepare for next usage of match[matchLength] */ match 1695 lib/zstd/compress.c if (match[matchLength] < ip[matchLength]) { match 1841 lib/zstd/compress.c const BYTE *match; match 1844 lib/zstd/compress.c match = base + matchIndex; match 1845 lib/zstd/compress.c if (match[ml] == ip[ml]) /* potentially better */ match 1846 lib/zstd/compress.c currMl = ZSTD_count(ip, match, iLimit); match 1848 lib/zstd/compress.c match = dictBase + matchIndex; match 1849 lib/zstd/compress.c if (ZSTD_read32(match) == ZSTD_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table construction) */ match 1850 lib/zstd/compress.c currMl = ZSTD_count_2segments(ip + EQUAL_READ32, match + EQUAL_READ32, iLimit, dictEnd, prefixStart) + EQUAL_READ32; match 2199 lib/zstd/compress.c const BYTE *match = (matchIndex < dictLimit) ? dictBase + matchIndex : base + matchIndex; match 2201 lib/zstd/compress.c while ((start > anchor) && (match > mStart) && (start[-1] == match[-1])) { match 2203 lib/zstd/compress.c match--; match 865 lib/zstd/decompress.c const BYTE *match; match 888 lib/zstd/decompress.c const BYTE *match = oLitEnd - sequence.offset; match 912 lib/zstd/decompress.c match = dictEnd - (base - match); match 913 lib/zstd/decompress.c if (match + sequence.matchLength <= dictEnd) { match 914 lib/zstd/decompress.c memmove(oLitEnd, match, sequence.matchLength); match 919 lib/zstd/decompress.c size_t const length1 = dictEnd - match; match 920 lib/zstd/decompress.c memmove(oLitEnd, match, length1); match 923 lib/zstd/decompress.c match = base; match 927 lib/zstd/decompress.c *op++ = *match++; match 1001 lib/zstd/decompress.c seq.match = NULL; match 1015 lib/zstd/decompress.c const BYTE *match = oLitEnd - sequence.offset; match 1038 lib/zstd/decompress.c match = dictEnd + (match - base); match 1039 lib/zstd/decompress.c if (match + sequence.matchLength <= dictEnd) { match 1040 lib/zstd/decompress.c memmove(oLitEnd, match, sequence.matchLength); match 1045 lib/zstd/decompress.c size_t const length1 = dictEnd - match; match 1046 lib/zstd/decompress.c memmove(oLitEnd, match, length1); match 1049 lib/zstd/decompress.c match = base; match 1053 lib/zstd/decompress.c op[i] = match[i]; match 1066 lib/zstd/decompress.c op[0] = match[0]; match 1067 lib/zstd/decompress.c op[1] = match[1]; match 1068 lib/zstd/decompress.c op[2] = match[2]; match 1069 lib/zstd/decompress.c op[3] = match[3]; match 1070 lib/zstd/decompress.c match += dec32table[sequence.offset]; match 1071 lib/zstd/decompress.c ZSTD_copy4(op + 4, match); match 1072 lib/zstd/decompress.c match -= sub2; match 1074 lib/zstd/decompress.c ZSTD_copy8(op, match); match 1077 lib/zstd/decompress.c match += 8; match 1081 lib/zstd/decompress.c ZSTD_wildcopy(op, match, oend_w - op); match 1082 lib/zstd/decompress.c match += oend_w - op; match 1086 lib/zstd/decompress.c *op++ = *match++; match 1088 lib/zstd/decompress.c ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8); /* works even if matchLength < 8 */ match 1237 lib/zstd/decompress.c seq.match = seqState->base + pos - seq.offset; /* single memory segment */ match 1239 lib/zstd/decompress.c seq.match += seqState->gotoDict; /* separate memory segment */ match 1271 lib/zstd/decompress.c const BYTE *match = sequence.match; match 1294 lib/zstd/decompress.c if (match + sequence.matchLength <= dictEnd) { match 1295 lib/zstd/decompress.c memmove(oLitEnd, match, sequence.matchLength); match 1300 lib/zstd/decompress.c size_t const length1 = dictEnd - match; match 1301 lib/zstd/decompress.c memmove(oLitEnd, match, length1); match 1304 lib/zstd/decompress.c match = base; match 1308 lib/zstd/decompress.c op[i] = match[i]; match 1321 lib/zstd/decompress.c op[0] = match[0]; match 1322 lib/zstd/decompress.c op[1] = match[1]; match 1323 lib/zstd/decompress.c op[2] = match[2]; match 1324 lib/zstd/decompress.c op[3] = match[3]; match 1325 lib/zstd/decompress.c match += dec32table[sequence.offset]; match 1326 lib/zstd/decompress.c ZSTD_copy4(op + 4, match); match 1327 lib/zstd/decompress.c match -= sub2; match 1329 lib/zstd/decompress.c ZSTD_copy8(op, match); match 1332 lib/zstd/decompress.c match += 8; match 1336 lib/zstd/decompress.c ZSTD_wildcopy(op, match, oend_w - op); match 1337 lib/zstd/decompress.c match += oend_w - op; match 1341 lib/zstd/decompress.c *op++ = *match++; match 1343 lib/zstd/decompress.c ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8); /* works even if matchLength < 8 */ match 1409 lib/zstd/decompress.c ZSTD_PREFETCH(sequence.match); match 266 lib/zstd/zstd_opt.h const BYTE *match; match 269 lib/zstd/zstd_opt.h match = base + matchIndex3; match 270 lib/zstd/zstd_opt.h if (match[bestLength] == ip[bestLength]) match 271 lib/zstd/zstd_opt.h currMl = ZSTD_count(ip, match, iLimit); match 273 lib/zstd/zstd_opt.h match = dictBase + matchIndex3; match 274 lib/zstd/zstd_opt.h if (ZSTD_readMINMATCH(match, MINMATCH) == match 276 lib/zstd/zstd_opt.h currMl = ZSTD_count_2segments(ip + MINMATCH, match + MINMATCH, iLimit, dictEnd, prefixStart) + MINMATCH; match 298 lib/zstd/zstd_opt.h const BYTE *match; match 301 lib/zstd/zstd_opt.h match = base + matchIndex; match 302 lib/zstd/zstd_opt.h if (match[matchLength] == ip[matchLength]) { match 303 lib/zstd/zstd_opt.h matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iLimit) + 1; match 306 lib/zstd/zstd_opt.h match = dictBase + matchIndex; match 307 lib/zstd/zstd_opt.h matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iLimit, dictEnd, prefixStart); match 309 lib/zstd/zstd_opt.h match = base + matchIndex; /* to prepare for next usage of match[matchLength] */ match 325 lib/zstd/zstd_opt.h if (match[matchLength] < ip[matchLength]) { match 5238 net/bluetooth/hci_event.c bool match; match 5384 net/bluetooth/hci_event.c match = (!bacmp(bdaddr, &d->last_adv_addr) && match 5391 net/bluetooth/hci_event.c if (type != LE_ADV_SCAN_RSP || !match) { match 5393 net/bluetooth/hci_event.c if (!match) match 1231 net/bluetooth/mgmt.c struct cmd_lookup *match = data; match 1233 net/bluetooth/mgmt.c send_settings_rsp(cmd->sk, cmd->opcode, match->hdev); match 1237 net/bluetooth/mgmt.c if (match->sk == NULL) { match 1238 net/bluetooth/mgmt.c match->sk = cmd->sk; match 1239 net/bluetooth/mgmt.c sock_hold(match->sk); match 1824 net/bluetooth/mgmt.c struct cmd_lookup match = { NULL, hdev }; match 1836 net/bluetooth/mgmt.c mgmt_pending_foreach(MGMT_OP_SET_LE, hdev, settings_rsp, &match); match 1838 net/bluetooth/mgmt.c new_settings(hdev, match.sk); match 1840 net/bluetooth/mgmt.c if (match.sk) match 1841 net/bluetooth/mgmt.c sock_put(match.sk); match 2128 net/bluetooth/mgmt.c struct bt_uuid *match, *tmp; match 2158 net/bluetooth/mgmt.c list_for_each_entry_safe(match, tmp, &hdev->uuids, list) { match 2159 net/bluetooth/mgmt.c if (memcmp(match->uuid, cp->uuid, 16) != 0) match 2162 net/bluetooth/mgmt.c list_del(&match->list); match 2163 net/bluetooth/mgmt.c kfree(match); match 4240 net/bluetooth/mgmt.c struct cmd_lookup match = { NULL, hdev }; match 4262 net/bluetooth/mgmt.c &match); match 4264 net/bluetooth/mgmt.c new_settings(hdev, match.sk); match 4266 net/bluetooth/mgmt.c if (match.sk) match 4267 net/bluetooth/mgmt.c sock_put(match.sk); match 7013 net/bluetooth/mgmt.c struct cmd_lookup match = { NULL, hdev }; match 7024 net/bluetooth/mgmt.c mgmt_pending_foreach(MGMT_OP_SET_POWERED, hdev, settings_rsp, &match); match 7026 net/bluetooth/mgmt.c new_settings(hdev, match.sk); match 7028 net/bluetooth/mgmt.c if (match.sk) match 7029 net/bluetooth/mgmt.c sock_put(match.sk); match 7036 net/bluetooth/mgmt.c struct cmd_lookup match = { NULL, hdev }; match 7039 net/bluetooth/mgmt.c mgmt_pending_foreach(MGMT_OP_SET_POWERED, hdev, settings_rsp, &match); match 7062 net/bluetooth/mgmt.c new_settings(hdev, match.sk); match 7064 net/bluetooth/mgmt.c if (match.sk) match 7065 net/bluetooth/mgmt.c sock_put(match.sk); match 7544 net/bluetooth/mgmt.c struct cmd_lookup match = { NULL, hdev }; match 7560 net/bluetooth/mgmt.c &match); match 7563 net/bluetooth/mgmt.c new_settings(hdev, match.sk); match 7565 net/bluetooth/mgmt.c if (match.sk) match 7566 net/bluetooth/mgmt.c sock_put(match.sk); match 7586 net/bluetooth/mgmt.c struct cmd_lookup match = { NULL, hdev }; match 7615 net/bluetooth/mgmt.c mgmt_pending_foreach(MGMT_OP_SET_SSP, hdev, settings_rsp, &match); match 7618 net/bluetooth/mgmt.c new_settings(hdev, match.sk); match 7620 net/bluetooth/mgmt.c if (match.sk) match 7621 net/bluetooth/mgmt.c sock_put(match.sk); match 7639 net/bluetooth/mgmt.c struct cmd_lookup *match = data; match 7641 net/bluetooth/mgmt.c if (match->sk == NULL) { match 7642 net/bluetooth/mgmt.c match->sk = cmd->sk; match 7643 net/bluetooth/mgmt.c sock_hold(match->sk); match 7650 net/bluetooth/mgmt.c struct cmd_lookup match = { NULL, hdev, mgmt_status(status) }; match 7652 net/bluetooth/mgmt.c mgmt_pending_foreach(MGMT_OP_SET_DEV_CLASS, hdev, sk_lookup, &match); match 7653 net/bluetooth/mgmt.c mgmt_pending_foreach(MGMT_OP_ADD_UUID, hdev, sk_lookup, &match); match 7654 net/bluetooth/mgmt.c mgmt_pending_foreach(MGMT_OP_REMOVE_UUID, hdev, sk_lookup, &match); match 7662 net/bluetooth/mgmt.c if (match.sk) match 7663 net/bluetooth/mgmt.c sock_put(match.sk); match 60 net/bridge/netfilter/ebt_802_3.c .match = ebt_802_3_mt, match 262 net/bridge/netfilter/ebt_among.c .match = ebt_among_mt, match 119 net/bridge/netfilter/ebt_arp.c .match = ebt_arp_mt, match 150 net/bridge/netfilter/ebt_ip.c .match = ebt_ip_mt, match 144 net/bridge/netfilter/ebt_ip6.c .match = ebt_ip6_mt, match 106 net/bridge/netfilter/ebt_limit.c .match = ebt_limit_mt, match 75 net/bridge/netfilter/ebt_mark_m.c .match = ebt_mark_mt, match 38 net/bridge/netfilter/ebt_pkttype.c .match = ebt_pkttype_mt, match 176 net/bridge/netfilter/ebt_stp.c .match = ebt_stp_mt, match 155 net/bridge/netfilter/ebt_vlan.c .match = ebt_vlan_mt, match 94 net/bridge/netfilter/ebtables.c par->match = m->u.match; match 96 net/bridge/netfilter/ebtables.c return !m->u.match->match(skb, par); match 358 net/bridge/netfilter/ebtables.c struct xt_match *match; match 366 net/bridge/netfilter/ebtables.c match = xt_find_match(NFPROTO_BRIDGE, m->u.name, m->u.revision); match 367 net/bridge/netfilter/ebtables.c if (IS_ERR(match) || match->family != NFPROTO_BRIDGE) { match 368 net/bridge/netfilter/ebtables.c if (!IS_ERR(match)) match 369 net/bridge/netfilter/ebtables.c module_put(match->me); match 371 net/bridge/netfilter/ebtables.c match = xt_find_match(NFPROTO_BRIDGE, m->u.name, m->u.revision); match 373 net/bridge/netfilter/ebtables.c if (IS_ERR(match)) match 374 net/bridge/netfilter/ebtables.c return PTR_ERR(match); match 375 net/bridge/netfilter/ebtables.c m->u.match = match; match 377 net/bridge/netfilter/ebtables.c par->match = match; match 382 net/bridge/netfilter/ebtables.c module_put(match->me); match 589 net/bridge/netfilter/ebtables.c par.match = m->u.match; match 592 net/bridge/netfilter/ebtables.c if (par.match->destroy != NULL) match 593 net/bridge/netfilter/ebtables.c par.match->destroy(&par); match 594 net/bridge/netfilter/ebtables.c module_put(par.match->me); match 1333 net/bridge/netfilter/ebtables.c m->u.match->name, m->data, sizeof(*m), match 1334 net/bridge/netfilter/ebtables.c m->u.match->usersize, m->match_size, match 1335 net/bridge/netfilter/ebtables.c m->u.match->revision); match 1576 net/bridge/netfilter/ebtables.c static int ebt_compat_match_offset(const struct xt_match *match, match 1584 net/bridge/netfilter/ebtables.c if (unlikely(match->matchsize == -1)) match 1586 net/bridge/netfilter/ebtables.c return xt_compat_match_offset(match); match 1592 net/bridge/netfilter/ebtables.c const struct xt_match *match = m->u.match; match 1594 net/bridge/netfilter/ebtables.c int off = ebt_compat_match_offset(match, m->match_size); match 1600 net/bridge/netfilter/ebtables.c if (copy_to_user(cm->u.name, match->name, strlen(match->name) + 1) || match 1601 net/bridge/netfilter/ebtables.c put_user(match->revision, &cm->u.revision) || match 1605 net/bridge/netfilter/ebtables.c if (match->compat_to_user) { match 1606 net/bridge/netfilter/ebtables.c if (match->compat_to_user(cm->data, m->data)) match 1609 net/bridge/netfilter/ebtables.c if (xt_data_to_user(cm->data, m->data, match->usersize, msize, match 1718 net/bridge/netfilter/ebtables.c *off += ebt_compat_match_offset(m->u.match, m->match_size); match 1910 net/bridge/netfilter/ebtables.c struct xt_match *match; match 1924 net/bridge/netfilter/ebtables.c match = xt_request_find_match(NFPROTO_BRIDGE, name, match 1926 net/bridge/netfilter/ebtables.c if (IS_ERR(match)) match 1927 net/bridge/netfilter/ebtables.c return PTR_ERR(match); match 1929 net/bridge/netfilter/ebtables.c off = ebt_compat_match_offset(match, match_size); match 1931 net/bridge/netfilter/ebtables.c if (match->compat_from_user) match 1932 net/bridge/netfilter/ebtables.c match->compat_from_user(dst, mwt->data); match 1937 net/bridge/netfilter/ebtables.c size_kern = match->matchsize; match 1940 net/bridge/netfilter/ebtables.c module_put(match->me); match 326 net/can/j1939/socket.c bool match = false; match 330 net/can/j1939/socket.c match = j1939_sk_recv_match_one(jsk, skcb); match 331 net/can/j1939/socket.c if (match) match 336 net/can/j1939/socket.c return match; match 1687 net/core/devlink.c struct devlink_dpipe_match *match) match 1689 net/core/devlink.c struct devlink_dpipe_header *header = match->header; match 1690 net/core/devlink.c struct devlink_dpipe_field *field = &header->fields[match->field_id]; match 1697 net/core/devlink.c if (nla_put_u32(skb, DEVLINK_ATTR_DPIPE_MATCH_TYPE, match->type) || match 1698 net/core/devlink.c nla_put_u32(skb, DEVLINK_ATTR_DPIPE_HEADER_INDEX, match->header_index) || match 1989 net/core/devlink.c if (!value->match) match 1991 net/core/devlink.c if (devlink_dpipe_match_put(skb, value->match)) match 2870 net/core/ethtool.c struct ethtool_rx_flow_match *match; match 2886 net/core/ethtool.c match = (struct ethtool_rx_flow_match *)flow->priv; match 2887 net/core/ethtool.c flow->rule->match.dissector = &match->dissector; match 2888 net/core/ethtool.c flow->rule->match.mask = &match->mask; match 2889 net/core/ethtool.c flow->rule->match.key = &match->key; match 2891 net/core/ethtool.c match->mask.basic.n_proto = htons(0xffff); match 2901 net/core/ethtool.c ether_addr_copy(match->key.eth_addrs.src, match 2903 net/core/ethtool.c ether_addr_copy(match->mask.eth_addrs.src, match 2907 net/core/ethtool.c ether_addr_copy(match->key.eth_addrs.dst, match 2909 net/core/ethtool.c ether_addr_copy(match->mask.eth_addrs.dst, match 2913 net/core/ethtool.c match->key.basic.n_proto = ether_spec->h_proto; match 2914 net/core/ethtool.c match->mask.basic.n_proto = ether_m_spec->h_proto; match 2922 net/core/ethtool.c match->key.basic.n_proto = htons(ETH_P_IP); match 2928 net/core/ethtool.c match->key.ipv4.src = v4_spec->ip4src; match 2929 net/core/ethtool.c match->mask.ipv4.src = v4_m_spec->ip4src; match 2932 net/core/ethtool.c match->key.ipv4.dst = v4_spec->ip4dst; match 2933 net/core/ethtool.c match->mask.ipv4.dst = v4_m_spec->ip4dst; match 2937 net/core/ethtool.c match->dissector.used_keys |= match 2939 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_IPV4_ADDRS] = match 2943 net/core/ethtool.c match->key.tp.src = v4_spec->psrc; match 2944 net/core/ethtool.c match->mask.tp.src = v4_m_spec->psrc; match 2947 net/core/ethtool.c match->key.tp.dst = v4_spec->pdst; match 2948 net/core/ethtool.c match->mask.tp.dst = v4_m_spec->pdst; match 2952 net/core/ethtool.c match->dissector.used_keys |= match 2954 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_PORTS] = match 2958 net/core/ethtool.c match->key.ip.tos = v4_spec->tos; match 2959 net/core/ethtool.c match->mask.ip.tos = v4_m_spec->tos; match 2960 net/core/ethtool.c match->dissector.used_keys |= match 2962 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_IP] = match 2971 net/core/ethtool.c match->key.basic.n_proto = htons(ETH_P_IPV6); match 2976 net/core/ethtool.c memcpy(&match->key.ipv6.src, v6_spec->ip6src, match 2977 net/core/ethtool.c sizeof(match->key.ipv6.src)); match 2978 net/core/ethtool.c memcpy(&match->mask.ipv6.src, v6_m_spec->ip6src, match 2979 net/core/ethtool.c sizeof(match->mask.ipv6.src)); match 2982 net/core/ethtool.c memcpy(&match->key.ipv6.dst, v6_spec->ip6dst, match 2983 net/core/ethtool.c sizeof(match->key.ipv6.dst)); match 2984 net/core/ethtool.c memcpy(&match->mask.ipv6.dst, v6_m_spec->ip6dst, match 2985 net/core/ethtool.c sizeof(match->mask.ipv6.dst)); match 2989 net/core/ethtool.c match->dissector.used_keys |= match 2991 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_IPV6_ADDRS] = match 2995 net/core/ethtool.c match->key.tp.src = v6_spec->psrc; match 2996 net/core/ethtool.c match->mask.tp.src = v6_m_spec->psrc; match 2999 net/core/ethtool.c match->key.tp.dst = v6_spec->pdst; match 3000 net/core/ethtool.c match->mask.tp.dst = v6_m_spec->pdst; match 3004 net/core/ethtool.c match->dissector.used_keys |= match 3006 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_PORTS] = match 3010 net/core/ethtool.c match->key.ip.tos = v6_spec->tclass; match 3011 net/core/ethtool.c match->mask.ip.tos = v6_m_spec->tclass; match 3012 net/core/ethtool.c match->dissector.used_keys |= match 3014 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_IP] = match 3027 net/core/ethtool.c match->key.basic.ip_proto = IPPROTO_TCP; match 3031 net/core/ethtool.c match->key.basic.ip_proto = IPPROTO_UDP; match 3034 net/core/ethtool.c match->mask.basic.ip_proto = 0xff; match 3036 net/core/ethtool.c match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_BASIC); match 3037 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_BASIC] = match 3045 net/core/ethtool.c match->key.vlan.vlan_tpid = ext_h_spec->vlan_etype; match 3046 net/core/ethtool.c match->mask.vlan.vlan_tpid = ext_m_spec->vlan_etype; match 3050 net/core/ethtool.c match->key.vlan.vlan_id = match 3052 net/core/ethtool.c match->mask.vlan.vlan_id = match 3055 net/core/ethtool.c match->key.vlan.vlan_dei = match 3057 net/core/ethtool.c match->mask.vlan.vlan_dei = match 3060 net/core/ethtool.c match->key.vlan.vlan_priority = match 3062 net/core/ethtool.c match->mask.vlan.vlan_priority = match 3068 net/core/ethtool.c match->dissector.used_keys |= match 3070 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_VLAN] = match 3078 net/core/ethtool.c memcpy(match->key.eth_addrs.dst, ext_h_spec->h_dest, match 3080 net/core/ethtool.c memcpy(match->mask.eth_addrs.dst, ext_m_spec->h_dest, match 3083 net/core/ethtool.c match->dissector.used_keys |= match 3085 net/core/ethtool.c match->dissector.offset[FLOW_DISSECTOR_KEY_ETH_ADDRS] = match 131 net/core/fib_rules.c if (ops->match == NULL || ops->configure == NULL || match 270 net/core/fib_rules.c ret = ops->match(rule, fl, flags); match 24 net/core/flow_offload.c const struct flow_match *__m = &(__rule)->match; \ match 898 net/decnet/dn_route.c int match = 16; match 901 net/decnet/dn_route.c match--; match 903 net/decnet/dn_route.c return match; match 232 net/decnet/dn_rules.c .match = dn_fib_rule_match, match 375 net/ipv4/fib_rules.c .match = fib4_rule_match, match 227 net/ipv4/ipmr.c .match = ipmr_rule_match, match 292 net/ipv4/netfilter/ip_tables.c acpar.match = ematch->u.kernel.match; match 294 net/ipv4/netfilter/ip_tables.c if (!acpar.match->match(skb, &acpar)) match 456 net/ipv4/netfilter/ip_tables.c par.match = m->u.kernel.match; match 459 net/ipv4/netfilter/ip_tables.c if (par.match->destroy != NULL) match 460 net/ipv4/netfilter/ip_tables.c par.match->destroy(&par); match 461 net/ipv4/netfilter/ip_tables.c module_put(par.match->me); match 469 net/ipv4/netfilter/ip_tables.c par->match = m->u.kernel.match; match 479 net/ipv4/netfilter/ip_tables.c struct xt_match *match; match 482 net/ipv4/netfilter/ip_tables.c match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, match 484 net/ipv4/netfilter/ip_tables.c if (IS_ERR(match)) match 485 net/ipv4/netfilter/ip_tables.c return PTR_ERR(match); match 486 net/ipv4/netfilter/ip_tables.c m->u.kernel.match = match; match 494 net/ipv4/netfilter/ip_tables.c module_put(m->u.kernel.match->me); match 902 net/ipv4/netfilter/ip_tables.c off += xt_compat_match_offset(ematch->u.kernel.match); match 1261 net/ipv4/netfilter/ip_tables.c struct xt_match *match; match 1263 net/ipv4/netfilter/ip_tables.c match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, match 1265 net/ipv4/netfilter/ip_tables.c if (IS_ERR(match)) match 1266 net/ipv4/netfilter/ip_tables.c return PTR_ERR(match); match 1268 net/ipv4/netfilter/ip_tables.c m->u.kernel.match = match; match 1269 net/ipv4/netfilter/ip_tables.c *size += xt_compat_match_offset(match); match 1280 net/ipv4/netfilter/ip_tables.c module_put(ematch->u.kernel.match->me); match 1349 net/ipv4/netfilter/ip_tables.c module_put(ematch->u.kernel.match->me); match 1893 net/ipv4/netfilter/ip_tables.c .match = icmp_match, match 70 net/ipv4/netfilter/ipt_ah.c .match = ah_mt, match 109 net/ipv4/netfilter/ipt_rpfilter.c .match = rpfilter_mt, match 997 net/ipv4/tcp_ipv4.c bool match; match 1011 net/ipv4/tcp_ipv4.c match = (key->addr.a4.s_addr & mask) == match 1015 net/ipv4/tcp_ipv4.c match = ipv6_prefix_equal(&key->addr.a6, &addr->a6, match 1019 net/ipv4/tcp_ipv4.c match = false; match 1022 net/ipv4/tcp_ipv4.c if (match && (!best_match || match 879 net/ipv4/tcp_metrics.c bool match; match 884 net/ipv4/tcp_metrics.c match = net ? net_eq(tm_net(tm), net) : match 886 net/ipv4/tcp_metrics.c if (match) { match 446 net/ipv6/fib6_rules.c .match = fib6_rule_match, match 901 net/ipv6/ip6_fib.c const struct fib6_info *match, match 924 net/ipv6/ip6_fib.c if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) { match 214 net/ipv6/ip6mr.c .match = ip6mr_rule_match, match 315 net/ipv6/netfilter/ip6_tables.c acpar.match = ematch->u.kernel.match; match 317 net/ipv6/netfilter/ip6_tables.c if (!acpar.match->match(skb, &acpar)) match 474 net/ipv6/netfilter/ip6_tables.c par.match = m->u.kernel.match; match 477 net/ipv6/netfilter/ip6_tables.c if (par.match->destroy != NULL) match 478 net/ipv6/netfilter/ip6_tables.c par.match->destroy(&par); match 479 net/ipv6/netfilter/ip6_tables.c module_put(par.match->me); match 486 net/ipv6/netfilter/ip6_tables.c par->match = m->u.kernel.match; match 496 net/ipv6/netfilter/ip6_tables.c struct xt_match *match; match 499 net/ipv6/netfilter/ip6_tables.c match = xt_request_find_match(NFPROTO_IPV6, m->u.user.name, match 501 net/ipv6/netfilter/ip6_tables.c if (IS_ERR(match)) match 502 net/ipv6/netfilter/ip6_tables.c return PTR_ERR(match); match 504 net/ipv6/netfilter/ip6_tables.c m->u.kernel.match = match; match 512 net/ipv6/netfilter/ip6_tables.c module_put(m->u.kernel.match->me); match 918 net/ipv6/netfilter/ip6_tables.c off += xt_compat_match_offset(ematch->u.kernel.match); match 1277 net/ipv6/netfilter/ip6_tables.c struct xt_match *match; match 1279 net/ipv6/netfilter/ip6_tables.c match = xt_request_find_match(NFPROTO_IPV6, m->u.user.name, match 1281 net/ipv6/netfilter/ip6_tables.c if (IS_ERR(match)) match 1282 net/ipv6/netfilter/ip6_tables.c return PTR_ERR(match); match 1284 net/ipv6/netfilter/ip6_tables.c m->u.kernel.match = match; match 1285 net/ipv6/netfilter/ip6_tables.c *size += xt_compat_match_offset(match); match 1296 net/ipv6/netfilter/ip6_tables.c module_put(ematch->u.kernel.match->me); match 1365 net/ipv6/netfilter/ip6_tables.c module_put(ematch->u.kernel.match->me); match 1904 net/ipv6/netfilter/ip6_tables.c .match = icmp6_match, match 101 net/ipv6/netfilter/ip6t_ah.c .match = ah_mt6, match 53 net/ipv6/netfilter/ip6t_eui64.c .match = eui64_mt6, match 116 net/ipv6/netfilter/ip6t_frag.c .match = frag_mt6, match 61 net/ipv6/netfilter/ip6t_hbh.c (par->match == &hbh_mt6_reg[0]) ? match 186 net/ipv6/netfilter/ip6t_hbh.c .match = hbh_mt6, match 194 net/ipv6/netfilter/ip6t_hbh.c .match = hbh_mt6, match 135 net/ipv6/netfilter/ip6t_ipv6header.c .match = ipv6header_mt6, match 73 net/ipv6/netfilter/ip6t_mh.c .match = mh_mt6, match 133 net/ipv6/netfilter/ip6t_rpfilter.c .match = rpfilter_mt, match 211 net/ipv6/netfilter/ip6t_rt.c .match = rt_mt6, match 289 net/ipv6/netfilter/ip6t_srh.c .match = srh_mt6, match 298 net/ipv6/netfilter/ip6t_srh.c .match = srh1_mt6, match 432 net/ipv6/route.c struct fib6_info *match = res->f6i; match 434 net/ipv6/route.c if ((!match->fib6_nsiblings && !match->nh) || have_oif_match) match 441 net/ipv6/route.c (!match->nh || nexthop_is_multipath(match->nh))) match 444 net/ipv6/route.c if (unlikely(match->nh)) { match 449 net/ipv6/route.c if (fl6->mp_hash <= atomic_read(&match->fib6_nh->fib_nh_upper_bound)) match 452 net/ipv6/route.c list_for_each_entry_safe(sibling, next_sibling, &match->fib6_siblings, match 462 net/ipv6/route.c match = sibling; match 467 net/ipv6/route.c res->f6i = match; match 468 net/ipv6/route.c res->nh = match->fib6_nh; match 1942 net/ipv6/route.c struct fib6_nh *match; match 1956 net/ipv6/route.c arg->match = nh; match 1981 net/ipv6/route.c if (!arg.match) match 1983 net/ipv6/route.c fib6_nh = arg.match; match 2783 net/ipv6/route.c if (!arg.match) match 2786 net/ipv6/route.c res.nh = arg.match; match 4082 net/ipv6/route.c if (!arg.match) match 4084 net/ipv6/route.c res.nh = arg.match; match 94 net/iucv/iucv.c .match = iucv_bus_match, match 3808 net/mac80211/cfg.c struct cfg80211_nan_match_params *match, match 3819 net/mac80211/cfg.c func = idr_find(&sdata->u.nan.function_inst_ids, match->inst_id); match 3824 net/mac80211/cfg.c match->cookie = func->cookie; match 3828 net/mac80211/cfg.c cfg80211_nan_match(ieee80211_vif_to_wdev(vif), match, gfp); match 5268 net/mac80211/mlme.c bool match; match 5271 net/mac80211/mlme.c match = ether_addr_equal(ifmgd->bssid, req->bss->bssid); match 5272 net/mac80211/mlme.c ieee80211_destroy_auth_data(sdata, match); match 24 net/netfilter/nf_tables_offload.c flow->rule->match.dissector = &flow->match.dissector; match 25 net/netfilter/nf_tables_offload.c flow->rule->match.mask = &flow->match.mask; match 26 net/netfilter/nf_tables_offload.c flow->rule->match.key = &flow->match.key; match 122 net/netfilter/nft_cmp.c u8 *mask = (u8 *)&flow->match.mask; match 123 net/netfilter/nft_cmp.c u8 *key = (u8 *)&flow->match.key; match 131 net/netfilter/nft_cmp.c flow->match.dissector.used_keys |= BIT(reg->key); match 132 net/netfilter/nft_cmp.c flow->match.dissector.offset[reg->key] = reg->base_offset; match 333 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; match 337 net/netfilter/nft_compat.c nft_compat_set_par((struct xt_action_param *)&pkt->xt, match, info); match 339 net/netfilter/nft_compat.c ret = match->match(skb, (struct xt_action_param *)&pkt->xt); match 381 net/netfilter/nft_compat.c struct xt_match *match, void *info, match 406 net/netfilter/nft_compat.c par->match = match; match 436 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; match 444 net/netfilter/nft_compat.c match_compat_from_user(match, nla_data(tb[NFTA_MATCH_INFO]), info); match 452 net/netfilter/nft_compat.c nft_match_set_mtchk_param(&par, ctx, match, info, &e, proto, inv); match 486 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; match 487 net/netfilter/nft_compat.c struct module *me = match->me; match 491 net/netfilter/nft_compat.c par.match = match; match 494 net/netfilter/nft_compat.c if (par.match->destroy != NULL) match 495 net/netfilter/nft_compat.c par.match->destroy(&par); match 519 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; match 521 net/netfilter/nft_compat.c if (nla_put_string(skb, NFTA_MATCH_NAME, match->name) || match 522 net/netfilter/nft_compat.c nla_put_be32(skb, NFTA_MATCH_REV, htonl(match->revision)) || match 524 net/netfilter/nft_compat.c match->matchsize, match->usersize)) match 549 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; match 559 net/netfilter/nft_compat.c if (match->hooks && !(hook_mask & match->hooks)) match 562 net/netfilter/nft_compat.c ret = nft_compat_chain_validate_dependency(ctx, match->table); match 708 net/netfilter/nft_compat.c struct xt_match *match; match 723 net/netfilter/nft_compat.c match = xt_request_find_match(family, mt_name, rev); match 724 net/netfilter/nft_compat.c if (IS_ERR(match)) match 727 net/netfilter/nft_compat.c if (match->matchsize > nla_len(tb[NFTA_MATCH_INFO])) { match 744 net/netfilter/nft_compat.c ops->data = match; match 746 net/netfilter/nft_compat.c matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize)); match 760 net/netfilter/nft_compat.c module_put(match->me); match 766 net/netfilter/nft_compat.c struct xt_match *match = ops->data; match 768 net/netfilter/nft_compat.c module_put(match->me); match 48 net/netfilter/x_tables.c struct list_head match; match 119 net/netfilter/x_tables.c int xt_register_match(struct xt_match *match) match 121 net/netfilter/x_tables.c u_int8_t af = match->family; match 124 net/netfilter/x_tables.c list_add(&match->list, &xt[af].match); match 131 net/netfilter/x_tables.c xt_unregister_match(struct xt_match *match) match 133 net/netfilter/x_tables.c u_int8_t af = match->family; match 136 net/netfilter/x_tables.c list_del(&match->list); match 142 net/netfilter/x_tables.c xt_register_matches(struct xt_match *match, unsigned int n) match 148 net/netfilter/x_tables.c err = xt_register_match(&match[i]); match 156 net/netfilter/x_tables.c xt_unregister_matches(match, i); match 162 net/netfilter/x_tables.c xt_unregister_matches(struct xt_match *match, unsigned int n) match 165 net/netfilter/x_tables.c xt_unregister_match(&match[n]); match 186 net/netfilter/x_tables.c list_for_each_entry(m, &xt[af].match, list) { match 210 net/netfilter/x_tables.c struct xt_match *match; match 215 net/netfilter/x_tables.c match = xt_find_match(nfproto, name, revision); match 216 net/netfilter/x_tables.c if (IS_ERR(match)) { match 218 net/netfilter/x_tables.c match = xt_find_match(nfproto, name, revision); match 221 net/netfilter/x_tables.c return match; match 315 net/netfilter/x_tables.c return XT_OBJ_TO_USER(u, m, match, 0) || match 316 net/netfilter/x_tables.c XT_DATA_TO_USER(u, m, match); match 333 net/netfilter/x_tables.c list_for_each_entry(m, &xt[af].match, list) { match 463 net/netfilter/x_tables.c if (XT_ALIGN(par->match->matchsize) != size && match 464 net/netfilter/x_tables.c par->match->matchsize != -1) { match 470 net/netfilter/x_tables.c xt_prefix[par->family], par->match->name, match 471 net/netfilter/x_tables.c par->match->revision, match 472 net/netfilter/x_tables.c XT_ALIGN(par->match->matchsize), size); match 475 net/netfilter/x_tables.c if (par->match->table != NULL && match 476 net/netfilter/x_tables.c strcmp(par->match->table, par->table) != 0) { match 478 net/netfilter/x_tables.c xt_prefix[par->family], par->match->name, match 479 net/netfilter/x_tables.c par->match->table, par->table); match 482 net/netfilter/x_tables.c if (par->match->hooks && (par->hook_mask & ~par->match->hooks) != 0) { match 486 net/netfilter/x_tables.c xt_prefix[par->family], par->match->name, match 490 net/netfilter/x_tables.c par->match->hooks, match 494 net/netfilter/x_tables.c if (par->match->proto && (par->match->proto != proto || inv_proto)) { match 496 net/netfilter/x_tables.c xt_prefix[par->family], par->match->name, match 497 net/netfilter/x_tables.c par->match->proto); match 500 net/netfilter/x_tables.c if (par->match->checkentry != NULL) { match 501 net/netfilter/x_tables.c ret = par->match->checkentry(par); match 523 net/netfilter/x_tables.c static int xt_check_entry_match(const char *match, const char *target, match 527 net/netfilter/x_tables.c int length = target - match; match 532 net/netfilter/x_tables.c pos = (struct xt_entry_match *)match; match 722 net/netfilter/x_tables.c int xt_compat_match_offset(const struct xt_match *match) match 724 net/netfilter/x_tables.c u_int16_t csize = match->compatsize ? : match->matchsize; match 725 net/netfilter/x_tables.c return XT_ALIGN(match->matchsize) - COMPAT_XT_ALIGN(csize); match 732 net/netfilter/x_tables.c const struct xt_match *match = m->u.kernel.match; match 734 net/netfilter/x_tables.c int pad, off = xt_compat_match_offset(match); match 740 net/netfilter/x_tables.c if (match->compat_from_user) match 741 net/netfilter/x_tables.c match->compat_from_user(m->data, cm->data); match 744 net/netfilter/x_tables.c pad = XT_ALIGN(match->matchsize) - match->matchsize; match 746 net/netfilter/x_tables.c memset(m->data + match->matchsize, 0, pad); match 750 net/netfilter/x_tables.c strlcpy(name, match->name, sizeof(name)); match 751 net/netfilter/x_tables.c module_put(match->me); match 768 net/netfilter/x_tables.c const struct xt_match *match = m->u.kernel.match; match 770 net/netfilter/x_tables.c int off = xt_compat_match_offset(match); match 773 net/netfilter/x_tables.c if (XT_OBJ_TO_USER(cm, m, match, msize)) match 776 net/netfilter/x_tables.c if (match->compat_to_user) { match 777 net/netfilter/x_tables.c if (match->compat_to_user((void __user *)cm->data, m->data)) match 780 net/netfilter/x_tables.c if (COMPAT_XT_DATA_TO_USER(cm, m, match, msize - sizeof(*cm))) match 1562 net/netfilter/x_tables.c &xt[NFPROTO_UNSPEC].target : &xt[NFPROTO_UNSPEC].match; match 1571 net/netfilter/x_tables.c &xt[nfproto].target : &xt[nfproto].match; match 1626 net/netfilter/x_tables.c const struct xt_match *match; match 1633 net/netfilter/x_tables.c match = list_entry(trav->curr, struct xt_match, list); match 1634 net/netfilter/x_tables.c if (*match->name) match 1635 net/netfilter/x_tables.c seq_printf(seq, "%s\n", match->name); match 1908 net/netfilter/x_tables.c INIT_LIST_HEAD(&xt[i].match); match 255 net/netfilter/xt_TCPMSS.c if (strcmp(m->u.kernel.match->name, "tcp") == 0 && match 205 net/netfilter/xt_addrtype.c .match = addrtype_mt_v0, match 213 net/netfilter/xt_addrtype.c .match = addrtype_mt_v1, match 123 net/netfilter/xt_bpf.c .match = bpf_mt, match 134 net/netfilter/xt_bpf.c .match = bpf_mt_v1, match 171 net/netfilter/xt_cgroup.c .match = cgroup_mt_v0, match 183 net/netfilter/xt_cgroup.c .match = cgroup_mt_v1, match 197 net/netfilter/xt_cgroup.c .match = cgroup_mt_v2, match 152 net/netfilter/xt_cluster.c .match = xt_cluster_mt, match 30 net/netfilter/xt_comment.c .match = comment_mt, match 140 net/netfilter/xt_connbytes.c .match = connbytes_mt, match 85 net/netfilter/xt_connlabel.c .match = connlabel_mt, match 114 net/netfilter/xt_connlimit.c .match = connlimit_mt, match 176 net/netfilter/xt_connmark.c .match = connmark_mt, match 218 net/netfilter/xt_conntrack.c if (par->match->revision != 3) { match 288 net/netfilter/xt_conntrack.c .match = conntrack_mt_v1, match 298 net/netfilter/xt_conntrack.c .match = conntrack_mt_v2, match 308 net/netfilter/xt_conntrack.c .match = conntrack_mt_v3, match 45 net/netfilter/xt_cpu.c .match = cpu_mt, match 142 net/netfilter/xt_dccp.c .match = dccp_mt, match 151 net/netfilter/xt_dccp.c .match = dccp_mt, match 61 net/netfilter/xt_devgroup.c .match = devgroup_mt, match 69 net/netfilter/xt_dscp.c .match = dscp_mt, match 77 net/netfilter/xt_dscp.c .match = dscp_mt6, match 85 net/netfilter/xt_dscp.c .match = tos_mt, match 93 net/netfilter/xt_dscp.c .match = tos_mt, match 150 net/netfilter/xt_ecn.c .match = ecn_mt4, match 158 net/netfilter/xt_ecn.c .match = ecn_mt6, match 77 net/netfilter/xt_esp.c .match = esp_mt, match 86 net/netfilter/xt_esp.c .match = esp_mt, match 985 net/netfilter/xt_hashlimit.c .match = hashlimit_mt_v1, match 996 net/netfilter/xt_hashlimit.c .match = hashlimit_mt_v2, match 1007 net/netfilter/xt_hashlimit.c .match = hashlimit_mt, match 1019 net/netfilter/xt_hashlimit.c .match = hashlimit_mt_v1, match 1030 net/netfilter/xt_hashlimit.c .match = hashlimit_mt_v2, match 1041 net/netfilter/xt_hashlimit.c .match = hashlimit_mt, match 79 net/netfilter/xt_helper.c .match = helper_mt, match 68 net/netfilter/xt_hl.c .match = ttl_mt, match 76 net/netfilter/xt_hl.c .match = hl_mt6, match 81 net/netfilter/xt_ipcomp.c .match = comp_mt, match 90 net/netfilter/xt_ipcomp.c .match = comp_mt, match 106 net/netfilter/xt_iprange.c .match = iprange_mt4, match 114 net/netfilter/xt_iprange.c .match = iprange_mt6, match 58 net/netfilter/xt_ipvs.c bool match = true; match 61 net/netfilter/xt_ipvs.c match = skb->ipvs_property ^ match 68 net/netfilter/xt_ipvs.c match = false; match 77 net/netfilter/xt_ipvs.c match = false; match 83 net/netfilter/xt_ipvs.c match = false; match 92 net/netfilter/xt_ipvs.c match = false; match 104 net/netfilter/xt_ipvs.c match = false; match 112 net/netfilter/xt_ipvs.c match = false; match 121 net/netfilter/xt_ipvs.c match = false; match 127 net/netfilter/xt_ipvs.c match = false; match 135 net/netfilter/xt_ipvs.c match = false; match 143 net/netfilter/xt_ipvs.c match = false; match 151 net/netfilter/xt_ipvs.c pr_debug("match=%d\n", match); match 152 net/netfilter/xt_ipvs.c return match; match 174 net/netfilter/xt_ipvs.c .match = ipvs_mt, match 318 net/netfilter/xt_l2tp.c .match = l2tp_mt4, match 332 net/netfilter/xt_l2tp.c .match = l2tp_mt6, match 43 net/netfilter/xt_length.c .match = length_mt, match 50 net/netfilter/xt_length.c .match = length_mt6, match 185 net/netfilter/xt_limit.c .match = limit_mt, match 45 net/netfilter/xt_mac.c .match = mac_mt, match 55 net/netfilter/xt_mark.c .match = mark_mt, match 149 net/netfilter/xt_multiport.c .match = multiport_mt, match 158 net/netfilter/xt_multiport.c .match = multiport_mt, match 63 net/netfilter/xt_nfacct.c .match = nfacct_mt, match 74 net/netfilter/xt_nfacct.c .match = nfacct_mt, match 42 net/netfilter/xt_osf.c .match = xt_osf_match_packet, match 25 net/netfilter/xt_owner.c if (info->match & ~XT_OWNER_MASK) match 31 net/netfilter/xt_owner.c if ((info->match & (XT_OWNER_UID|XT_OWNER_GID)) && match 36 net/netfilter/xt_owner.c if (info->match & XT_OWNER_UID) { match 48 net/netfilter/xt_owner.c if (info->match & XT_OWNER_GID) { match 71 net/netfilter/xt_owner.c return (info->match ^ info->invert) == 0; match 72 net/netfilter/xt_owner.c else if (info->match & info->invert & XT_OWNER_SOCKET) match 81 net/netfilter/xt_owner.c return ((info->match ^ info->invert) & match 84 net/netfilter/xt_owner.c if (info->match & XT_OWNER_UID) { match 93 net/netfilter/xt_owner.c if (info->match & XT_OWNER_GID) { match 94 net/netfilter/xt_owner.c unsigned int i, match = false; match 101 net/netfilter/xt_owner.c match = true; match 103 net/netfilter/xt_owner.c if (!match && (info->match & XT_OWNER_SUPPL_GROUPS) && gi) { match 109 net/netfilter/xt_owner.c match = true; match 115 net/netfilter/xt_owner.c if (match ^ !(info->invert & XT_OWNER_GID)) match 127 net/netfilter/xt_owner.c .match = owner_mt, match 123 net/netfilter/xt_physdev.c .match = physdev_mt, match 45 net/netfilter/xt_pkttype.c .match = pkttype_mt, match 38 net/netfilter/xt_policy.c #define MATCH_ADDR(x,y,z) (!e->match.x || \ match 41 net/netfilter/xt_policy.c #define MATCH(x,y) (!e->match.x || ((e->x == (y)) ^ e->invert.x)) match 162 net/netfilter/xt_policy.c .match = policy_mt, match 170 net/netfilter/xt_policy.c .match = policy_mt, match 73 net/netfilter/xt_quota.c .match = quota_mt, match 129 net/netfilter/xt_rateest.c .match = xt_rateest_mt, match 32 net/netfilter/xt_realm.c .match = realm_mt, match 692 net/netfilter/xt_recent.c .match = recent_mt, match 702 net/netfilter/xt_recent.c .match = recent_mt, match 712 net/netfilter/xt_recent.c .match = recent_mt, match 722 net/netfilter/xt_recent.c .match = recent_mt, match 172 net/netfilter/xt_sctp.c .match = sctp_mt, match 181 net/netfilter/xt_sctp.c .match = sctp_mt, match 525 net/netfilter/xt_set.c .match = set_match_v0, match 535 net/netfilter/xt_set.c .match = set_match_v1, match 545 net/netfilter/xt_set.c .match = set_match_v1, match 556 net/netfilter/xt_set.c .match = set_match_v1, match 566 net/netfilter/xt_set.c .match = set_match_v1, match 577 net/netfilter/xt_set.c .match = set_match_v3, match 587 net/netfilter/xt_set.c .match = set_match_v3, match 598 net/netfilter/xt_set.c .match = set_match_v4, match 608 net/netfilter/xt_set.c .match = set_match_v4, match 224 net/netfilter/xt_socket.c .match = socket_mt4_v0, match 233 net/netfilter/xt_socket.c .match = socket_mt4_v1_v2_v3, match 245 net/netfilter/xt_socket.c .match = socket_mt6_v1_v2_v3, match 257 net/netfilter/xt_socket.c .match = socket_mt4_v1_v2_v3, match 269 net/netfilter/xt_socket.c .match = socket_mt6_v1_v2_v3, match 281 net/netfilter/xt_socket.c .match = socket_mt4_v1_v2_v3, match 293 net/netfilter/xt_socket.c .match = socket_mt6_v1_v2_v3, match 58 net/netfilter/xt_state.c .match = state_mt, match 80 net/netfilter/xt_statistic.c .match = statistic_mt, match 75 net/netfilter/xt_string.c .match = string_mt, match 81 net/netfilter/xt_tcpmss.c .match = tcpmss_mt, match 89 net/netfilter/xt_tcpmss.c .match = tcpmss_mt, match 169 net/netfilter/xt_tcpudp.c .match = tcp_mt, match 178 net/netfilter/xt_tcpudp.c .match = tcp_mt, match 187 net/netfilter/xt_tcpudp.c .match = udp_mt, match 196 net/netfilter/xt_tcpudp.c .match = udp_mt, match 205 net/netfilter/xt_tcpudp.c .match = udp_mt, match 214 net/netfilter/xt_tcpudp.c .match = udp_mt, match 266 net/netfilter/xt_time.c .match = time_mt, match 103 net/netfilter/xt_u32.c .match = u32_mt, match 906 net/openvswitch/datapath.c struct sw_flow_match match; match 932 net/openvswitch/datapath.c ovs_match_init(&match, &new_flow->key, false, &mask); match 933 net/openvswitch/datapath.c error = ovs_nla_get_match(net, &match, a[OVS_FLOW_ATTR_KEY], match 946 net/openvswitch/datapath.c match.key = new_flow->id.unmasked_key; match 1014 net/openvswitch/datapath.c if (unlikely(!ovs_flow_cmp(flow, &match))) { match 1017 net/openvswitch/datapath.c &match); match 1096 net/openvswitch/datapath.c struct sw_flow_match *match, match 1106 net/openvswitch/datapath.c ovs_match_init(match, key, true, &mask); match 1107 net/openvswitch/datapath.c error = ovs_nla_get_match(net, match, a[OVS_FLOW_ATTR_KEY], match 1131 net/openvswitch/datapath.c match->mask = NULL; match 1145 net/openvswitch/datapath.c struct sw_flow_match match; match 1159 net/openvswitch/datapath.c error = ovs_nla_init_match_and_action(net, &match, &key, a, match 1184 net/openvswitch/datapath.c flow = ovs_flow_tbl_lookup_exact(&dp->table, &match); match 1246 net/openvswitch/datapath.c struct sw_flow_match match; match 1255 net/openvswitch/datapath.c ovs_match_init(&match, &key, true, NULL); match 1256 net/openvswitch/datapath.c err = ovs_nla_get_match(net, &match, a[OVS_FLOW_ATTR_KEY], NULL, match 1276 net/openvswitch/datapath.c flow = ovs_flow_tbl_lookup_exact(&dp->table, &match); match 1305 net/openvswitch/datapath.c struct sw_flow_match match; match 1314 net/openvswitch/datapath.c ovs_match_init(&match, &key, true, NULL); match 1315 net/openvswitch/datapath.c err = ovs_nla_get_match(net, &match, a[OVS_FLOW_ATTR_KEY], match 1336 net/openvswitch/datapath.c flow = ovs_flow_tbl_lookup_exact(&dp->table, &match); match 89 net/openvswitch/flow_netlink.c static void update_range(struct sw_flow_match *match, match 97 net/openvswitch/flow_netlink.c range = &match->range; match 99 net/openvswitch/flow_netlink.c range = &match->mask->range; match 114 net/openvswitch/flow_netlink.c #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ match 116 net/openvswitch/flow_netlink.c update_range(match, offsetof(struct sw_flow_key, field), \ match 117 net/openvswitch/flow_netlink.c sizeof((match)->key->field), is_mask); \ match 119 net/openvswitch/flow_netlink.c (match)->mask->key.field = value; \ match 121 net/openvswitch/flow_netlink.c (match)->key->field = value; \ match 124 net/openvswitch/flow_netlink.c #define SW_FLOW_KEY_MEMCPY_OFFSET(match, offset, value_p, len, is_mask) \ match 126 net/openvswitch/flow_netlink.c update_range(match, offset, len, is_mask); \ match 128 net/openvswitch/flow_netlink.c memcpy((u8 *)&(match)->mask->key + offset, value_p, \ match 131 net/openvswitch/flow_netlink.c memcpy((u8 *)(match)->key + offset, value_p, len); \ match 134 net/openvswitch/flow_netlink.c #define SW_FLOW_KEY_MEMCPY(match, field, value_p, len, is_mask) \ match 135 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \ match 138 net/openvswitch/flow_netlink.c #define SW_FLOW_KEY_MEMSET_FIELD(match, field, value, is_mask) \ match 140 net/openvswitch/flow_netlink.c update_range(match, offsetof(struct sw_flow_key, field), \ match 141 net/openvswitch/flow_netlink.c sizeof((match)->key->field), is_mask); \ match 143 net/openvswitch/flow_netlink.c memset((u8 *)&(match)->mask->key.field, value, \ match 144 net/openvswitch/flow_netlink.c sizeof((match)->mask->key.field)); \ match 146 net/openvswitch/flow_netlink.c memset((u8 *)&(match)->key->field, value, \ match 147 net/openvswitch/flow_netlink.c sizeof((match)->key->field)); \ match 150 net/openvswitch/flow_netlink.c static bool match_validate(const struct sw_flow_match *match, match 179 net/openvswitch/flow_netlink.c if (match->key->eth.type == htons(ETH_P_ARP) match 180 net/openvswitch/flow_netlink.c || match->key->eth.type == htons(ETH_P_RARP)) { match 182 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.eth.type == htons(0xffff))) match 186 net/openvswitch/flow_netlink.c if (eth_p_mpls(match->key->eth.type)) { match 188 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.eth.type == htons(0xffff))) match 192 net/openvswitch/flow_netlink.c if (match->key->eth.type == htons(ETH_P_IP)) { match 194 net/openvswitch/flow_netlink.c if (match->mask && match->mask->key.eth.type == htons(0xffff)) { match 199 net/openvswitch/flow_netlink.c if (match->key->ip.frag != OVS_FRAG_TYPE_LATER) { match 200 net/openvswitch/flow_netlink.c if (match->key->ip.proto == IPPROTO_UDP) { match 202 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.ip.proto == 0xff)) match 206 net/openvswitch/flow_netlink.c if (match->key->ip.proto == IPPROTO_SCTP) { match 208 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.ip.proto == 0xff)) match 212 net/openvswitch/flow_netlink.c if (match->key->ip.proto == IPPROTO_TCP) { match 215 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.ip.proto == 0xff)) { match 221 net/openvswitch/flow_netlink.c if (match->key->ip.proto == IPPROTO_ICMP) { match 223 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.ip.proto == 0xff)) match 229 net/openvswitch/flow_netlink.c if (match->key->eth.type == htons(ETH_P_IPV6)) { match 231 net/openvswitch/flow_netlink.c if (match->mask && match->mask->key.eth.type == htons(0xffff)) { match 236 net/openvswitch/flow_netlink.c if (match->key->ip.frag != OVS_FRAG_TYPE_LATER) { match 237 net/openvswitch/flow_netlink.c if (match->key->ip.proto == IPPROTO_UDP) { match 239 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.ip.proto == 0xff)) match 243 net/openvswitch/flow_netlink.c if (match->key->ip.proto == IPPROTO_SCTP) { match 245 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.ip.proto == 0xff)) match 249 net/openvswitch/flow_netlink.c if (match->key->ip.proto == IPPROTO_TCP) { match 252 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.ip.proto == 0xff)) { match 258 net/openvswitch/flow_netlink.c if (match->key->ip.proto == IPPROTO_ICMPV6) { match 260 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.ip.proto == 0xff)) match 263 net/openvswitch/flow_netlink.c if (match->key->tp.src == match 265 net/openvswitch/flow_netlink.c match->key->tp.src == htons(NDISC_NEIGHBOUR_ADVERTISEMENT)) { match 273 net/openvswitch/flow_netlink.c if (match->mask && (match->mask->key.tp.src == htons(0xff))) match 280 net/openvswitch/flow_netlink.c if (match->key->eth.type == htons(ETH_P_NSH)) { match 282 net/openvswitch/flow_netlink.c if (match->mask && match 283 net/openvswitch/flow_netlink.c match->mask->key.eth.type == htons(0xffff)) { match 520 net/openvswitch/flow_netlink.c struct sw_flow_match *match, bool is_mask, match 525 net/openvswitch/flow_netlink.c if (nla_len(a) > sizeof(match->key->tun_opts)) { match 527 net/openvswitch/flow_netlink.c nla_len(a), sizeof(match->key->tun_opts)); match 542 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_opts_len, nla_len(a), match 555 net/openvswitch/flow_netlink.c if (match->key->tun_opts_len != nla_len(a)) { match 557 net/openvswitch/flow_netlink.c match->key->tun_opts_len, nla_len(a)); match 561 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); match 565 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY_OFFSET(match, opt_key_offset, nla_data(a), match 571 net/openvswitch/flow_netlink.c struct sw_flow_match *match, bool is_mask, match 579 net/openvswitch/flow_netlink.c BUILD_BUG_ON(sizeof(opts) > sizeof(match->key->tun_opts)); match 616 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_opts_len, sizeof(opts), false); match 618 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); match 621 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY_OFFSET(match, opt_key_offset, &opts, sizeof(opts), match 627 net/openvswitch/flow_netlink.c struct sw_flow_match *match, bool is_mask, match 633 net/openvswitch/flow_netlink.c sizeof(match->key->tun_opts)); match 635 net/openvswitch/flow_netlink.c if (nla_len(a) > sizeof(match->key->tun_opts)) { match 637 net/openvswitch/flow_netlink.c nla_len(a), sizeof(match->key->tun_opts)); match 642 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_opts_len, match 645 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); match 648 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY_OFFSET(match, opt_key_offset, nla_data(a), match 654 net/openvswitch/flow_netlink.c struct sw_flow_match *match, bool is_mask, match 683 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tun_id, match 688 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.src, match 693 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.dst, match 698 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.src, match 703 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.dst, match 708 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tos, match 712 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.ttl, match 723 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tp_src, match 727 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tp_dst, match 739 net/openvswitch/flow_netlink.c err = genev_tun_opt_from_nlattr(a, match, is_mask, log); match 752 net/openvswitch/flow_netlink.c err = vxlan_tun_opt_from_nlattr(a, match, is_mask, log); match 767 net/openvswitch/flow_netlink.c err = erspan_tun_opt_from_nlattr(a, match, is_mask, match 786 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.tun_flags, tun_flags, is_mask); match 788 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMSET_FIELD(match, tun_proto, 0xff, true); match 790 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_proto, ipv6 ? AF_INET6 : AF_INET, match 811 net/openvswitch/flow_netlink.c if (match->key->tun_key.u.ipv4.src || match 812 net/openvswitch/flow_netlink.c match->key->tun_key.u.ipv4.dst || match 813 net/openvswitch/flow_netlink.c match->key->tun_key.tp_src || match 814 net/openvswitch/flow_netlink.c match->key->tun_key.tp_dst || match 815 net/openvswitch/flow_netlink.c match->key->tun_key.ttl || match 816 net/openvswitch/flow_netlink.c match->key->tun_key.tos || match 821 net/openvswitch/flow_netlink.c } else if (!match->key->tun_key.u.ipv4.dst) { match 826 net/openvswitch/flow_netlink.c if (ipv6 && ipv6_addr_any(&match->key->tun_key.u.ipv6.dst)) { match 960 net/openvswitch/flow_netlink.c static int encode_vlan_from_nlattrs(struct sw_flow_match *match, match 974 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, eth.vlan.tpid, tpid, is_mask); match 975 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, eth.vlan.tci, tci, is_mask); match 977 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, eth.cvlan.tpid, tpid, is_mask); match 978 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask); match 983 net/openvswitch/flow_netlink.c static int validate_vlan_from_nlattrs(const struct sw_flow_match *match, match 1021 net/openvswitch/flow_netlink.c static int validate_vlan_mask_from_nlattrs(const struct sw_flow_match *match, match 1027 net/openvswitch/flow_netlink.c bool encap_valid = !!(match->key->eth.vlan.tci & match 1029 net/openvswitch/flow_netlink.c bool i_encap_valid = !!(match->key->eth.cvlan.tci & match 1063 net/openvswitch/flow_netlink.c static int __parse_vlan_from_nlattrs(struct sw_flow_match *match, match 1072 net/openvswitch/flow_netlink.c err = validate_vlan_from_nlattrs(match, *key_attrs, inner, match 1075 net/openvswitch/flow_netlink.c err = validate_vlan_mask_from_nlattrs(match, *key_attrs, inner, match 1080 net/openvswitch/flow_netlink.c err = encode_vlan_from_nlattrs(match, a, is_mask, inner); match 1098 net/openvswitch/flow_netlink.c static int parse_vlan_from_nlattrs(struct sw_flow_match *match, match 1105 net/openvswitch/flow_netlink.c err = __parse_vlan_from_nlattrs(match, key_attrs, false, a, match 1110 net/openvswitch/flow_netlink.c encap_valid = !!(match->key->eth.vlan.tci & htons(VLAN_CFI_MASK)); match 1112 net/openvswitch/flow_netlink.c err = __parse_vlan_from_nlattrs(match, key_attrs, true, a, match 1121 net/openvswitch/flow_netlink.c static int parse_eth_type_from_nlattrs(struct sw_flow_match *match, match 1137 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, eth.type, eth_type, is_mask); match 1142 net/openvswitch/flow_netlink.c static int metadata_from_nlattrs(struct net *net, struct sw_flow_match *match, match 1151 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ovs_flow_hash, hash_val, is_mask); match 1158 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, recirc_id, recirc_id, is_mask); match 1163 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, phy.priority, match 1179 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, phy.in_port, in_port, is_mask); match 1182 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, phy.in_port, DP_MAX_PORTS, is_mask); match 1188 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, phy.skb_mark, mark, is_mask); match 1192 net/openvswitch/flow_netlink.c if (ip_tun_from_nlattr(a[OVS_KEY_ATTR_TUNNEL], match, match 1208 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct_state, ct_state, is_mask); match 1215 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct_zone, ct_zone, is_mask); match 1222 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct.mark, mark, is_mask); match 1230 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ct.labels, cl->ct_labels, match 1239 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.ct_orig.src, ct->ipv4_src, is_mask); match 1240 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.ct_orig.dst, ct->ipv4_dst, is_mask); match 1241 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct.orig_tp.src, ct->src_port, is_mask); match 1242 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct.orig_tp.dst, ct->dst_port, is_mask); match 1243 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct_orig_proto, ct->ipv4_proto, is_mask); match 1251 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv6.ct_orig.src, &ct->ipv6_src, match 1252 net/openvswitch/flow_netlink.c sizeof(match->key->ipv6.ct_orig.src), match 1254 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv6.ct_orig.dst, &ct->ipv6_dst, match 1255 net/openvswitch/flow_netlink.c sizeof(match->key->ipv6.ct_orig.dst), match 1257 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct.orig_tp.src, ct->src_port, is_mask); match 1258 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct.orig_tp.dst, ct->dst_port, is_mask); match 1259 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ct_orig_proto, ct->ipv6_proto, is_mask); match 1271 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, mac_proto, is_mask ? 0xff : mac_proto, is_mask); match 1274 net/openvswitch/flow_netlink.c return parse_eth_type_from_nlattrs(match, attrs, a, is_mask, match 1375 net/openvswitch/flow_netlink.c struct sw_flow_match *match, bool is_mask, match 1417 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, nsh.base.flags, match 1419 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, nsh.base.ttl, match 1421 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, nsh.base.mdtype, match 1423 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, nsh.base.np, match 1425 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, nsh.base.path_hdr, match 1434 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, nsh.context[i], match 1495 net/openvswitch/flow_netlink.c static int ovs_key_from_nlattrs(struct net *net, struct sw_flow_match *match, match 1501 net/openvswitch/flow_netlink.c err = metadata_from_nlattrs(net, match, &attrs, a, is_mask, log); match 1509 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, eth.src, match 1511 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, eth.dst, match 1524 net/openvswitch/flow_netlink.c err = parse_eth_type_from_nlattrs(match, &attrs, a, is_mask, match 1529 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, eth.type, htons(ETH_P_802_2), is_mask); match 1531 net/openvswitch/flow_netlink.c } else if (!match->key->eth.type) { match 1545 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.proto, match 1547 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.tos, match 1549 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.ttl, match 1551 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.frag, match 1553 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.addr.src, match 1555 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.addr.dst, match 1576 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv6.label, match 1578 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.proto, match 1580 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.tos, match 1582 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.ttl, match 1584 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.frag, match 1586 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv6.addr.src, match 1588 net/openvswitch/flow_netlink.c sizeof(match->key->ipv6.addr.src), match 1590 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv6.addr.dst, match 1592 net/openvswitch/flow_netlink.c sizeof(match->key->ipv6.addr.dst), match 1608 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.addr.src, match 1610 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.addr.dst, match 1612 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ip.proto, match 1614 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv4.arp.sha, match 1616 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv4.arp.tha, match 1623 net/openvswitch/flow_netlink.c if (nsh_key_put_from_nlattr(a[OVS_KEY_ATTR_NSH], match, match 1633 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, mpls.top_lse, match 1643 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.src, tcp_key->tcp_src, is_mask); match 1644 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.dst, tcp_key->tcp_dst, is_mask); match 1649 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.flags, match 1659 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.src, udp_key->udp_src, is_mask); match 1660 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.dst, udp_key->udp_dst, is_mask); match 1668 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.src, sctp_key->sctp_src, is_mask); match 1669 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.dst, sctp_key->sctp_dst, is_mask); match 1677 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.src, match 1679 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.dst, match 1688 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.src, match 1690 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tp.dst, match 1699 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv6.nd.target, match 1701 net/openvswitch/flow_netlink.c sizeof(match->key->ipv6.nd.target), match 1703 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv6.nd.sll, match 1705 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv6.nd.tll, match 1758 net/openvswitch/flow_netlink.c int ovs_nla_get_match(struct net *net, struct sw_flow_match *match, match 1773 net/openvswitch/flow_netlink.c err = parse_vlan_from_nlattrs(match, &key_attrs, a, false, log); match 1777 net/openvswitch/flow_netlink.c err = ovs_key_from_nlattrs(net, match, key_attrs, a, false, log); match 1781 net/openvswitch/flow_netlink.c if (match->mask) { match 1804 net/openvswitch/flow_netlink.c if (match->key->tun_proto) match 1805 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMSET_FIELD(match, tun_key, match 1816 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, eth.vlan.tci, htons(0xffff), true); match 1817 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, eth.cvlan.tci, htons(0xffff), true); match 1819 net/openvswitch/flow_netlink.c err = parse_vlan_from_nlattrs(match, &mask_attrs, a, true, log); match 1823 net/openvswitch/flow_netlink.c err = ovs_key_from_nlattrs(net, match, mask_attrs, a, true, match 1829 net/openvswitch/flow_netlink.c if (!match_validate(match, key_attrs, mask_attrs, log)) match 1914 net/openvswitch/flow_netlink.c struct sw_flow_match match; match 1916 net/openvswitch/flow_netlink.c memset(&match, 0, sizeof(match)); match 1917 net/openvswitch/flow_netlink.c match.key = key; match 1928 net/openvswitch/flow_netlink.c return metadata_from_nlattrs(net, &match, &attrs, a, false, log); match 2510 net/openvswitch/flow_netlink.c void ovs_match_init(struct sw_flow_match *match, match 2515 net/openvswitch/flow_netlink.c memset(match, 0, sizeof(*match)); match 2516 net/openvswitch/flow_netlink.c match->key = key; match 2517 net/openvswitch/flow_netlink.c match->mask = mask; match 2559 net/openvswitch/flow_netlink.c struct sw_flow_match match; match 2569 net/openvswitch/flow_netlink.c ovs_match_init(&match, &key, true, NULL); match 2570 net/openvswitch/flow_netlink.c opts_type = ip_tun_from_nlattr(nla_data(attr), &match, false, log); match 2640 net/openvswitch/flow_netlink.c struct sw_flow_match match; match 2644 net/openvswitch/flow_netlink.c ovs_match_init(&match, &key, true, NULL); match 2645 net/openvswitch/flow_netlink.c ret = nsh_key_put_from_nlattr(attr, &match, is_mask, match 29 net/openvswitch/flow_netlink.h void ovs_match_init(struct sw_flow_match *match, match 416 net/openvswitch/flow_table.c const struct sw_flow_match *match) match 418 net/openvswitch/flow_table.c struct sw_flow_key *key = match->key; match 420 net/openvswitch/flow_table.c int key_end = match->range.end; match 473 net/openvswitch/flow_table.c const struct sw_flow_match *match) match 481 net/openvswitch/flow_table.c flow = masked_flow_lookup(ti, match->key, mask); match 483 net/openvswitch/flow_table.c ovs_flow_cmp_unmasked_key(flow, match)) match 503 net/openvswitch/flow_table.c bool ovs_flow_cmp(const struct sw_flow *flow, const struct sw_flow_match *match) match 506 net/openvswitch/flow_table.c return flow_cmp_masked_key(flow, match->key, &match->range); match 508 net/openvswitch/flow_table.c return ovs_flow_cmp_unmasked_key(flow, match); match 68 net/openvswitch/flow_table.h const struct sw_flow_match *match); match 1637 net/packet/af_packet.c struct packet_fanout *f, *match; match 1688 net/packet/af_packet.c match = NULL; match 1692 net/packet/af_packet.c match = f; match 1697 net/packet/af_packet.c if (match && match->flags != flags) match 1699 net/packet/af_packet.c if (!match) { match 1701 net/packet/af_packet.c match = kzalloc(sizeof(*match), GFP_KERNEL); match 1702 net/packet/af_packet.c if (!match) match 1704 net/packet/af_packet.c write_pnet(&match->net, sock_net(sk)); match 1705 net/packet/af_packet.c match->id = id; match 1706 net/packet/af_packet.c match->type = type; match 1707 net/packet/af_packet.c match->flags = flags; match 1708 net/packet/af_packet.c INIT_LIST_HEAD(&match->list); match 1709 net/packet/af_packet.c spin_lock_init(&match->lock); match 1710 net/packet/af_packet.c refcount_set(&match->sk_ref, 0); match 1711 net/packet/af_packet.c fanout_init_data(match); match 1712 net/packet/af_packet.c match->prot_hook.type = po->prot_hook.type; match 1713 net/packet/af_packet.c match->prot_hook.dev = po->prot_hook.dev; match 1714 net/packet/af_packet.c match->prot_hook.func = packet_rcv_fanout; match 1715 net/packet/af_packet.c match->prot_hook.af_packet_priv = match; match 1716 net/packet/af_packet.c match->prot_hook.id_match = match_fanout_group; match 1717 net/packet/af_packet.c list_add(&match->list, &fanout_list); match 1723 net/packet/af_packet.c match->type == type && match 1724 net/packet/af_packet.c match->prot_hook.type == po->prot_hook.type && match 1725 net/packet/af_packet.c match->prot_hook.dev == po->prot_hook.dev) { match 1727 net/packet/af_packet.c if (refcount_read(&match->sk_ref) < PACKET_FANOUT_MAX) { match 1729 net/packet/af_packet.c po->fanout = match; match 1732 net/packet/af_packet.c refcount_set(&match->sk_ref, refcount_read(&match->sk_ref) + 1); match 1739 net/packet/af_packet.c if (err && !refcount_read(&match->sk_ref)) { match 1740 net/packet/af_packet.c list_del(&match->list); match 1741 net/packet/af_packet.c kfree(match); match 686 net/phonet/socket.c unsigned int res, match = 0; match 692 net/phonet/socket.c match++; match 697 net/phonet/socket.c while (match > 0) { match 699 net/phonet/socket.c match--; match 446 net/sched/cls_flower.c cls_flower.rule->match.dissector = &f->mask->dissector; match 447 net/sched/cls_flower.c cls_flower.rule->match.mask = &f->mask->key; match 448 net/sched/cls_flower.c cls_flower.rule->match.key = &f->mkey; match 1811 net/sched/cls_flower.c cls_flower.rule->match.dissector = &f->mask->dissector; match 1812 net/sched/cls_flower.c cls_flower.rule->match.mask = &f->mask->key; match 1813 net/sched/cls_flower.c cls_flower.rule->match.key = &f->mkey; match 1884 net/sched/cls_flower.c cls_flower.rule->match.dissector = &tmplt->dissector; match 1885 net/sched/cls_flower.c cls_flower.rule->match.mask = &tmplt->mask; match 1886 net/sched/cls_flower.c cls_flower.rule->match.key = &tmplt->dummy_key; match 97 net/sched/em_canid.c int match = 0; match 107 net/sched/em_canid.c match = 1; match 113 net/sched/em_canid.c match = (test_bit(can_id, cm->match_sff) ? 1 : 0); match 116 net/sched/em_canid.c return match; match 207 net/sched/em_canid.c .match = em_canid_match, match 75 net/sched/em_cmp.c .match = em_cmp_match, match 112 net/sched/em_ipset.c .match = em_ipset_match, match 22 net/sched/em_ipt.c const struct xt_match *match; match 53 net/sched/em_ipt.c mtpar.family = im->match->family; match 54 net/sched/em_ipt.c mtpar.match = im->match; match 131 net/sched/em_ipt.c struct xt_match *match; match 153 net/sched/em_ipt.c match = get_xt_match(tb); match 154 net/sched/em_ipt.c if (IS_ERR(match)) { match 156 net/sched/em_ipt.c return PTR_ERR(match); match 166 net/sched/em_ipt.c im->match = match; match 181 net/sched/em_ipt.c module_put(match->me); match 192 net/sched/em_ipt.c if (im->match->destroy) { match 195 net/sched/em_ipt.c .match = im->match, match 197 net/sched/em_ipt.c .family = im->match->family match 199 net/sched/em_ipt.c im->match->destroy(&par); match 201 net/sched/em_ipt.c module_put(im->match->me); match 211 net/sched/em_ipt.c u8 nfproto = im->match->family; match 240 net/sched/em_ipt.c acpar.match = im->match; match 244 net/sched/em_ipt.c ret = im->match->match(skb, &acpar); match 254 net/sched/em_ipt.c if (nla_put_string(skb, TCA_EM_IPT_MATCH_NAME, im->match->name) < 0) match 258 net/sched/em_ipt.c if (nla_put_u8(skb, TCA_EM_IPT_MATCH_REVISION, im->match->revision) < 0) match 263 net/sched/em_ipt.c im->match->usersize ?: im->match->matchsize, match 274 net/sched/em_ipt.c .match = em_ipt_match, match 989 net/sched/em_meta.c .match = em_meta_match, match 56 net/sched/em_nbyte.c .match = em_nbyte_match, match 131 net/sched/em_text.c .match = em_text_match, match 40 net/sched/em_u32.c .match = em_u32_match, match 127 net/sched/ematch.c if (ops->match == NULL) match 493 net/sched/ematch.c int r = em->ops->match(skb, em, info); match 924 net/sctp/associola.c struct sctp_transport *match; match 929 net/sctp/associola.c match = NULL; match 952 net/sctp/associola.c match = active; match 966 net/sctp/associola.c match = transport; match 972 net/sctp/associola.c return match; match 309 net/sctp/bind_addr.c int match = 0; match 316 net/sctp/bind_addr.c match = 1; match 322 net/sctp/bind_addr.c return match; match 284 net/sunrpc/auth_gss/svcauth_gss.c .match = rsi_match, match 555 net/sunrpc/auth_gss/svcauth_gss.c .match = rsc_match, match 68 net/sunrpc/cache.c if (detail->match(tmp, key)) { match 101 net/sunrpc/cache.c if (detail->match(tmp, key)) { match 969 net/sunrpc/rpc_pipe.c int (*match)(struct rpc_pipe_dir_object *, void *), match 978 net/sunrpc/rpc_pipe.c if (!match(pdo, data)) match 590 net/sunrpc/svcauth_unix.c .match = unix_gid_match, match 887 net/sunrpc/svcauth_unix.c .match = ip_map_match, match 776 net/tipc/bcast.c bool match = false; match 801 net/tipc/bcast.c match = true; match 805 net/tipc/bcast.c if (!match) { match 428 net/wireless/mlme.c u8 match[]; match 506 net/wireless/mlme.c if (memcmp(reg->match, match_data, mlen) == 0) { match 517 net/wireless/mlme.c memcpy(nreg->match, match_data, match_len); match 735 net/wireless/mlme.c if (memcmp(reg->match, data, reg->match_len)) match 11216 net/wireless/nl80211.c struct nlattr *nd, *freqs, *matches, *match, *scan_plans, *scan_plan; match 11266 net/wireless/nl80211.c match = nla_nest_start_noflag(msg, i); match 11267 net/wireless/nl80211.c if (!match) match 11274 net/wireless/nl80211.c nla_nest_end(msg, match); match 12635 net/wireless/nl80211.c struct cfg80211_nan_match_params *match, gfp_t gfp) match 12643 net/wireless/nl80211.c if (WARN_ON(!match->inst_id || !match->peer_inst_id || !match->addr)) match 12663 net/wireless/nl80211.c if (nla_put_u64_64bit(msg, NL80211_ATTR_COOKIE, match->cookie, match 12665 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, match->addr)) match 12677 net/wireless/nl80211.c if (nla_put_u8(msg, NL80211_NAN_FUNC_INSTANCE_ID, match->inst_id)) match 12687 net/wireless/nl80211.c if (nla_put_u8(msg, NL80211_NAN_FUNC_TYPE, match->type) || match 12688 net/wireless/nl80211.c nla_put_u8(msg, NL80211_NAN_FUNC_INSTANCE_ID, match->peer_inst_id)) match 12691 net/wireless/nl80211.c if (match->info && match->info_len && match 12692 net/wireless/nl80211.c nla_put(msg, NL80211_NAN_FUNC_SERVICE_INFO, match->info_len, match 12693 net/wireless/nl80211.c match->info)) match 16528 net/wireless/nl80211.c struct cfg80211_wowlan_nd_match *match = nd->matches[i]; match 16541 net/wireless/nl80211.c if (nla_put(msg, NL80211_ATTR_SSID, match->ssid.ssid_len, match 16542 net/wireless/nl80211.c match->ssid.ssid)) { match 16547 net/wireless/nl80211.c if (match->n_channels) { match 16555 net/wireless/nl80211.c for (j = 0; j < match->n_channels; j++) { match 16556 net/wireless/nl80211.c if (nla_put_u32(msg, j, match->channels[j])) { match 718 net/wireless/scan.c const u8 *match, unsigned int match_len, match 725 net/wireless/scan.c !memcmp(elem->data + match_offset, match, match_len)) match 738 net/wireless/scan.c u8 match[] = { oui >> 16, oui >> 8, oui, oui_type }; match 739 net/wireless/scan.c int match_len = (oui_type < 0) ? 3 : sizeof(match); match 745 net/wireless/scan.c match, match_len, 0); match 1208 net/wireless/wext-compat.c bool match = false; match 1233 net/wireless/wext-compat.c match = true; match 1238 net/wireless/wext-compat.c match = true; match 1243 net/wireless/wext-compat.c if (!match) match 198 net/wireless/wext-spy.c int match = -1; match 209 net/wireless/wext-spy.c match = i; match 216 net/wireless/wext-spy.c if (match >= 0) { match 217 net/wireless/wext-spy.c if (spydata->spy_thr_under[match]) { match 219 net/wireless/wext-spy.c spydata->spy_thr_under[match] = 0; match 225 net/wireless/wext-spy.c spydata->spy_thr_under[match] = 1; match 642 net/xfrm/xfrm_algo.c int match(const struct xfrm_algo_desc *entry, const void *data), match 649 net/xfrm/xfrm_algo.c if (!match(list + i, data)) match 1889 net/xfrm/xfrm_policy.c bool match; match 1897 net/xfrm/xfrm_policy.c match = xfrm_selector_match(sel, fl, family); match 1898 net/xfrm/xfrm_policy.c if (match) match 2162 net/xfrm/xfrm_policy.c bool match; match 2170 net/xfrm/xfrm_policy.c match = xfrm_selector_match(&pol->selector, fl, family); match 2171 net/xfrm/xfrm_policy.c if (match) { match 4286 net/xfrm/xfrm_policy.c int match = 0; match 4297 net/xfrm/xfrm_policy.c match = 1; match 4304 net/xfrm/xfrm_policy.c match = 1; match 4310 net/xfrm/xfrm_policy.c return match; match 351 samples/bpf/bpf_load.c bool match = false; match 370 samples/bpf/bpf_load.c match = true; match 374 samples/bpf/bpf_load.c if (match) { match 954 scripts/kconfig/symbol.c regmatch_t match[1]; match 966 scripts/kconfig/symbol.c if (regexec(&re, sym->name, 1, match, 0)) match 980 scripts/kconfig/symbol.c sym_match_arr[cnt].so = match[0].rm_so; match 981 scripts/kconfig/symbol.c sym_match_arr[cnt].eo = match[0].rm_eo; match 928 scripts/mod/modpost.c !match(sec, section_white_list)) { match 1168 scripts/mod/modpost.c if (match(fromsec, check->fromsec)) { match 1169 scripts/mod/modpost.c if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) match 1171 scripts/mod/modpost.c if (check->good_tosec[0] && !match(tosec, check->good_tosec)) match 1245 scripts/mod/modpost.c if (match(tosec, init_data_sections) && match 1246 scripts/mod/modpost.c match(fromsec, data_sections) && match 1252 scripts/mod/modpost.c match(fromsec, data_sections) && match 1257 scripts/mod/modpost.c if (match(tosec, init_exit_sections) && match 1258 scripts/mod/modpost.c match(fromsec, data_sections) && match 1259 scripts/mod/modpost.c match(fromsym, mismatch->symbol_white_list)) match 1263 scripts/mod/modpost.c if (match(fromsec, head_sections) && match 1264 scripts/mod/modpost.c match(tosec, init_sections)) match 1268 scripts/mod/modpost.c if (match(tosym, linker_symbols)) match 1272 scripts/mod/modpost.c if (match(fromsec, text_sections) && match 1273 scripts/mod/modpost.c match(tosec, init_sections) && match 1274 scripts/mod/modpost.c match(fromsym, optim_symbols)) match 1399 scripts/mod/modpost.c if (match(s, init_exit_sections)) { match 1699 scripts/mod/modpost.c if (!match(tosec, mismatch->bad_tosec) && match 1723 scripts/mod/modpost.c if (match(tosec, mismatch->bad_tosec)) match 1875 scripts/mod/modpost.c if (match(fromsec, section_white_list)) match 1921 scripts/mod/modpost.c if (match(fromsec, section_white_list)) match 393 security/device_cgroup.c bool match = false; match 412 security/device_cgroup.c match = match_exception_partial(&dev_cgroup->exceptions, match 418 security/device_cgroup.c if (match) match 429 security/device_cgroup.c match = match_exception(&dev_cgroup->exceptions, refex->type, match 433 security/device_cgroup.c if (match) match 3190 security/selinux/ss/services.c struct class_datum *match; match 3195 security/selinux/ss/services.c match = hashtab_search(policydb->p_classes.table, class); match 3196 security/selinux/ss/services.c if (!match) { match 3203 security/selinux/ss/services.c *nperms = match->permissions.nprim; match 3208 security/selinux/ss/services.c if (match->comdatum) { match 3209 security/selinux/ss/services.c rc = hashtab_map(match->comdatum->permissions.table, match 3215 security/selinux/ss/services.c rc = hashtab_map(match->permissions.table, get_permissions_callback, match 3410 security/selinux/ss/services.c int match = 0; match 3420 security/selinux/ss/services.c match = -ESTALE; match 3428 security/selinux/ss/services.c match = -ENOENT; match 3439 security/selinux/ss/services.c match = (ctxt->user == rule->au_ctxt.user); match 3442 security/selinux/ss/services.c match = (ctxt->user != rule->au_ctxt.user); match 3450 security/selinux/ss/services.c match = (ctxt->role == rule->au_ctxt.role); match 3453 security/selinux/ss/services.c match = (ctxt->role != rule->au_ctxt.role); match 3461 security/selinux/ss/services.c match = (ctxt->type == rule->au_ctxt.type); match 3464 security/selinux/ss/services.c match = (ctxt->type != rule->au_ctxt.type); match 3477 security/selinux/ss/services.c match = mls_level_eq(&rule->au_ctxt.range.level[0], match 3481 security/selinux/ss/services.c match = !mls_level_eq(&rule->au_ctxt.range.level[0], match 3485 security/selinux/ss/services.c match = (mls_level_dom(&rule->au_ctxt.range.level[0], match 3491 security/selinux/ss/services.c match = mls_level_dom(&rule->au_ctxt.range.level[0], match 3495 security/selinux/ss/services.c match = (mls_level_dom(level, match 3501 security/selinux/ss/services.c match = mls_level_dom(level, match 3509 security/selinux/ss/services.c return match; match 1286 security/tomoyo/common.c const u8 match = condp->equals; match 1330 security/tomoyo/common.c tomoyo_set_string(head, match ? "=" : "!="); match 236 security/tomoyo/condition.c const bool match) match 249 security/tomoyo/condition.c return result == match; match 799 security/tomoyo/condition.c const bool match = condp->equals; match 821 security/tomoyo/condition.c == match) match 828 security/tomoyo/condition.c match)) match 1076 security/tomoyo/condition.c == match) match 1080 security/tomoyo/condition.c max_v[0] >= ptr->values[0]) == match) match 1097 security/tomoyo/condition.c if (!(max_v[0] & max_v[1]) == !match) match 1107 security/tomoyo/condition.c if (!(max_v[0] & max_v[1]) == !match) match 1113 security/tomoyo/condition.c if ((min_v[0] <= max_v[1] && max_v[0] >= min_v[1]) == match) match 540 sound/ac97/bus.c .match = ac97_bus_match, match 90 sound/ac97_bus.c .match = ac97_bus_match, match 330 sound/aoa/soundbus/i2sbus/core.c static int i2sbus_probe(struct macio_dev* dev, const struct of_device_id *match) match 50 sound/core/init.c int match = 1; match 60 sound/core/init.c match = 0; /* negative match */ match 74 sound/core/init.c return !match; match 79 sound/core/init.c return match; match 54 sound/core/seq_device.c .match = snd_seq_bus_match, match 61 sound/hda/hda_bus_type.c if (hdrv->match) match 62 sound/hda/hda_bus_type.c return hdrv->match(hdev, hdrv); match 81 sound/hda/hda_bus_type.c .match = hda_bus_match, match 285 sound/hda/hdac_component.c struct component_match *match = NULL; match 301 sound/hda/hdac_component.c component_match_add_typed(dev, &match, match_master, bus); match 303 sound/hda/hdac_component.c match); match 150 sound/isa/ad1848/ad1848.c .match = snd_ad1848_match, match 107 sound/isa/adlib.c .match = snd_adlib_match, match 658 sound/isa/cmi8330.c .match = snd_cmi8330_isa_match, match 167 sound/isa/cs423x/cs4231.c .match = snd_cs4231_match, match 527 sound/isa/cs423x/cs4236.c .match = snd_cs423x_isa_match, match 202 sound/isa/es1688/es1688.c .match = snd_es1688_match, match 2251 sound/isa/es18xx.c .match = snd_es18xx_isa_match, match 618 sound/isa/galaxy/galaxy.c .match = snd_galaxy_match, match 205 sound/isa/gus/gusclassic.c .match = snd_gusclassic_match, match 334 sound/isa/gus/gusextreme.c .match = snd_gusextreme_match, match 349 sound/isa/gus/gusmax.c .match = snd_gusmax_match, match 834 sound/isa/gus/interwave.c .match = snd_interwave_isa_match, match 1058 sound/isa/msnd/msnd_pinnacle.c .match = snd_msnd_isa_match, match 903 sound/isa/opl3sa2.c .match = snd_opl3sa2_isa_match, match 1493 sound/isa/opti9xx/miro.c .match = snd_miro_isa_match, match 1073 sound/isa/opti9xx/opti92x-ad1848.c .match = snd_opti9xx_isa_match, match 377 sound/isa/sb/jazz16.c .match = snd_jazz16_match, match 576 sound/isa/sb/sb16.c .match = snd_sb16_isa_match, match 230 sound/isa/sb/sb8.c .match = snd_sb8_match, match 691 sound/isa/sc6000.c .match = snd_sc6000_match, match 1195 sound/isa/sscape.c .match = snd_sscape_match, match 577 sound/isa/wavefront/wavefront.c .match = snd_wavefront_isa_match, match 181 sound/pci/hda/hda_bind.c drv->core.match = hda_codec_match; match 592 sound/soc/atmel/atmel-i2s.c const struct of_device_id *match; match 608 sound/soc/atmel/atmel-i2s.c match = of_match_node(atmel_i2s_dt_ids, np); match 609 sound/soc/atmel/atmel-i2s.c if (match) match 610 sound/soc/atmel/atmel-i2s.c dev->caps = match->data; match 800 sound/soc/codecs/tlv320aic31xx.c int match = -1; match 823 sound/soc/codecs/tlv320aic31xx.c match = i; match 830 sound/soc/codecs/tlv320aic31xx.c if (match == -1) { match 847 sound/soc/codecs/tlv320aic31xx.c i = match; match 2170 sound/soc/codecs/wm8904.c const struct of_device_id *match; match 2172 sound/soc/codecs/wm8904.c match = of_match_node(wm8904_of_match, i2c->dev.of_node); match 2173 sound/soc/codecs/wm8904.c if (match == NULL) match 2175 sound/soc/codecs/wm8904.c wm8904->devtype = (enum wm8904_type)match->data; match 500 sound/soc/jz4740/jz4740-i2s.c const struct of_device_id *match; match 506 sound/soc/jz4740/jz4740-i2s.c match = of_match_device(jz4740_of_matches, &pdev->dev); match 507 sound/soc/jz4740/jz4740-i2s.c if (match) match 508 sound/soc/jz4740/jz4740-i2s.c i2s->version = (enum jz47xx_i2s_version)match->data; match 423 sound/soc/qcom/lpass-cpu.c const struct of_device_id *match; match 438 sound/soc/qcom/lpass-cpu.c match = of_match_device(dev->driver->of_match_table, dev); match 439 sound/soc/qcom/lpass-cpu.c if (!match || !match->data) match 442 sound/soc/qcom/lpass-cpu.c drvdata->variant = (struct lpass_variant *)match->data; match 478 sound/soc/rockchip/rockchip_pdm.c const struct of_device_id *match; match 488 sound/soc/rockchip/rockchip_pdm.c match = of_match_device(rockchip_pdm_match, &pdev->dev); match 489 sound/soc/rockchip/rockchip_pdm.c if (match) match 490 sound/soc/rockchip/rockchip_pdm.c pdm->version = (enum rk_pdm_version)match->data; match 282 sound/soc/rockchip/rockchip_spdif.c const struct of_device_id *match; match 287 sound/soc/rockchip/rockchip_spdif.c match = of_match_node(rk_spdif_match, np); match 288 sound/soc/rockchip/rockchip_spdif.c if (match->data == (void *)RK_SPDIF_RK3288) { match 1873 sound/soc/soc-core.c goto match; match 1877 sound/soc/soc-core.c match: match 510 sound/soc/tegra/tegra30_ahub.c const struct of_device_id *match; match 521 sound/soc/tegra/tegra30_ahub.c match = of_match_device(tegra30_ahub_of_match, &pdev->dev); match 522 sound/soc/tegra/tegra30_ahub.c if (!match) match 524 sound/soc/tegra/tegra30_ahub.c soc_data = match->data; match 369 sound/soc/tegra/tegra30_i2s.c const struct of_device_id *match; match 381 sound/soc/tegra/tegra30_i2s.c match = of_match_device(tegra30_i2s_of_match, &pdev->dev); match 382 sound/soc/tegra/tegra30_i2s.c if (!match) { match 387 sound/soc/tegra/tegra30_i2s.c i2s->soc_data = (struct tegra30_i2s_soc_data *)match->data; match 387 sound/soc/ti/davinci-evm.c const struct of_device_id *match; match 393 sound/soc/ti/davinci-evm.c match = of_match_device(of_match_ptr(davinci_evm_dt_ids), &pdev->dev); match 394 sound/soc/ti/davinci-evm.c if (!match) { match 399 sound/soc/ti/davinci-evm.c dai = (struct snd_soc_dai_link *) match->data; match 1731 sound/soc/ti/davinci-mcasp.c const struct of_device_id *match = match 1743 sound/soc/ti/davinci-mcasp.c } else if (match) { match 1744 sound/soc/ti/davinci-mcasp.c pdata = devm_kmemdup(&pdev->dev, match->data, sizeof(*pdata), match 1379 sound/soc/ti/omap-mcbsp.c const struct of_device_id *match; match 1382 sound/soc/ti/omap-mcbsp.c match = of_match_device(omap_mcbsp_of_match, &pdev->dev); match 1383 sound/soc/ti/omap-mcbsp.c if (match) { match 1394 sound/soc/ti/omap-mcbsp.c memcpy(pdata, match->data, sizeof(*pdata)); match 589 sound/usb/pcm.c struct audioformat *match, int rate, match 621 sound/usb/pcm.c if (fp->channels == match->channels) match 113 tools/hv/hv_vss_daemon.c char match[] = "/dev/"; match 138 tools/hv/hv_vss_daemon.c if (strncmp(ent->mnt_fsname, match, strlen(match))) match 400 tools/lib/subcmd/parse-options.c goto match; match 443 tools/lib/subcmd/parse-options.c match: match 265 tools/lib/traceevent/parse-filter.c int match = 0; match 305 tools/lib/traceevent/parse-filter.c match = 1; match 317 tools/lib/traceevent/parse-filter.c if (!match) match 17 tools/perf/arch/arm/annotate/instructions.c regmatch_t match[2]; match 19 tools/perf/arch/arm/annotate/instructions.c if (!regexec(&arm->call_insn, name, 2, match, 0)) match 21 tools/perf/arch/arm/annotate/instructions.c else if (!regexec(&arm->jump_insn, name, 2, match, 0)) match 73 tools/perf/arch/arm64/annotate/instructions.c regmatch_t match[2]; match 75 tools/perf/arch/arm64/annotate/instructions.c if (!regexec(&arm->jump_insn, name, 2, match, 0)) match 77 tools/perf/arch/arm64/annotate/instructions.c else if (!regexec(&arm->call_insn, name, 2, match, 0)) match 104 tools/perf/arch/x86/util/header.c int match; match 124 tools/perf/arch/x86/util/header.c match = !regexec(&re, id, 1, pmatch, 0); match 126 tools/perf/arch/x86/util/header.c if (match) { match 3026 tools/perf/builtin-script.c int match, len; match 3053 tools/perf/builtin-script.c match = 0; match 3056 tools/perf/builtin-script.c match = 1; match 3061 tools/perf/builtin-script.c if (!match) { match 1498 tools/perf/util/annotate.c regmatch_t match[2]; match 1510 tools/perf/util/annotate.c if (regexec(&file_lineno, parsed_line, 2, match, 0) == 0) { match 1511 tools/perf/util/annotate.c *line_nr = atoi(parsed_line + match[1].rm_so); match 713 tools/perf/util/callchain.c enum match_result match = MATCH_ERROR; match 717 tools/perf/util/callchain.c match = match_chain_strings(cnode->srcline, node->srcline); match 718 tools/perf/util/callchain.c if (match != MATCH_ERROR) match 731 tools/perf/util/callchain.c match = match_chain_strings(cnode->ms.sym->name, match 733 tools/perf/util/callchain.c if (match != MATCH_ERROR) match 736 tools/perf/util/callchain.c match = match_chain_dso_addresses(cnode->ms.map, cnode->ms.sym->start, match 745 tools/perf/util/callchain.c match = match_chain_dso_addresses(cnode->ms.map, cnode->ip, node->map, node->ip); match 749 tools/perf/util/callchain.c if (match == MATCH_EQ && node->branch) { match 780 tools/perf/util/callchain.c return match; match 827 tools/perf/util/header.c int match; match 835 tools/perf/util/header.c match = !regexec(&re, cpuid, 1, pmatch, 0); match 837 tools/perf/util/header.c if (match) { match 92 tools/spi/spidev_test.c int match; match 99 tools/spi/spidev_test.c match = sscanf(src + 2, "%2x", &ch); match 100 tools/spi/spidev_test.c if (!match) match 253 tools/testing/nvdimm/test/iomap.c devres_release(dev, nfit_devres_release, match, match 28 tools/testing/selftests/bpf/test_align.c const char *match; match 642 tools/testing/selftests/bpf/test_align.c if (!m.match) match 653 tools/testing/selftests/bpf/test_align.c m.line, m.match); match 658 tools/testing/selftests/bpf/test_align.c if (!strstr(line_ptr, m.match)) { match 660 tools/testing/selftests/bpf/test_align.c m.line, m.match); match 32 tools/testing/selftests/powerpc/ptrace/ptrace-tar.h int match = 1; match 35 tools/testing/selftests/powerpc/ptrace/ptrace-tar.h match = 0; match 38 tools/testing/selftests/powerpc/ptrace/ptrace-tar.h match = 0; match 41 tools/testing/selftests/powerpc/ptrace/ptrace-tar.h match = 0; match 43 tools/testing/selftests/powerpc/ptrace/ptrace-tar.h if (!match)