Searched refs:new_dr (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/base/ |
D | devres.c | 321 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get() local 326 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get() 328 add_dr(dev, &new_dr->node); in devres_get() 329 dr = new_dr; in devres_get() 867 struct devres *old_dr, *new_dr; in devm_krealloc() local 905 new_dr = alloc_dr(devm_kmalloc_release, in devm_krealloc() 907 if (!new_dr) in devm_krealloc() 919 kfree(new_dr); in devm_krealloc() 924 replace_dr(dev, &old_dr->node, &new_dr->node); in devm_krealloc() 932 memcpy(new_dr->data, old_dr->data, in devm_krealloc() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | devres.c | 339 struct pcim_iomap_devres *dr, *new_dr; in pcim_iomap_table() local 345 new_dr = devres_alloc(pcim_iomap_release, sizeof(*new_dr), GFP_KERNEL); in pcim_iomap_table() 346 if (!new_dr) in pcim_iomap_table() 348 dr = devres_get(&pdev->dev, new_dr, NULL, NULL); in pcim_iomap_table()
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | pci.c | 1993 struct pci_devres *dr, *new_dr; in get_pci_dr() local 1999 new_dr = devres_alloc(pcim_release, sizeof(*new_dr), GFP_KERNEL); in get_pci_dr() 2000 if (!new_dr) in get_pci_dr() 2002 return devres_get(&pdev->dev, new_dr, NULL, NULL); in get_pci_dr()
|