idr_ref 152 drivers/dma/dmaengine.c if (atomic_dec_and_test(chan_dev->idr_ref)) { idr_ref 154 drivers/dma/dmaengine.c kfree(chan_dev->idr_ref); idr_ref 911 drivers/dma/dmaengine.c atomic_t *idr_ref; idr_ref 1005 drivers/dma/dmaengine.c idr_ref = kmalloc(sizeof(*idr_ref), GFP_KERNEL); idr_ref 1006 drivers/dma/dmaengine.c if (!idr_ref) idr_ref 1010 drivers/dma/dmaengine.c kfree(idr_ref); idr_ref 1014 drivers/dma/dmaengine.c atomic_set(idr_ref, 0); idr_ref 1033 drivers/dma/dmaengine.c chan->dev->idr_ref = idr_ref; idr_ref 1035 drivers/dma/dmaengine.c atomic_inc(idr_ref); idr_ref 1044 drivers/dma/dmaengine.c atomic_dec(idr_ref); idr_ref 1085 drivers/dma/dmaengine.c if (atomic_read(idr_ref) == 0) { idr_ref 1087 drivers/dma/dmaengine.c kfree(idr_ref); idr_ref 285 include/linux/dmaengine.h atomic_t *idr_ref;