Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dma/switchtec_dma.c switchtec_dma_alloc_desc() -> switchtec_dma_free_desc()

Type Parameter Key Value
PARAM_VALUE 0 swdma_chan 4096-ptr_max
PARAM_VALUE 0 swdma_chan->cq_tail 0
PARAM_VALUE 0 swdma_chan->head 0
PARAM_VALUE 0 swdma_chan->hw_sq 0-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_uses_io_tlb 1
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 swdma_chan->tail 0
BUF_SIZE 0 swdma_chan->hw_cq 1048576,u64max
BUF_SIZE 0 swdma_chan->hw_sq 1048576
DATA_SOURCE 0 swdma_chan $0
MEM_ZERO 0 swdma_chan->hw_sq
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &dma_list_mutex

drivers/dma/switchtec_dma.c switchtec_dma_free_chan_resources() -> switchtec_dma_free_desc()

Type Parameter Key Value
PARAM_VALUE 0 swdma_chan 4096-ptr_max
PARAM_VALUE 0 swdma_chan->comp_ring_active 0
PARAM_VALUE 0 swdma_chan->complete_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->hw_ctrl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->ring_active 0
PARAM_VALUE 0 swdma_chan->submit_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->swdma_dev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->pdev 1-u64max
PARAM_VALUE 0 swdma_chan->tail 0-s16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &dma_list_mutex