Home
last modified time | relevance | path

Searched refs:new_dr (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/base/
Ddevres.c316 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get() local
321 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get()
323 add_dr(dev, &new_dr->node); in devres_get()
324 dr = new_dr; in devres_get()
858 struct devres *old_dr, *new_dr; in devm_krealloc() local
896 new_dr = alloc_dr(devm_kmalloc_release, in devm_krealloc()
898 if (!new_dr) in devm_krealloc()
910 kfree(new_dr); in devm_krealloc()
915 replace_dr(dev, &old_dr->node, &new_dr->node); in devm_krealloc()
923 memcpy(new_dr->data, old_dr->data, in devm_krealloc()
[all …]
/linux-6.1.9/lib/
Ddevres.c350 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.1.9/drivers/pci/
Dpci.c2093 struct pci_devres *dr, *new_dr; in get_pci_dr() local
2099 new_dr = devres_alloc(pcim_release, sizeof(*new_dr), GFP_KERNEL); in get_pci_dr()
2100 if (!new_dr) in get_pci_dr()
2102 return devres_get(&pdev->dev, new_dr, NULL, NULL); in get_pci_dr()