Home
last modified time | relevance | path

Searched refs:dr (Results 1 – 4 of 4) sorted by relevance

/kernel/irq/
Ddevres.c56 struct irq_devres *dr; in devm_request_threaded_irq() local
59 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_threaded_irq()
61 if (!dr) in devm_request_threaded_irq()
70 devres_free(dr); in devm_request_threaded_irq()
74 dr->irq = irq; in devm_request_threaded_irq()
75 dr->dev_id = dev_id; in devm_request_threaded_irq()
76 devres_add(dev, dr); in devm_request_threaded_irq()
103 struct irq_devres *dr; in devm_request_any_context_irq() local
106 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_any_context_irq()
108 if (!dr) in devm_request_any_context_irq()
[all …]
/kernel/
Dresource.c1541 struct region_devres *dr = NULL; in __devm_request_region() local
1544 dr = devres_alloc(devm_region_release, sizeof(struct region_devres), in __devm_request_region()
1546 if (!dr) in __devm_request_region()
1549 dr->parent = parent; in __devm_request_region()
1550 dr->start = start; in __devm_request_region()
1551 dr->n = n; in __devm_request_region()
1555 devres_add(dev, dr); in __devm_request_region()
1557 devres_free(dr); in __devm_request_region()
1744 struct region_devres *dr = NULL; in __request_free_mem_region() local
1755 dr = devres_alloc(devm_region_release, in __request_free_mem_region()
[all …]
/kernel/dma/
Dmapping.c87 struct dma_devres *dr; in dmam_alloc_attrs() local
90 dr = devres_alloc(dmam_release, sizeof(*dr), gfp); in dmam_alloc_attrs()
91 if (!dr) in dmam_alloc_attrs()
96 devres_free(dr); in dmam_alloc_attrs()
100 dr->vaddr = vaddr; in dmam_alloc_attrs()
101 dr->dma_handle = *dma_handle; in dmam_alloc_attrs()
102 dr->size = size; in dmam_alloc_attrs()
103 dr->attrs = attrs; in dmam_alloc_attrs()
105 devres_add(dev, dr); in dmam_alloc_attrs()
/kernel/locking/
Dlockdep_proc.c411 const struct lock_stat_data *dl = l, *dr = r; in lock_stat_cmp() local
415 nr = dr->stats.read_waittime.nr + dr->stats.write_waittime.nr; in lock_stat_cmp()