Searched refs:idr_ref (Results 1 – 2 of 2) sorted by relevance
153 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() local714 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 …]
210 atomic_t *idr_ref; member