Searched refs:dr (Results 1 – 4 of 4) sorted by relevance
/kernel/irq/ |
D | devres.c | 56 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/dma/ |
D | mapping.c | 88 struct dma_devres *dr; in dmam_alloc_attrs() local 91 dr = devres_alloc(dmam_release, sizeof(*dr), gfp); in dmam_alloc_attrs() 92 if (!dr) in dmam_alloc_attrs() 97 devres_free(dr); in dmam_alloc_attrs() 101 dr->vaddr = vaddr; in dmam_alloc_attrs() 102 dr->dma_handle = *dma_handle; in dmam_alloc_attrs() 103 dr->size = size; in dmam_alloc_attrs() 104 dr->attrs = attrs; in dmam_alloc_attrs() 106 devres_add(dev, dr); in dmam_alloc_attrs()
|
/kernel/ |
D | resource.c | 1561 struct region_devres *dr = NULL; in __devm_request_region() local 1564 dr = devres_alloc(devm_region_release, sizeof(struct region_devres), in __devm_request_region() 1566 if (!dr) in __devm_request_region() 1569 dr->parent = parent; in __devm_request_region() 1570 dr->start = start; in __devm_request_region() 1571 dr->n = n; in __devm_request_region() 1575 devres_add(dev, dr); in __devm_request_region() 1577 devres_free(dr); in __devm_request_region() 1828 struct region_devres *dr = NULL; in get_free_mem_region() local 1837 dr = devres_alloc(devm_region_release, in get_free_mem_region() [all …]
|
/kernel/locking/ |
D | lockdep_proc.c | 411 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()
|