/linux-6.1.9/crypto/asymmetric_keys/ |
D | asymmetric_type.c | 263 const struct key_match_data *match_data) in asymmetric_key_cmp() argument 266 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp() 276 const struct key_match_data *match_data) in asymmetric_key_cmp_partial() argument 279 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp_partial() 289 const struct key_match_data *match_data) in asymmetric_key_cmp_name() argument 292 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp_name() 311 static int asymmetric_key_match_preparse(struct key_match_data *match_data) in asymmetric_key_match_preparse() argument 314 const char *spec = match_data->raw_data; in asymmetric_key_match_preparse() 343 match_data->preparsed = match_id; in asymmetric_key_match_preparse() 344 match_data->cmp = cmp; in asymmetric_key_match_preparse() [all …]
|
/linux-6.1.9/drivers/mfd/ |
D | arizona-i2c.c | 26 const void *match_data; in arizona_i2c_probe() local 32 match_data = device_get_match_data(&i2c->dev); in arizona_i2c_probe() 33 if (match_data) in arizona_i2c_probe() 34 type = (unsigned long)match_data; in arizona_i2c_probe()
|
D | arizona-spi.c | 191 const void *match_data; in arizona_spi_probe() local 197 match_data = device_get_match_data(&spi->dev); in arizona_spi_probe() 198 if (match_data) in arizona_spi_probe() 199 type = (unsigned long)match_data; in arizona_spi_probe()
|
/linux-6.1.9/drivers/clk/ |
D | clk-palmas.c | 235 const struct palmas_clks_of_match_data *match_data; in palmas_clks_probe() local 239 match_data = of_device_get_match_data(&pdev->dev); in palmas_clks_probe() 240 if (!match_data) in palmas_clks_probe() 253 cinfo->clk_desc = &match_data->desc; in palmas_clks_probe() 254 cinfo->hw.init = &match_data->init; in palmas_clks_probe() 258 match_data->desc.clk_name, ret); in palmas_clks_probe()
|
/linux-6.1.9/drivers/base/ |
D | devres.c | 188 dr_match_t match, void *match_data, in devres_for_each_res() argument 206 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res() 252 dr_match_t match, void *match_data) in find_dr() argument 261 if (match && !match(dev, dr->data, match_data)) in find_dr() 284 dr_match_t match, void *match_data) in devres_find() argument 290 dr = find_dr(dev, release, match, match_data); in devres_find() 314 dr_match_t match, void *match_data) in devres_get() argument 321 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get() 350 dr_match_t match, void *match_data) in devres_remove() argument 356 dr = find_dr(dev, release, match, match_data); in devres_remove() [all …]
|
/linux-6.1.9/net/sched/ |
D | em_ipt.c | 25 u8 match_data[] __aligned(8); member 56 mtpar.matchinfo = (void *)im->match_data; in check_match() 169 nla_memcpy(im->match_data, tb[TCA_EM_IPT_MATCH_DATA], mdata_len); in em_ipt_change() 196 .matchinfo = im->match_data, in em_ipt_destroy() 241 acpar.matchinfo = im->match_data; in em_ipt_match() 264 im->match_data) < 0) in em_ipt_dump()
|
/linux-6.1.9/include/kunit/ |
D | resource.h | 301 void *match_data); 325 void *match_data) in kunit_find_resource() argument 333 if (match(test, res, (void *)match_data)) { in kunit_find_resource() 369 void *match_data);
|
/linux-6.1.9/include/linux/ |
D | key-type.h | 52 const struct key_match_data *match_data); 107 int (*match_preparse)(struct key_match_data *match_data); 111 void (*match_free)(struct key_match_data *match_data);
|
D | device.h | 167 typedef int (*dr_match_t)(struct device *dev, void *res, void *match_data); 177 dr_match_t match, void *match_data, 183 dr_match_t match, void *match_data); 185 dr_match_t match, void *match_data); 187 dr_match_t match, void *match_data); 189 dr_match_t match, void *match_data); 191 dr_match_t match, void *match_data);
|
/linux-6.1.9/net/dns_resolver/ |
D | dns_key.c | 243 const struct key_match_data *match_data) in dns_resolver_cmp() argument 246 const char *src = key->description, *dsp = match_data->raw_data; in dns_resolver_cmp() 277 static int dns_resolver_match_preparse(struct key_match_data *match_data) in dns_resolver_match_preparse() argument 279 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in dns_resolver_match_preparse() 280 match_data->cmp = dns_resolver_cmp; in dns_resolver_match_preparse()
|
/linux-6.1.9/drivers/soc/mediatek/ |
D | mtk-mmsys.c | 307 const struct mtk_mmsys_match_data *match_data; in mtk_mmsys_probe() local 342 match_data = of_device_get_match_data(dev); in mtk_mmsys_probe() 343 if (match_data->num_drv_data > 1) { in mtk_mmsys_probe() 345 ret = mtk_mmsys_find_match_drvdata(mmsys, match_data); in mtk_mmsys_probe() 350 mmsys->data = match_data->drv_data[ret]; in mtk_mmsys_probe() 353 mmsys->data = match_data->drv_data[0]; in mtk_mmsys_probe()
|
/linux-6.1.9/security/keys/ |
D | request_key.c | 28 ctx->match_data.cmp(key, &ctx->match_data) && in check_cached_key() 573 .match_data.cmp = key_default_cmp, in request_key_and_link() 574 .match_data.raw_data = description, in request_key_and_link() 575 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_and_link() 589 ret = type->match_preparse(&ctx.match_data); in request_key_and_link() 643 type->match_free(&ctx.match_data); in request_key_and_link() 776 .match_data.cmp = key_default_cmp, in request_key_rcu() 777 .match_data.raw_data = description, in request_key_rcu() 778 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_rcu()
|
D | keyring.c | 566 const struct key_match_data *match_data) in key_default_cmp() argument 568 return strcmp(key->description, match_data->raw_data) == 0; in key_default_cmp() 609 if (!ctx->match_data.cmp(key, &ctx->match_data)) { in keyring_search_iterator() 648 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_DIRECT) { in search_keyring() 693 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_ITERATE || in search_nested_keyrings() 947 .match_data.cmp = key_default_cmp, in keyring_search() 948 .match_data.raw_data = description, in keyring_search() 949 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_search() 958 ret = type->match_preparse(&ctx.match_data); in keyring_search() 968 type->match_free(&ctx.match_data); in keyring_search() [all …]
|
D | process_keys.c | 195 .match_data.cmp = key_default_cmp, in get_user_session_keyring_rcu() 196 .match_data.raw_data = buf, in get_user_session_keyring_rcu() 197 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in get_user_session_keyring_rcu() 588 const struct key_match_data *match_data) in lookup_user_key_possessed() argument 590 return key == match_data->raw_data; in lookup_user_key_possessed() 615 .match_data.cmp = lookup_user_key_possessed, in lookup_user_key() 616 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in lookup_user_key() 759 ctx.match_data.raw_data = key; in lookup_user_key()
|
D | request_key_auth.c | 253 .match_data.cmp = key_default_cmp, in key_get_instantiation_authkey() 254 .match_data.raw_data = description, in key_get_instantiation_authkey() 255 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in key_get_instantiation_authkey()
|
/linux-6.1.9/drivers/gpu/drm/mediatek/ |
D | mtk_drm_drv.c | 673 const struct mtk_mmsys_match_data *match_data) in mtk_drm_find_match_data() argument 685 for (i = 0; i < match_data->num_drv_data; i++) in mtk_drm_find_match_data() 686 if (match_data->drv_data[i]->io_start == res->start) in mtk_drm_find_match_data() 697 const struct mtk_mmsys_match_data *match_data; in mtk_drm_probe() local 718 match_data = of_id->data; in mtk_drm_probe() 719 if (match_data->num_drv_data > 1) { in mtk_drm_probe() 721 ret = mtk_drm_find_match_data(dev, match_data); in mtk_drm_probe() 726 private->data = match_data->drv_data[ret]; in mtk_drm_probe() 729 private->data = match_data->drv_data[0]; in mtk_drm_probe()
|
/linux-6.1.9/lib/kunit/ |
D | resource.c | 64 void *match_data) in kunit_destroy_resource() argument 67 match_data); in kunit_destroy_resource()
|
/linux-6.1.9/net/ |
D | devres.c | 49 static int netdev_devres_match(struct device *dev, void *this, void *match_data) in netdev_devres_match() argument 52 struct net_device *ndev = match_data; in netdev_devres_match()
|
/linux-6.1.9/arch/mips/generic/ |
D | board-ingenic.c | 63 static __init const void *ingenic_fixup_fdt(const void *fdt, const void *match_data) in ingenic_fixup_fdt() argument 73 mips_machtype = (unsigned long)match_data; in ingenic_fixup_fdt()
|
/linux-6.1.9/drivers/net/phy/ |
D | mdio_devres.c | 57 void *this, void *match_data) in mdiobus_devres_match() argument 60 struct mii_bus *mii = match_data; in mdiobus_devres_match()
|
/linux-6.1.9/kernel/ |
D | iomem.c | 134 static int devm_memremap_match(struct device *dev, void *res, void *match_data) in devm_memremap_match() argument 136 return *(void **)res == match_data; in devm_memremap_match()
|
/linux-6.1.9/drivers/dma/ti/ |
D | k3-udma.c | 171 const struct udma_match_data *match_data; member 864 if (uc->ud->match_data->type == DMA_TYPE_UDMA && ucc->pkt_mode && in udma_start_desc() 925 const struct udma_match_data *match_data = in udma_start() local 926 uc->ud->match_data; in udma_start() 940 match_data->statictr_z_mask)); in udma_start() 1700 if (ud->match_data->type == DMA_TYPE_UDMA) { in udma_alloc_tx_resources() 1791 if (ud->match_data->type == DMA_TYPE_UDMA) { in udma_alloc_rx_resources() 1878 if (ud->match_data->flags & UDMA_FLAG_BURST_SIZE) { in udma_tisci_m2m_channel_config() 1881 burst_size = ud->match_data->burst_size[tpl]; in udma_tisci_m2m_channel_config() 1932 if (ud->match_data->flags & UDMA_FLAG_BURST_SIZE) { in bcdma_tisci_m2m_channel_config() [all …]
|
/linux-6.1.9/lib/ |
D | devres.c | 21 static int devm_ioremap_match(struct device *dev, void *res, void *match_data) in devm_ioremap_match() argument 23 return *(void **)res == match_data; in devm_ioremap_match() 260 void *match_data) in devm_ioport_map_match() argument 262 return *(void **)res == match_data; in devm_ioport_map_match()
|
/linux-6.1.9/sound/soc/ti/ |
D | j721e-evm.c | 80 const struct j721e_audio_match_data *match_data; member 558 const struct j721e_audio_match_data *match_data = priv->match_data; in j721e_calculate_rate_range() local 568 match_data->pll_rates[J721E_CLK_PARENT_44100]; in j721e_calculate_rate_range() 577 match_data->pll_rates[J721E_CLK_PARENT_48000]; in j721e_calculate_rate_range() 726 if (priv->match_data->board_type != J721E_BOARD_CPB_IVI) in j721e_soc_probe_ivi() 866 priv->match_data = match->data; in j721e_soc_probe() 868 priv->dai_links = devm_kcalloc(&pdev->dev, priv->match_data->num_links, in j721e_soc_probe()
|
/linux-6.1.9/drivers/soc/amlogic/ |
D | meson-clk-measure.c | 607 const struct meson_msr_id *match_data; in meson_msr_probe() local 618 match_data = device_get_match_data(&pdev->dev); in meson_msr_probe() 619 if (!match_data) { in meson_msr_probe() 624 memcpy(priv->msr_table, match_data, sizeof(priv->msr_table)); in meson_msr_probe()
|