Searched refs:new_dr (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/base/ |
D | devres.c | 319 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get() local 324 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get() 326 add_dr(dev, &new_dr->node); in devres_get() 327 dr = new_dr; in devres_get() 862 struct devres *old_dr, *new_dr; in devm_krealloc() local 900 new_dr = alloc_dr(devm_kmalloc_release, in devm_krealloc() 902 if (!new_dr) in devm_krealloc() 914 kfree(new_dr); in devm_krealloc() 919 replace_dr(dev, &old_dr->node, &new_dr->node); in devm_krealloc() 927 memcpy(new_dr->data, old_dr->data, in devm_krealloc() [all …]
|
/linux-6.6.21/lib/ |
D | devres.c | 350 struct pcim_iomap_devres *dr, *new_dr; in pcim_iomap_table() local 356 new_dr = devres_alloc_node(pcim_iomap_release, sizeof(*new_dr), GFP_KERNEL, in pcim_iomap_table() 358 if (!new_dr) in pcim_iomap_table() 360 dr = devres_get(&pdev->dev, new_dr, NULL, NULL); in pcim_iomap_table()
|
/linux-6.6.21/drivers/pci/ |
D | pci.c | 2135 struct pci_devres *dr, *new_dr; in get_pci_dr() local 2141 new_dr = devres_alloc(pcim_release, sizeof(*new_dr), GFP_KERNEL); in get_pci_dr() 2142 if (!new_dr) in get_pci_dr() 2144 return devres_get(&pdev->dev, new_dr, NULL, NULL); in get_pci_dr()
|