Home
last modified time | relevance | path

Searched refs:idr_ref (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/dma/
Ddmaengine.c153 if (atomic_dec_and_test(chan_dev->idr_ref)) { in chan_dev_release()
157 kfree(chan_dev->idr_ref); in chan_dev_release()
673 atomic_t *idr_ref; in dma_async_device_register() local
714 idr_ref = kmalloc(sizeof(*idr_ref), GFP_KERNEL); in dma_async_device_register()
715 if (!idr_ref) in dma_async_device_register()
719 kfree(idr_ref); in dma_async_device_register()
723 atomic_set(idr_ref, 0); in dma_async_device_register()
742 chan->dev->idr_ref = idr_ref; in dma_async_device_register()
744 atomic_inc(idr_ref); in dma_async_device_register()
753 atomic_dec(idr_ref); in dma_async_device_register()
[all …]
/linux-2.6.39/include/linux/
Ddmaengine.h210 atomic_t *idr_ref; member