/Linux-v5.10/crypto/asymmetric_keys/ |
D | asymmetric_type.c | 248 const struct key_match_data *match_data) in asymmetric_key_cmp() argument 251 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp() 261 const struct key_match_data *match_data) in asymmetric_key_cmp_partial() argument 264 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp_partial() 283 static int asymmetric_key_match_preparse(struct key_match_data *match_data) in asymmetric_key_match_preparse() argument 286 const char *spec = match_data->raw_data; in asymmetric_key_match_preparse() 310 match_data->preparsed = match_id; in asymmetric_key_match_preparse() 311 match_data->cmp = cmp; in asymmetric_key_match_preparse() 312 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in asymmetric_key_match_preparse() 322 static void asymmetric_key_match_free(struct key_match_data *match_data) in asymmetric_key_match_free() argument [all …]
|
/Linux-v5.10/drivers/clk/ |
D | clk-palmas.c | 243 const struct palmas_clks_of_match_data *match_data; in palmas_clks_probe() local 247 match_data = of_device_get_match_data(&pdev->dev); in palmas_clks_probe() 248 if (!match_data) in palmas_clks_probe() 261 cinfo->clk_desc = &match_data->desc; in palmas_clks_probe() 262 cinfo->hw.init = &match_data->init; in palmas_clks_probe() 266 match_data->desc.clk_name, ret); in palmas_clks_probe()
|
/Linux-v5.10/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-v5.10/drivers/base/ |
D | devres.c | 193 dr_match_t match, void *match_data, in devres_for_each_res() argument 211 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res() 257 dr_match_t match, void *match_data) in find_dr() argument 266 if (match && !match(dev, dr->data, match_data)) in find_dr() 289 dr_match_t match, void *match_data) in devres_find() argument 295 dr = find_dr(dev, release, match, match_data); in devres_find() 319 dr_match_t match, void *match_data) in devres_get() argument 326 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get() 355 dr_match_t match, void *match_data) in devres_remove() argument 361 dr = find_dr(dev, release, match, match_data); in devres_remove() [all …]
|
/Linux-v5.10/include/linux/ |
D | key-type.h | 51 const struct key_match_data *match_data); 106 int (*match_preparse)(struct key_match_data *match_data); 110 void (*match_free)(struct key_match_data *match_data);
|
D | device.h | 166 typedef int (*dr_match_t)(struct device *dev, void *res, void *match_data); 185 dr_match_t match, void *match_data, 191 dr_match_t match, void *match_data); 193 dr_match_t match, void *match_data); 195 dr_match_t match, void *match_data); 197 dr_match_t match, void *match_data); 199 dr_match_t match, void *match_data);
|
/Linux-v5.10/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-v5.10/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()
|
D | internal.h | 122 struct key_match_data match_data; member 142 const struct key_match_data *match_data); 167 const struct key_match_data *match_data);
|
D | proc.c | 168 .match_data.cmp = lookup_user_key_possessed, in proc_keys_show() 169 .match_data.raw_data = key, in proc_keys_show() 170 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in proc_keys_show()
|
/Linux-v5.10/arch/mips/generic/ |
D | board-ingenic.c | 47 static __init const void *ingenic_fixup_fdt(const void *fdt, const void *match_data) in ingenic_fixup_fdt() argument 57 mips_machtype = (unsigned long)match_data; in ingenic_fixup_fdt()
|
D | board-ocelot.c | 64 const void *match_data) in ocelot_fixup_fdt() argument
|
/Linux-v5.10/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-v5.10/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-v5.10/lib/ |
D | devres.c | 20 static int devm_ioremap_match(struct device *dev, void *res, void *match_data) in devm_ioremap_match() argument 22 return *(void **)res == match_data; in devm_ioremap_match() 250 void *match_data) in devm_ioport_map_match() argument 252 return *(void **)res == match_data; in devm_ioport_map_match()
|
/Linux-v5.10/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-v5.10/sound/soc/ti/ |
D | j721e-evm.c | 77 const struct j721e_audio_match_data *match_data; member 553 const struct j721e_audio_match_data *match_data = priv->match_data; in j721e_calculate_rate_range() local 563 match_data->pll_rates[J721E_CLK_PARENT_44100]; in j721e_calculate_rate_range() 572 match_data->pll_rates[J721E_CLK_PARENT_48000]; in j721e_calculate_rate_range() 712 if (priv->match_data->board_type != J721E_BOARD_CPB_IVI) in j721e_soc_probe_ivi() 839 priv->match_data = match->data; in j721e_soc_probe() 841 priv->dai_links = devm_kcalloc(&pdev->dev, priv->match_data->num_links, in j721e_soc_probe()
|
/Linux-v5.10/drivers/soc/amlogic/ |
D | meson-clk-measure.c | 606 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()
|
/Linux-v5.10/drivers/regulator/ |
D | cpcap-regulator.c | 508 const struct cpcap_regulator *match_data; in cpcap_regulator_probe() local 512 match_data = of_device_get_match_data(&pdev->dev); in cpcap_regulator_probe() 513 if (!match_data) { in cpcap_regulator_probe() 528 ddata->soc = match_data; in cpcap_regulator_probe()
|
/Linux-v5.10/kernel/irq/ |
D | devres.c | 141 struct irq_devres match_data = { irq, dev_id }; in devm_free_irq() local 144 &match_data)); in devm_free_irq()
|
/Linux-v5.10/arch/mips/include/asm/ |
D | machine.h | 17 const void *(*fixup_fdt)(const void *fdt, const void *match_data);
|
/Linux-v5.10/sound/soc/meson/ |
D | meson-card.h | 26 const struct meson_card_match_data *match_data; member
|