/Linux-v4.19/crypto/asymmetric_keys/ |
D | asymmetric_type.c | 251 const struct key_match_data *match_data) in asymmetric_key_cmp() argument 254 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp() 264 const struct key_match_data *match_data) in asymmetric_key_cmp_partial() argument 267 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp_partial() 286 static int asymmetric_key_match_preparse(struct key_match_data *match_data) in asymmetric_key_match_preparse() argument 289 const char *spec = match_data->raw_data; in asymmetric_key_match_preparse() 313 match_data->preparsed = match_id; in asymmetric_key_match_preparse() 314 match_data->cmp = cmp; in asymmetric_key_match_preparse() 315 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in asymmetric_key_match_preparse() 325 static void asymmetric_key_match_free(struct key_match_data *match_data) in asymmetric_key_match_free() argument [all …]
|
/Linux-v4.19/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-v4.19/drivers/base/ |
D | devres.c | 169 dr_match_t match, void *match_data, in devres_for_each_res() argument 187 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res() 233 dr_match_t match, void *match_data) in find_dr() argument 242 if (match && !match(dev, dr->data, match_data)) in find_dr() 265 dr_match_t match, void *match_data) in devres_find() argument 271 dr = find_dr(dev, release, match, match_data); in devres_find() 295 dr_match_t match, void *match_data) in devres_get() argument 302 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get() 331 dr_match_t match, void *match_data) in devres_remove() argument 337 dr = find_dr(dev, release, match, match_data); in devres_remove() [all …]
|
/Linux-v4.19/net/sched/ |
D | em_ipt.c | 28 u8 match_data[0] __aligned(8); member 59 mtpar.matchinfo = (void *)im->match_data; in check_match() 147 nla_memcpy(im->match_data, tb[TCA_EM_IPT_MATCH_DATA], mdata_len); in em_ipt_change() 174 .matchinfo = im->match_data, in em_ipt_destroy() 201 acpar.matchinfo = im->match_data; in em_ipt_match() 224 im->match_data) < 0) in em_ipt_dump()
|
/Linux-v4.19/net/dns_resolver/ |
D | dns_key.c | 182 const struct key_match_data *match_data) in dns_resolver_cmp() argument 185 const char *src = key->description, *dsp = match_data->raw_data; in dns_resolver_cmp() 216 static int dns_resolver_match_preparse(struct key_match_data *match_data) in dns_resolver_match_preparse() argument 218 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in dns_resolver_match_preparse() 219 match_data->cmp = dns_resolver_cmp; in dns_resolver_match_preparse()
|
/Linux-v4.19/include/linux/ |
D | key-type.h | 62 const struct key_match_data *match_data); 114 int (*match_preparse)(struct key_match_data *match_data); 118 void (*match_free)(struct key_match_data *match_data);
|
D | device.h | 627 typedef int (*dr_match_t)(struct device *dev, void *res, void *match_data); 646 dr_match_t match, void *match_data, 652 dr_match_t match, void *match_data); 654 dr_match_t match, void *match_data); 656 dr_match_t match, void *match_data); 658 dr_match_t match, void *match_data); 660 dr_match_t match, void *match_data);
|
/Linux-v4.19/security/keys/ |
D | keyring.c | 543 const struct key_match_data *match_data) in key_default_cmp() argument 545 return strcmp(key->description, match_data->raw_data) == 0; in key_default_cmp() 586 if (!ctx->match_data.cmp(key, &ctx->match_data)) { in keyring_search_iterator() 625 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_DIRECT) { in search_keyring() 670 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_ITERATE || in search_nested_keyrings() 918 .match_data.cmp = key_default_cmp, in keyring_search() 919 .match_data.raw_data = description, in keyring_search() 920 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_search() 927 ret = type->match_preparse(&ctx.match_data); in keyring_search() 935 type->match_free(&ctx.match_data); in keyring_search() [all …]
|
D | request_key_auth.c | 241 .match_data.cmp = key_default_cmp, in key_get_instantiation_authkey() 242 .match_data.raw_data = description, in key_get_instantiation_authkey() 243 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in key_get_instantiation_authkey()
|
D | internal.h | 118 struct key_match_data match_data; member 137 const struct key_match_data *match_data); 160 const struct key_match_data *match_data);
|
D | request_key.c | 549 .match_data.cmp = key_default_cmp, in request_key_and_link() 550 .match_data.raw_data = description, in request_key_and_link() 551 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_and_link() 564 ret = type->match_preparse(&ctx.match_data); in request_key_and_link() 599 type->match_free(&ctx.match_data); in request_key_and_link()
|
D | proc.c | 172 .match_data.cmp = lookup_user_key_possessed, in proc_keys_show() 173 .match_data.raw_data = key, in proc_keys_show() 174 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in proc_keys_show()
|
D | process_keys.c | 510 const struct key_match_data *match_data) in lookup_user_key_possessed() argument 512 return key == match_data->raw_data; in lookup_user_key_possessed() 537 .match_data.cmp = lookup_user_key_possessed, in lookup_user_key() 538 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in lookup_user_key() 694 ctx.match_data.raw_data = key; in lookup_user_key()
|
/Linux-v4.19/kernel/dma/ |
D | mapping.c | 35 static int dmam_match(struct device *dev, void *res, void *match_data) in dmam_match() argument 37 struct dma_devres *this = res, *match = match_data; in dmam_match() 98 struct dma_devres match_data = { size, vaddr, dma_handle }; in dmam_free_coherent() local 101 WARN_ON(devres_destroy(dev, dmam_release, dmam_match, &match_data)); in dmam_free_coherent()
|
/Linux-v4.19/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() 211 void *match_data) in devm_ioport_map_match() argument 213 return *(void **)res == match_data; in devm_ioport_map_match()
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 22 entry->val.match_data = 0x0; in tc_fill_all_pass_entry() 138 entry->val.match_data = (data << (rem * 8)) & in tc_fill_entry() 145 frag->val.match_data = (data >> (rem * 8)) & in tc_fill_entry() 153 entry->val.match_data = data; in tc_fill_entry()
|
/Linux-v4.19/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-v4.19/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 90 const struct stm32_pinctrl_match_data *match_data; member 357 for (i = 0; i < pctl->match_data->npins; i++) { in stm32_pctrl_is_function_valid() 358 const struct stm32_desc_pin *pin = pctl->match_data->pins + i; in stm32_pctrl_is_function_valid() 1108 pctl->ngroups = pctl->match_data->npins; in stm32_pctrl_build_state() 1122 for (i = 0; i < pctl->match_data->npins; i++) { in stm32_pctrl_build_state() 1123 const struct stm32_desc_pin *pin = pctl->match_data->pins + i; in stm32_pctrl_build_state() 1164 pctl->match_data = match->data; in stm32_pctl_probe() 1177 pins = devm_kcalloc(&pdev->dev, pctl->match_data->npins, sizeof(*pins), in stm32_pctl_probe() 1182 for (i = 0; i < pctl->match_data->npins; i++) in stm32_pctl_probe() 1183 pins[i] = pctl->match_data->pins[i].pin; in stm32_pctl_probe() [all …]
|
/Linux-v4.19/kernel/irq/ |
D | devres.c | 143 struct irq_devres match_data = { irq, dev_id }; in devm_free_irq() local 146 &match_data)); in devm_free_irq()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | machine.h | 21 const void *(*fixup_fdt)(const void *fdt, const void *match_data);
|
/Linux-v4.19/arch/mips/generic/ |
D | board-ocelot.c | 64 const void *match_data) in ocelot_fixup_fdt() argument
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | mms114.c | 428 const void *match_data; in mms114_probe() local 450 match_data = of_device_get_match_data(&client->dev); in mms114_probe() 451 if (!match_data) in mms114_probe() 454 data->type = (enum mms_type)match_data; in mms114_probe()
|
/Linux-v4.19/include/linux/uwb/ |
D | umc.h | 86 const void *match_data; member
|
/Linux-v4.19/drivers/base/firmware_loader/ |
D | main.c | 387 void *match_data) in fw_devm_match() argument 392 !strcmp(fwn->name, match_data); in fw_devm_match() 1023 void *match_data) in devm_name_match() argument 1026 return (fwn->magic == (unsigned long)match_data); in devm_name_match()
|
/Linux-v4.19/tools/testing/nvdimm/test/ |
D | iomap.c | 192 static int match(struct device *dev, void *__res, void *match_data) in match() argument 195 resource_size_t start = *((resource_size_t *) match_data); in match()
|