Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dma/xilinx/xilinx_dma.c xilinx_cdma_prep_memcpy() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->desc_pool 4096-ptr_max
PARAM_VALUE 0 chan->desc_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chan->desc_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chan->desc_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chan->desc_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 chan->desc_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->desc_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 chan->desc_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->desc_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->desc_pool->next_block 0
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->max_buffer_len 1-u32max
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.chan 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.tx_submit 2138803310746251264
BUF_SIZE 1 desc 216
DATA_SOURCE 1 desc r xilinx_dma_alloc_tx_descriptor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dmm->wa_lock
HALF_LOCKED2 &mem->spi->controller->bus_lock_mutex
HALF_LOCKED2 &mem->spi->controller->io_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &qspi->list_lock
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_chan_desc_cleanup() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.next 0
PARAM_VALUE 1 desc->cyclic 0
CAPPED_DATA 0 &chan->done_list 1
CAPPED_DATA 1 &desc->node 1
DATA_SOURCE 0 chan $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &chan->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_free_desc_list() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 1 desc 4096-ptr_max
CAPPED_DATA 1 &desc->node 1
DATA_SOURCE 0 chan $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &chan->lock
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_prep_dma_cyclic() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->direction 1-3
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.chan 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.tx_submit 2138803310746251264
BUF_SIZE 1 desc 216
DATA_SOURCE 1 desc r xilinx_dma_alloc_tx_descriptor
PARAM_COMPARE 0 &chan->free_seg_list == $0->free_seg_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sdr->v4l2_mutex
HALF_LOCKED2 &sport->port.lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_prep_peripheral_dma_vec() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->direction 1-2
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.chan 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.tx_submit 2138803310746251264
BUF_SIZE 1 desc 216
CAPPED_DATA 0 chan->direction 1
DATA_SOURCE 1 desc r xilinx_dma_alloc_tx_descriptor
PARAM_COMPARE 0 &chan->free_seg_list == $0->free_seg_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_prep_slave_sg() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.chan 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.tx_submit 2138803310746251264
BUF_SIZE 1 desc 216
DATA_SOURCE 1 desc r xilinx_dma_alloc_tx_descriptor
PARAM_COMPARE 0 &chan->free_seg_list == $0->free_seg_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &controller->io_mutex
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &ctrl->io_mutex
HALF_LOCKED2 &dma->lock
HALF_LOCKED2 &epf_mhi->lock
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &host->mutex
HALF_LOCKED2 &host->thread_lock
HALF_LOCKED2 &mem->spi->controller->bus_lock_mutex
HALF_LOCKED2 &mem->spi->controller->io_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &ospi->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 &priv->port.lock
HALF_LOCKED2 &priv->rx_dma_lock
HALF_LOCKED2 &qspi->lock
HALF_LOCKED2 &sctlr->io_mutex
HALF_LOCKED2 &sdd->lock
HALF_LOCKED2 &spi->io_mutex
HALF_LOCKED2 &spi->lock
HALF_LOCKED2 &spi->mutex_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_tx_submit() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->cyclic 1
PARAM_VALUE 1 desc 4096-ptr_max
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &board->spinlock
HALF_LOCKED2 &controller->io_mutex
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &ctrl->io_mutex
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &dcmi->irqlock
HALF_LOCKED2 &dma->lock
HALF_LOCKED2 &dmm->wa_lock
HALF_LOCKED2 &epf_mhi->lock
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &host->thread_lock
HALF_LOCKED2 &mem->spi->controller->bus_lock_mutex
HALF_LOCKED2 &mem->spi->controller->io_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &ospi->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 &priv->port.lock
HALF_LOCKED2 &qspi->list_lock
HALF_LOCKED2 &qspi->lock
HALF_LOCKED2 &sctlr->io_mutex
HALF_LOCKED2 &sdd->lock
HALF_LOCKED2 &sdr->v4l2_mutex
HALF_LOCKED2 &spi->io_mutex
HALF_LOCKED2 &spi->lock
HALF_LOCKED2 &spi->mutex_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_prep_slave_sg() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.chan 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.tx_submit 2138803310746251264
BUF_SIZE 1 desc 216
DATA_SOURCE 1 desc r xilinx_dma_alloc_tx_descriptor
PARAM_COMPARE 0 &chan->free_seg_list == $0->free_seg_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &controller->io_mutex
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &ctrl->io_mutex
HALF_LOCKED2 &dma->lock
HALF_LOCKED2 &epf_mhi->lock
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &host->mutex
HALF_LOCKED2 &host->thread_lock
HALF_LOCKED2 &mem->spi->controller->bus_lock_mutex
HALF_LOCKED2 &mem->spi->controller->io_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &ospi->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 &priv->port.lock
HALF_LOCKED2 &priv->rx_dma_lock
HALF_LOCKED2 &qspi->lock
HALF_LOCKED2 &sctlr->io_mutex
HALF_LOCKED2 &sdd->lock
HALF_LOCKED2 &spi->io_mutex
HALF_LOCKED2 &spi->lock
HALF_LOCKED2 &spi->mutex_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/dma/xilinx/xilinx_dma.c xilinx_vdma_dma_prep_interleaved() -> xilinx_dma_free_tx_descriptor()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->desc_pool 4096-ptr_max
PARAM_VALUE 0 chan->desc_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chan->desc_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chan->desc_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chan->desc_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 chan->desc_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->desc_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 chan->desc_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 chan->desc_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->desc_pool->next_block 0
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.chan 4096-ptr_max
PARAM_VALUE 1 desc->async_tx.flags 0,2-u32max
PARAM_VALUE 1 desc->async_tx.tx_submit 2138803310746251264
BUF_SIZE 1 desc 216
DATA_SOURCE 1 desc r xilinx_dma_alloc_tx_descriptor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL