Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/ti/cpsw.c
- drivers/net/ethernet/ti/cpsw_new.c
- drivers/net/ethernet/ti/cpsw_priv.c, line 562
- drivers/net/ethernet/ti/davinci_cpdma.c, line 646
- drivers/net/ethernet/ti/davinci_emac.c
Smatch caller information:
drivers/net/ethernet/ti/cpsw.c cpsw_probe() -> cpdma_ctlr_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->chan_num | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctlr->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ctlr->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctlr->params.desc_align | 16 |
| PARAM_VALUE | 0 | ctlr->params.dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.min_packet_size | 60 |
| PARAM_VALUE | 0 | ctlr->params.num_chan | s32min-64 |
| PARAM_VALUE | 0 | ctlr->params.rxcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxfree | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxhdp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxthresh | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.txcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->pool->cpumap->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->pool->cpumap->memcg_data | 0 |
| PARAM_VALUE | 0 | ctlr->pool->cpumap->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | ctlr->state | 0 |
| CAPPED_DATA | 0 | ctlr->params.num_chan | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/ti/cpsw.c cpsw_remove() -> cpdma_ctlr_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/ethernet/ti/cpsw_new.c cpsw_probe() -> cpdma_ctlr_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->chan_num | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctlr->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ctlr->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctlr->params.desc_align | 16 |
| PARAM_VALUE | 0 | ctlr->params.dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.min_packet_size | 60 |
| PARAM_VALUE | 0 | ctlr->params.num_chan | s32min-64 |
| PARAM_VALUE | 0 | ctlr->params.rxcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxfree | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxhdp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxthresh | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.txcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->pool->cpumap->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->pool->cpumap->memcg_data | 0 |
| PARAM_VALUE | 0 | ctlr->pool->cpumap->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | ctlr->state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/ti/cpsw_new.c cpsw_remove() -> cpdma_ctlr_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/ethernet/ti/davinci_emac.c davinci_emac_probe() -> cpdma_ctlr_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->chan_num | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctlr->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ctlr->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ctlr->params.desc_align | 16 |
| PARAM_VALUE | 0 | ctlr->params.desc_hw_addr | 0 |
| PARAM_VALUE | 0 | ctlr->params.dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.min_packet_size | 60 |
| PARAM_VALUE | 0 | ctlr->params.num_chan | s32min-64 |
| PARAM_VALUE | 0 | ctlr->params.rxcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxfree | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxhdp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxthresh | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.txcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->pool->desc_size | 0,32 |
| PARAM_VALUE | 0 | ctlr->state | 0 |
| BUF_SIZE | 0 | ctlr | 1256 |
| BUF_SIZE | 0 | ctlr | 1256 |
| CAPPED_DATA | 0 | ctlr->params.num_chan | 1 |
| DATA_SOURCE | 0 | ctlr | r cpdma_ctlr_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/ti/davinci_emac.c davinci_emac_remove() -> cpdma_ctlr_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/ethernet/ti/cpsw_priv.c cpsw_init_common() -> cpdma_ctlr_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->chan_num | 0 |
| PARAM_VALUE | 0 | ctlr->dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctlr->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ctlr->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctlr->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ctlr->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ctlr->params.desc_align | 16 |
| PARAM_VALUE | 0 | ctlr->params.desc_hw_addr | 0 |
| PARAM_VALUE | 0 | ctlr->params.dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.min_packet_size | 60 |
| PARAM_VALUE | 0 | ctlr->params.num_chan | s32min-64 |
| PARAM_VALUE | 0 | ctlr->params.rxcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxfree | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxhdp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.rxthresh | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->params.txcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctlr->pool->desc_size | 0,32 |
| PARAM_VALUE | 0 | ctlr->state | 0 |
| BUF_SIZE | 0 | ctlr | 1256 |
| BUF_SIZE | 0 | ctlr | 1256 |
| DATA_SOURCE | 0 | ctlr | r cpdma_ctlr_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ctlr->params.bus_freq_mhz | 0 |